Ignore:
Timestamp:
Oct 6, 2011, 1:45:36 PM (13 years ago)
Author:
mistic100
Message:

remove a prefilter for a better integration, add an option to display a mark on thumbnails list

Location:
extensions/Back2Front/template
Files:
1 added
4 edited

Legend:

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

    r11219 r12361  
    2323
    2424<div class="titrePage">
    25         <h2>Back2Front</h2>
     25  <h2>Back2Front</h2>
    2626</div>
    2727
    2828<form method="post" action="" class="properties" ENCTYPE="multipart/form-data">
    29         <fieldset>
    30                 <legend>{'Display'|@translate}</legend>   
    31                 <ul>                   
     29  <fieldset>
     30    <legend>{'Display'|@translate}</legend>
     31    <ul>
    3232      <li>
    3333        <span class="property">{'Link position'|@translate}</span>
     
    3636        <label><input type="radio" name="position" value="toolbar" {if $POSITION == 'toolbar'}checked="checked"{/if}/> {'Toolbar'|@translate}</label>
    3737      </li>
    38                         <li>
    39                                 <span class="property">{'Switch mode'|@translate}</span>
    40                                 <label><input type="radio" name="switch_mode" value="click" {if $SWITCH_MODE == 'click'}checked="checked"{/if}/> {'Click'|@translate}</label>
    41                                 <label><input type="radio" name="switch_mode" value="hover" {if $SWITCH_MODE == 'hover'}checked="checked"{/if}/> {'Mouseover'|@translate}</label>
    42                         </li>
    43                         <li>
    44                                 <span class="property">{'Transition'|@translate}</span>
    45                                 <label><input type="radio" name="transition" value="none" {if $TRANSITION == 'none'}checked="checked"{/if}/> {'None'|@translate}</label>
    46                                 <label><input type="radio" name="transition" value="fade" {if $TRANSITION == 'fade'}checked="checked"{/if}/> {'Fade'|@translate}</label>
    47                         </li>   
     38      <li>
     39        <span class="property">{'Switch mode'|@translate}</span>
     40        <label><input type="radio" name="switch_mode" value="click" {if $SWITCH_MODE == 'click'}checked="checked"{/if}/> {'Click'|@translate}</label>
     41        <label><input type="radio" name="switch_mode" value="hover" {if $SWITCH_MODE == 'hover'}checked="checked"{/if}/> {'Mouseover'|@translate}</label>
     42      </li>
     43      <li>
     44        <span class="property">{'Transition'|@translate}</span>
     45        <label><input type="radio" name="transition" value="none" {if $TRANSITION == 'none'}checked="checked"{/if}/> {'None'|@translate}</label>
     46        <label><input type="radio" name="transition" value="fade" {if $TRANSITION == 'fade'}checked="checked"{/if}/> {'Fade'|@translate}</label>
     47      </li>
     48      <li>
     49        <span class="property">{'Display a mark on thumbnails list'|@translate}</span>
     50        <input type="checkbox" name="show_thumbnail" value="1" {if $SHOW_THUMBNAIL == '1'}checked="checked"{/if}/>
     51      </li>
    4852
    4953      <li>
     
    6064        <a class="lang_help" title="{'Seperate the two labels with the | symbol. Leave blank to use default translation.'|@translate}">i</a>
    6165      </li>     
    62                 </ul>
    63         </fieldset>
    64                
    65         <p><input class="submit" type="submit" value="{'Submit'|@translate}" name="submit" /></p>
     66    </ul>
     67  </fieldset>
     68 
     69  <p><input class="submit" type="submit" value="{'Submit'|@translate}" name="submit" /></p>
    6670</form>
  • extensions/Back2Front/template/admin_button.tpl

    r10823 r12361  
    11{strip}<a href="{$VERSO_U_ADMIN}" title="{'Modify backside information'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
    2   <span class="pwg-icon pwg-icon-edit"> </span><span class="pwg-button-text">{'edit'|@translate}</span>
     2  <img src="{$B2F_PATH}template/rotate_edit.png"/><span class="pwg-button-text">{'edit'|@translate}</span>
    33</a>{/strip}
  • extensions/Back2Front/template/picture_content.tpl

    r11599 r12361  
    9797
    9898{if $b2f_position != 'toolbar'}<div>{/if}
    99 <a class="reverse" rel="front" {if $b2f_position == 'toolbar'}style="border:none !important;"{/if}
     99<a class="reverse" rel="front" class="pwg-state-default pwg-button" title="{$b2f_see_back}" {if $b2f_position == 'toolbar'}style="border:none !important;"{/if}
    100100  {if $b2f_switch_mode == 'hover' and isset($VERSO_HD)}href="javascript:phpWGOpenWindow('{$VERSO_HD}','{$high.UUID}','scrollbars=yes,toolbar=no,status=no,resizable=yes')"{/if}>
    101101  <img src="{$B2F_PATH}template/rotate_1.png"/> {$b2f_see_back}
  • extensions/Back2Front/template/style.css

    r11219 r12361  
    22  display:inline-block;
    33  border:1px solid #666 !important;
    4   padding:3px 5px;
     4  padding:5px 5px;
    55  margin-bottom:10px;
    66  font-size:15px;
Note: See TracChangeset for help on using the changeset viewer.