Ignore:
Timestamp:
Aug 4, 2012, 4:15:54 PM (12 years ago)
Author:
mistic100
Message:
  • simplify add page
  • simplify migration task
  • add option to add film effect on element edition page
Location:
extensions/gvideo/admin/template
Files:
2 edited

Legend:

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

    r17310 r17383  
    3737      </label>
    3838    </li>
    39     <li>
    40       <span class="property">{'Name'|@translate}</span>
    41       <label><input type="radio" name="name_server" value="true" {if $POST.name_server != 'false'}checked="checked"{/if} data-toggle="name"> {'From the video'|@translate}</label>
    42       <label><input type="radio" name="name_server" value="false" {if $POST.name_server == 'false'}checked="checked"{/if} data-toggle="name"> {'Change'|@translate}</label>
    43     </li>
    44     <li {if $POST.name_server != 'false'}style="display:none;"{/if} id="name">
    45       <span class="property">&nbsp;</span>
    46       <input type="text" name="name" value="{$POST.name}" size="70">
    47     </li>
    48     <li>
    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>
    52     </li>
    53     <li {if $POST.author_server != 'false'}style="display:none;"{/if} id="author">
    54       <span class="property">&nbsp;</span>
    55       <input type="text" name="author" value="{$POST.author}" size="20">
    56     </li>
    57     <li>
    58       <span class="property">{'Description'|@translate}</span>
    59       <label><input type="radio" name="description_server" value="true" {if $POST.description_server != 'false'}checked="checked"{/if} data-toggle="description"> {'From the video'|@translate}</label>
    60       <label><input type="radio" name="description_server" value="false" {if $POST.description_server == 'false'}checked="checked"{/if} data-toggle="description"> {'Change'|@translate}</label>
    61     </li>
    62     <li {if $POST.description_server != 'false'}style="display:none;"{/if} id="description">
    63       <span class="property">&nbsp;</span>
    64       <textarea name="description" rows="5" cols="50">{$POST.description}</textarea>
    65     </li>
     39  {if $gd_available}
    6640    <li>
    6741      <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>
    70     </li>
    71     <li id="thumbnail_src" style="display:none;">
    72       <span class="property">&nbsp;</span>
    73       <input type="file" name="thumbnail_src"><br>
    74       <span class="property">&nbsp;</span>
    75       {'Maximum file size: %sB.'|@translate|@sprintf:$upload_max_filesize_shorthand} {'Allowed file types: %s.'|@translate|@sprintf:'jpg, png, gif'}
    76       <input type="hidden" name="MAX_FILE_SIZE" value="{$upload_max_filesize}">
    77     </li>
    78     <li>
    79       <span class="property">&nbsp;</span>
    8042      <label><input type="checkbox" name="add_film_frame" value="true"> {'Add film effect'|@translate} </label>
    8143      <a class="showInfo" title="<img src='{$GVIDEO_PATH}admin/template/example-frame.jpg'>">i</a>
    8244    </li>
     45  {/if}
    8346  </ul> 
    8447</fieldset>
     
    11780  <legend>{'Supported services'|@translate}</legend>
    11881 
    119   <ul>
     82  <ul class="services">
    12083    <li>
    12184      <img class="icon" src="{$GVIDEO_PATH}admin/template/icons/youtube.png">
  • extensions/gvideo/admin/template/style.css

    r17310 r17383  
    5252  font-size:0.8em;
    5353}
     54
     55ul.services li {
     56  display:inline;
     57  margin-left:20px;
     58}
Note: See TracChangeset for help on using the changeset viewer.