Ignore:
Timestamp:
Jan 6, 2014, 4:41:55 PM (10 years ago)
Author:
mistic100
Message:

Update for Piwigo 2.6
TODO: button on Admin Tools bar

File:
1 edited

Legend:

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

    r20809 r26470  
    1 {combine_css path=$GVIDEO_PATH|@cat:"admin/template/style.css"}
     1{combine_css path=$GVIDEO_PATH|cat:'admin/template/style.css'}
    22{include file='include/colorbox.inc.tpl'}
    33{include file='include/add_album.inc.tpl'}
    44
    5 {footer_script}{literal}
     5{footer_script}
    66jQuery("input[data-toggle]").change(function() {
    77  $('#'+ $(this).data('toggle')).toggle();
     
    1717  $(".providersInfo").toggle();
    1818});
    19 {/literal}{/footer_script}
     19{/footer_script}
     20
    2021
    2122<div class="titrePage">
     
    2526<form method="post" action="" class="properties">
    2627<fieldset>
    27   <legend>{'Properties'|@translate}</legend>
     28  <legend>{'Properties'|translate}</legend>
    2829 
    2930  <ul>
    3031    <li>
    3132      <label>
    32         <span class="property">{'Album'|@translate}</span>
     33        <span class="property">{'Album'|translate}</span>
    3334        <select style="width:400px" name="category" id="albumSelect" size="1">
    3435          {html_options options=$category_parent_options selected=$POST.category}
    3536        </select>
    3637      </label>
    37       {'... or '|@translate}<a href="#" class="addAlbumOpen" title="{'create a new album'|@translate}">{'create a new album'|@translate}</a>
     38      {'... or '|translate}<a href="#" class="addAlbumOpen" title="{'create a new album'|translate}">{'create a new album'|translate}</a>
    3839    </li>
    3940    <li>
    4041      <label>
    41         <span class="property">{'Video URL'|@translate}</span>
     42        <span class="property">{'Video URL'|translate}</span>
    4243        <input type="text" name="url" value="{$POST.url}" style="width:400px;">
    4344      </label>
     
    4546  {if $gd_available}
    4647    <li>
    47       <span class="property">{'Thumbnail'|@translate}</span>
    48       <label><input type="checkbox" name="add_film_frame" value="true" {if $POST.add_film_frame}checked="checked"{/if}> {'Add film effect'|@translate} </label>
    49       <a class="showInfo" title="<img src='{$GVIDEO_PATH}admin/template/example-frame.jpg'>">i</a>
     48      <span class="property">{'Thumbnail'|translate}</span>
     49      <label><input type="checkbox" name="add_film_frame" value="true" {if $POST.add_film_frame}checked="checked"{/if}> {'Add film effect'|translate} </label>
     50      <a class="icon-info-circled-1 showInfo" title="<img src='{$GVIDEO_PATH}admin/template/example-frame.jpg'>"></a>
    5051    </li>
    5152  {/if}
     
    5455
    5556<fieldset>
    56   <legend>{'Configuration'|@translate}</legend>
     57  <legend>{'Configuration'|translate}</legend>
    5758 
    5859  <ul>
    5960    <li>
    60       <span class="property">{'Video size'|@translate}</span>
    61       <label><input type="radio" name="size_common" value="true" {if $POST.size_common != 'false'}checked="checked"{/if} data-toggle="size"> {'Use common setting'|@translate}</label>
    62       <label><input type="radio" name="size_common" value="false" {if $POST.size_common == 'false'}checked="checked"{/if} data-toggle="size"> {'Change'|@translate}</label>
     61      <span class="property">{'Video size'|translate}</span>
     62      <label><input type="radio" name="size_common" value="true" {if $POST.size_common != 'false'}checked="checked"{/if} data-toggle="size"> {'Use common setting'|translate}</label>
     63      <label><input type="radio" name="size_common" value="false" {if $POST.size_common == 'false'}checked="checked"{/if} data-toggle="size"> {'Change'|translate}</label>
    6364    </li>
    6465    <li {if $POST.size_common != 'false'}style="display:none;"{/if} id="size">
     
    6869    </li>
    6970    <li>
    70       <span class="property">{'Autoplay'|@translate}</span>
    71       <label><input type="radio" name="autoplay_common" value="true" {if $POST.autoplay_common != 'false'}checked="checked"{/if} data-toggle="autoplay"> {'Use common setting'|@translate}</label>
    72       <label><input type="radio" name="autoplay_common" value="false" {if $POST.autoplay_common == 'false'}checked="checked"{/if} data-toggle="autoplay"> {'Change'|@translate}</label>
     71      <span class="property">{'Autoplay'|translate}</span>
     72      <label><input type="radio" name="autoplay_common" value="true" {if $POST.autoplay_common != 'false'}checked="checked"{/if} data-toggle="autoplay"> {'Use common setting'|translate}</label>
     73      <label><input type="radio" name="autoplay_common" value="false" {if $POST.autoplay_common == 'false'}checked="checked"{/if} data-toggle="autoplay"> {'Change'|translate}</label>
    7374    </li>
    7475    <li {if $POST.autoplay_common != 'false'}style="display:none;"{/if} id="autoplay">
    7576      <span class="property">&nbsp;</span>
    76       <label><input type="radio" name="autoplay" value="0" {if $POST.autoplay == '0'}checked="checked"{/if}> {'No'|@translate}</label>
    77       <label><input type="radio" name="autoplay" value="1" {if $POST.autoplay == '1'}checked="checked"{/if}> {'Yes'|@translate}</label>
     77      <label><input type="radio" name="autoplay" value="0" {if $POST.autoplay == '0'}checked="checked"{/if}> {'No'|translate}</label>
     78      <label><input type="radio" name="autoplay" value="1" {if $POST.autoplay == '1'}checked="checked"{/if}> {'Yes'|translate}</label>
    7879    </li>
    7980    <li>
    80       <span class="property">{'Get video description'|@translate}</span>
    81       <label><input type="radio" name="sync_description" value="1" {if $gvideo.sync_description}checked="checked"{/if}> {'Yes'|@translate}</label>
    82       <label><input type="radio" name="sync_description" value="0" {if not $gvideo.sync_description}checked="checked"{/if}> {'No'|@translate}</label>
     81      <span class="property">{'Get video description'|translate}</span>
     82      <label><input type="radio" name="sync_description" value="1" {if $gvideo.sync_description}checked="checked"{/if}> {'Yes'|translate}</label>
     83      <label><input type="radio" name="sync_description" value="0" {if not $gvideo.sync_description}checked="checked"{/if}> {'No'|translate}</label>
    8384    </li>
    8485    <li>
    85       <span class="property">{'Get video tags'|@translate}</span>
    86       <label><input type="radio" name="sync_tags" value="1" {if $gvideo.sync_tags}checked="checked"{/if}> {'Yes'|@translate}</label>
    87       <label><input type="radio" name="sync_tags" value="0" {if not $gvideo.sync_tags}checked="checked"{/if}> {'No'|@translate}</label>
     86      <span class="property">{'Get video tags'|translate}</span>
     87      <label><input type="radio" name="sync_tags" value="1" {if $gvideo.sync_tags}checked="checked"{/if}> {'Yes'|translate}</label>
     88      <label><input type="radio" name="sync_tags" value="0" {if not $gvideo.sync_tags}checked="checked"{/if}> {'No'|translate}</label>
    8889    </li>
    8990  </ul> 
     
    9293
    9394<p style="text-align:left;">
    94   <input type="submit" name="add_video" value="{'Add'|@translate}">
    95   <label style="font-weight:bold;"><input type="checkbox" name="safe_mode" {if $POST.safe_mode}checked="checked"{/if}> {'Safe-mode'|@translate}</label>
    96   <a class="showInfo" title="{'In safe-mode, the plugin does\'t try to contact the video host, usefull on some websites where remote connections are blocked.'|@translate}">i</a>
     95  <input type="submit" name="add_video" value="{'Add'|translate}">
     96  <label style="font-weight:bold;"><input type="checkbox" name="safe_mode" {if $POST.safe_mode}checked="checked"{/if}> {'Safe-mode'|translate}</label>
     97  <a class="icon-info-circled-1 showInfo" title="{'In safe-mode, the plugin does\'t try to contact the video host, usefull on some websites where remote connections are blocked.'|translate|escape:html}"></a>
    9798</p>
    9899
    99100<fieldset style="margin-top:40px;">
    100   <legend>{'Supported services'|@translate}</legend>
     101  <legend>{'Supported services'|translate}</legend>
    101102 
    102103  <ul class="services">
     
    104105      <img class="icon" src="{$GVIDEO_PATH}admin/template/icons/youtube.png">
    105106      <a href="http://www.youtube.com" target="_blank">YouTube</a>
    106       <span class="providersInfo">{'Videos can be unlisted but not private.'|@translate}<br></span>
     107      <span class="providersInfo">{'Videos can be unlisted but not private.'|translate}<br></span>
    107108    </li>
    108109    <li>
    109110      <img class="icon" src="{$GVIDEO_PATH}admin/template/icons/vimeo.png">
    110111      <a href="http://www.vimeo.com" target="_blank">Vimeo</a>
    111       <span class="providersInfo">{'Videos can be unlisted and private if the gallery website is within the authorized domains (PRO).'|@translate}<br></span>
     112      <span class="providersInfo">{'Videos can be unlisted and private if the gallery website is within the authorized domains (PRO).'|translate}<br></span>
    112113    </li>
    113114    <li>
    114115      <img class="icon" src="{$GVIDEO_PATH}admin/template/icons/dailymotion.png">
    115116      <a href="http://www.dailymotion.com" target="_blank">Dailymotion</a>
    116       <span class="providersInfo">{'Videos can be private if you use the private permalink.'|@translate}<br></span>
     117      <span class="providersInfo">{'Videos can be private if you use the private permalink.'|translate}<br></span>
    117118    </li>
    118119    <li>
    119120      <img class="icon" src="{$GVIDEO_PATH}admin/template/icons/wat.png">
    120121      <a href="http://www.wat.tv" target="_blank">Wat</a>
    121       <span class="providersInfo" style="font-style:italic;">{'No privacy option.'|@translate}<br></span>
     122      <span class="providersInfo" style="font-style:italic;">{'No privacy option.'|translate}<br></span>
    122123    </li>
    123124    <li>
    124125      <img class="icon" src="{$GVIDEO_PATH}admin/template/icons/wideo.png">
    125126      <a href="http://www.wideo.fr" target="_blank">Wideo</a>
    126       <span class="providersInfo" style="font-style:italic;">{'No privacy option.'|@translate}<br></span>
     127      <span class="providersInfo" style="font-style:italic;">{'No privacy option.'|translate}<br></span>
    127128    </li>
    128129    <li>
    129       <a class="showProvidersInfo">{'Show privacy details'|@translate}</a>
     130      <a class="showProvidersInfo">{'Show privacy details'|translate}</a>
    130131    </li>
    131132  </ul>
Note: See TracChangeset for help on using the changeset viewer.