Changeset 17310 for extensions/gvideo/admin
- Timestamp:
- Aug 2, 2012, 4:30:30 PM (12 years ago)
- Location:
- extensions/gvideo/admin
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/gvideo/admin/add.php
r17307 r17310 57 57 if (count($page['errors']) == 0) 58 58 { 59 if (isset($_POST['add_film_frame'])) 60 { 61 add_film_frame($thumb_source); 62 } 63 59 64 // add image and update infos 60 65 $image_id = add_uploaded_file($thumb_source, $thumb_name, array($_POST['category'])); -
extensions/gvideo/admin/template/add.tpl
r17307 r17310 4 4 jQuery("input[data-toggle]").change(function() { 5 5 $('#'+ $(this).data('toggle')).toggle(); 6 }); 7 jQuery(".showInfo").tipTip({ 8 delay: 0, 9 fadeIn: 200, 10 fadeOut: 200, 11 maxWidth: '300px', 12 defaultPosition: 'right' 6 13 }); 7 14 {/literal}{/footer_script} … … 40 47 </li> 41 48 <li> 42 43 44 49 <span class="property">{'Author'|@translate}</span> 50 <label><input type="radio" name="author_server" value="true" {if $POST.author_server != 'false'}checked="checked"{/if} data-toggle="author"> {'From the video'|@translate}</label> 51 <label><input type="radio" name="author_server" value="false" {if $POST.author_server == 'false'}checked="checked"{/if} data-toggle="author"> {'Change'|@translate}</label> 45 52 </li> 46 53 <li {if $POST.author_server != 'false'}style="display:none;"{/if} id="author"> … … 58 65 </li> 59 66 <li> 60 <label> 61 <span class="property">{'Thumbnail'|@translate}</span> 62 <label><input type="radio" name="thumbnail_server" value="true" checked="checked" data-toggle="thumbnail_src"> {'From the video'|@translate}</label> 63 <label><input type="radio" name="thumbnail_server" value="false" data-toggle="thumbnail_src"> {'Change'|@translate}</label> 64 </label> 67 <span class="property">{'Thumbnail'|@translate}</span> 68 <label><input type="radio" name="thumbnail_server" value="true" checked="checked" data-toggle="thumbnail_src"> {'From the video'|@translate}</label> 69 <label><input type="radio" name="thumbnail_server" value="false" data-toggle="thumbnail_src"> {'Change'|@translate}</label> 65 70 </li> 66 71 <li id="thumbnail_src" style="display:none;"> … … 70 75 {'Maximum file size: %sB.'|@translate|@sprintf:$upload_max_filesize_shorthand} {'Allowed file types: %s.'|@translate|@sprintf:'jpg, png, gif'} 71 76 <input type="hidden" name="MAX_FILE_SIZE" value="{$upload_max_filesize}"> 77 </li> 78 <li> 79 <span class="property"> </span> 80 <label><input type="checkbox" name="add_film_frame" value="true"> {'Add film effect'|@translate} </label> 81 <a class="showInfo" title="<img src='{$GVIDEO_PATH}admin/template/example-frame.jpg'>">i</a> 72 82 </li> 73 83 </ul> -
extensions/gvideo/admin/template/style.css
r17307 r17310 42 42 visibility:hidden; 43 43 } 44 45 .showInfo { 46 position:static; 47 display:inline-block; 48 padding:1px 7px; 49 width:4px; 50 height:16px; 51 line-height:16px; 52 font-size:0.8em; 53 }
Note: See TracChangeset
for help on using the changeset viewer.