Ignore:
Timestamp:
09/18/14 13:27:14 (6 years ago)
Author:
JanisV
Message:

Code cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Fotorama/template/admin.tpl

    r29615 r29621  
    66 
    77<fieldset id="Fotorama"> 
    8 <legend>{'Configuration'|@translate}</legend> 
     8<legend>{'Configuration'|translate}</legend> 
    99<ul> 
    1010  <li> 
    1111    <label for="allowfullscreen"> 
    12       <b>{'Allows fullscreen'|@translate}</b>  
     12      <b>{'Allows fullscreen'|translate}</b>  
    1313    </label> 
    1414    <select class="categoryDropDown" id="allowfullscreen" name="allowfullscreen"> 
    15       <option value="false"{if $Fotorama.allowfullscreen == 'false'} selected{/if}>{'false'|@translate}</option> 
    16       <option value="true"{if $Fotorama.allowfullscreen == 'true'} selected{/if}>{'true'|@translate}</option> 
    17       <option value="native"{if $Fotorama.allowfullscreen == 'native'} selected{/if}>{'native'|@translate}</option> 
     15      <option value="false"{if $Fotorama.allowfullscreen == 'false'} selected{/if}>{'false'|translate}</option> 
     16      <option value="true"{if $Fotorama.allowfullscreen == 'true'} selected{/if}>{'true'|translate}</option> 
     17      <option value="native"{if $Fotorama.allowfullscreen == 'native'} selected{/if}>{'native'|translate}</option> 
    1818    </select> 
    1919  </li> 
     
    2121    <input type="checkbox" id="only_fullscreen" name="only_fullscreen"{if $Fotorama.only_fullscreen} checked="checked"{/if}> 
    2222    <label for="only_fullscreen"> 
    23       <b>{'Only fullscreen mode'|@translate}</b> 
     23      <b>{'Only fullscreen mode'|translate}</b> 
    2424    </label> 
    2525  </li> 
    2626  <li> 
    2727    <label for="fit"> 
    28       <b>{'How to fit an image'|@translate}</b>  
     28      <b>{'How to fit an image'|translate}</b>  
    2929    </label> 
    3030    <select class="categoryDropDown" id="fit" name="fit"> 
    31       <option value="contain"{if $Fotorama.fit == 'contain'} selected{/if}>{'contain'|@translate}</option> 
    32       <option value="cover"{if $Fotorama.fit == 'cover'} selected{/if}>{'cover'|@translate}</option> 
    33       <option value="scaledown"{if $Fotorama.fit == 'scaledown'} selected{/if}>{'scaledown'|@translate}</option> 
    34       <option value="none"{if $Fotorama.fit == 'none'} selected{/if}>{'none'|@translate}</option> 
     31      <option value="contain"{if $Fotorama.fit == 'contain'} selected{/if}>{'contain'|translate}</option> 
     32      <option value="cover"{if $Fotorama.fit == 'cover'} selected{/if}>{'cover'|translate}</option> 
     33      <option value="scaledown"{if $Fotorama.fit == 'scaledown'} selected{/if}>{'scaledown'|translate}</option> 
     34      <option value="none"{if $Fotorama.fit == 'none'} selected{/if}>{'none'|translate}</option> 
    3535    </select> 
    3636  </li> 
    3737  <li> 
    3838    <label for="transition"> 
    39       <b>{'What transition to use'|@translate}</b>  
     39      <b>{'What transition to use'|translate}</b>  
    4040    </label> 
    4141    <select class="categoryDropDown" id="transition" name="transition"> 
    42       <option value="slide"{if $Fotorama.transition == 'slide'} selected{/if}>{'slide'|@translate}</option> 
    43       <option value="crossfade"{if $Fotorama.transition == 'crossfade'} selected{/if}>{'crossfade'|@translate}</option> 
    44       <option value="dissolve"{if $Fotorama.transition == 'dissolve'} selected{/if}>{'dissolve'|@translate}</option> 
     42      <option value="slide"{if $Fotorama.transition == 'slide'} selected{/if}>{'slide'|translate}</option> 
     43      <option value="crossfade"{if $Fotorama.transition == 'crossfade'} selected{/if}>{'crossfade'|translate}</option> 
     44      <option value="dissolve"{if $Fotorama.transition == 'dissolve'} selected{/if}>{'dissolve'|translate}</option> 
    4545    </select> 
    4646  </li> 
    4747  <li> 
    4848    <label for="nav"> 
    49       <b>{'Navigation style'|@translate}</b>  
     49      <b>{'Navigation style'|translate}</b>  
    5050    </label> 
    5151    <select class="categoryDropDown" id="nav" name="nav"> 
    52       <option value="false"{if $Fotorama.nav == 'false'} selected{/if}>{'false'|@translate}</option> 
    53       <option value="dots"{if $Fotorama.nav == 'dots'} selected{/if}>{'dots'|@translate}</option> 
    54       <option value="thumbs"{if $Fotorama.nav == 'thumbs'} selected{/if}>{'thumbs'|@translate}</option> 
     52      <option value="false"{if $Fotorama.nav == 'false'} selected{/if}>{'false'|translate}</option> 
     53      <option value="dots"{if $Fotorama.nav == 'dots'} selected{/if}>{'dots'|translate}</option> 
     54      <option value="thumbs"{if $Fotorama.nav == 'thumbs'} selected{/if}>{'thumbs'|translate}</option> 
    5555    </select> 
    5656  </li> 
    5757  <li> 
    5858    <label for="fullscreen_nav"> 
    59       <b>{'Fullscreen navigation style'|@translate}</b>  
     59      <b>{'Fullscreen navigation style'|translate}</b>  
    6060    </label> 
    6161    <select class="categoryDropDown" id="fullscreen_nav" name="fullscreen_nav"> 
    62       <option value="false"{if $Fotorama.fullscreen_nav == 'false'} selected{/if}>{'false'|@translate}</option> 
    63       <option value="dots"{if $Fotorama.fullscreen_nav == 'dots'} selected{/if}>{'dots'|@translate}</option> 
    64       <option value="thumbs"{if $Fotorama.fullscreen_nav == 'thumbs'} selected{/if}>{'thumbs'|@translate}</option> 
     62      <option value="false"{if $Fotorama.fullscreen_nav == 'false'} selected{/if}>{'false'|translate}</option> 
     63      <option value="dots"{if $Fotorama.fullscreen_nav == 'dots'} selected{/if}>{'dots'|translate}</option> 
     64      <option value="thumbs"{if $Fotorama.fullscreen_nav == 'thumbs'} selected{/if}>{'thumbs'|translate}</option> 
    6565    </select> 
    6666  </li> 
    6767  <li> 
    6868    <label for="thumbheight"> 
    69       <b>{'Tumbnail height (when present)'|@translate}</b>  
     69      <b>{'Tumbnail height (when present)'|translate}</b>  
    7070    </label> 
    7171    <input type="number" size="2" maxlength="3" name="thumbheight" value="{$Fotorama.thumbheight}" min="5" max="300" style="width: 50px;">&nbsp;px 
     
    7474    <input type="checkbox" id="shadows" name="shadows"{if $Fotorama.shadows} checked="checked"{/if}> 
    7575    <label for="shadows"> 
    76       <b>{'Enables shadows'|@translate}</b> 
     76      <b>{'Enables shadows'|translate}</b> 
    7777    </label> 
    7878  </li> 
     
    8080    <input type="checkbox" id="autoplay" name="autoplay"{if $Fotorama.autoplay} checked="checked"{/if}> 
    8181    <label for="autoplay"> 
    82       <b>{'Enables autoplay'|@translate}</b> 
     82      <b>{'Enables autoplay'|translate}</b> 
    8383    </label> 
    8484  </li> 
     
    8686    <input type="checkbox" id="stopautoplayontouch" name="stopautoplayontouch"{if $Fotorama.stopautoplayontouch} checked="checked"{/if}> 
    8787    <label for="stopautoplayontouch"> 
    88       <b>{'Stops slideshow at any user action with the fotorama'|@translate}</b> 
     88      <b>{'Stops slideshow at any user action with the fotorama'|translate}</b> 
    8989    </label> 
    9090  </li> 
     
    9292    <input type="checkbox" id="loop" name="loop"{if $Fotorama.loop} checked="checked"{/if}> 
    9393    <label for="loop"> 
    94       <b>{'Enables loop'|@translate}</b> 
     94      <b>{'Enables loop'|translate}</b> 
    9595    </label> 
    9696  </li> 
     
    9898    <input type="checkbox" id="enable_caption" name="enable_caption"{if $Fotorama.enable_caption} checked="checked"{/if}> 
    9999    <label for="enable_caption"> 
    100       <b>{'Show caption with image title'|@translate}</b> 
     100      <b>{'Show caption with image title'|translate}</b> 
    101101    </label> 
    102102  </li> 
     
    104104    <input type="checkbox" id="replace_picture" name="replace_picture"{if $Fotorama.replace_picture} checked="checked"{/if}> 
    105105    <label for="replace_picture"> 
    106       <b>{'Replace picture page'|@translate}</b> 
     106      <b>{'Replace picture page'|translate}</b> 
    107107    </label> 
    108108  </li> 
     
    110110    &nbsp;&nbsp;&nbsp;&nbsp;<input type="checkbox" id="replace_picture_only_users" name="replace_picture_only_users"{if $Fotorama.replace_picture_only_users} checked="checked"{/if}> 
    111111    <label for="replace_picture_only_users"> 
    112       <b>{'except an administrator'|@translate}</b> 
     112      <b>{'except an administrator'|translate}</b> 
    113113    </label> 
    114114  </li> 
     
    118118<p class="formButtons"> 
    119119  <input type="hidden" name="pwg_token" value="{$PWG_TOKEN}"> 
    120   <input type="submit" name="submit" value="{'Save Settings'|@translate}"> 
     120  <input type="submit" name="submit" value="{'Save Settings'|translate}"> 
    121121</p> 
    122122</form> 
Note: See TracChangeset for help on using the changeset viewer.