12345678910111213141516171819202122232425262728293031 |
- <input class="txt" type="hidden" name="title" id="title" value="" />
- <p>
- <div id="photo_upload">
- <label for="description">Photo</label>
- <input type="file" name="photo" accept="image/gif,image/jpeg,image/jpg,image/png"/>
- <div style="font-size:11px; color:#666; margin-top:5px;">
- Supports JPEG, GIF and PNG. <strong>Max size is 10 MB.</strong>
- </div>
- <div style="font-size:11px; color:#666; margin-top:5px;">
- <a class="linkFrm" href="#" onclick="document.getElementById('photo_upload').style.display = 'none';
- document.getElementById('photo_url').style.display = 'block';
- return false;">Use a URL instead</a>
- </div>
- </div>
-
- <div id="photo_url" style="display:none;">
- <label for="description">Photo URL</label>
- <input class="input-text" type="text" name="url" id="url" size="80" value="{editUrl}" />
- <div style="font-size:11px; color:#666; margin-top:5px;">
- The photo URL.</b>
- </div>
- </div>
- </p>
- <p>
- <label for="description">Caption <span class="option">(optional)</span></label><br />
- <textarea rows="12" cols="84" name="description" id="description">{editBody}</textarea>
- </p>
- <input type="hidden" name="MAX_FILE_SIZE" value="10485760" />
- <input type="hidden" name="type" id="type" value="{type}" />
- <input type="hidden" name="date" id="date" value="{date}" />
- <input type="hidden" name="id_user" id="id_user" value="{id_user}" />
|