Ignore:
Timestamp:
Aug 2, 2012, 4:30:30 PM (12 years ago)
Author:
mistic100
Message:

-restore option to add film frame effect (improved)
-update mimetypes to avoid double frames

Location:
extensions/gvideo/admin/template
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/gvideo/admin/template/add.tpl

    r17307 r17310  
    44jQuery("input[data-toggle]").change(function() {
    55  $('#'+ $(this).data('toggle')).toggle();
     6});
     7jQuery(".showInfo").tipTip({
     8  delay: 0,
     9  fadeIn: 200,
     10  fadeOut: 200,
     11  maxWidth: '300px',
     12  defaultPosition: 'right'
    613});
    714{/literal}{/footer_script}
     
    4047    </li>
    4148    <li>
    42         <span class="property">{'Author'|@translate}</span>
    43         <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>
    44         <label><input type="radio" name="author_server" value="false" {if $POST.author_server == 'false'}checked="checked"{/if} data-toggle="author"> {'Change'|@translate}</label>
     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>
    4552    </li>
    4653    <li {if $POST.author_server != 'false'}style="display:none;"{/if} id="author">
     
    5865    </li>
    5966    <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>
    6570    </li>
    6671    <li id="thumbnail_src" style="display:none;">
     
    7075      {'Maximum file size: %sB.'|@translate|@sprintf:$upload_max_filesize_shorthand} {'Allowed file types: %s.'|@translate|@sprintf:'jpg, png, gif'}
    7176      <input type="hidden" name="MAX_FILE_SIZE" value="{$upload_max_filesize}">
     77    </li>
     78    <li>
     79      <span class="property">&nbsp;</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>
    7282    </li>
    7383  </ul> 
  • extensions/gvideo/admin/template/style.css

    r17307 r17310  
    4242    visibility:hidden;
    4343  }
     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.