Changeset 9678


Ignore:
Timestamp:
Mar 14, 2011, 5:56:23 PM (10 years ago)
Author:
flop25
Message:

tpl files have been updated for 2.2

Location:
extensions/floPure/Pure_default/template
Files:
1 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • extensions/floPure/Pure_default/template/identification.tpl

    r5904 r9678  
    2323    <legend>{'Connection settings'|@translate}</legend>
    2424
    25     <input type="hidden" name="redirect" value="{$U_REDIRECT}">
    26 
    2725    <ul>
    2826      <li>
     
    4341      <li>
    4442        <span class="property">
    45           <label for="Auto login">{'Auto login'|@translate}</label>
     43          <label for="remember_me">{'Auto login'|@translate}</label>
    4644        </span>
    4745        <input tabindex="3" type="checkbox" name="remember_me" id="remember_me" value="1">
     
    5149  </fieldset>
    5250
    53   <p><input class="submit" tabindex="4" type="submit" name="login" value="{'Submit'|@translate}"></p>
     51  <p>
     52    <input type="hidden" name="redirect" value="{$U_REDIRECT|@urlencode}">
     53    <input class="submit" tabindex="4" type="submit" name="login" value="{'Submit'|@translate}">
     54  </p>
    5455
    5556  <p>
    56     {if isset($U_REGISTER) }
    57     <a href="{$U_REGISTER}" title="{'Register'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/register.png" class="button" alt="{'Register'|@translate}"> {'Register'|@translate}</a>
    58     {/if}
    59     <a href="{$U_LOST_PASSWORD}" title="{'Forgot your password?'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/lost_password.png" class="button" alt="{'Forgot your password?'|@translate}"> {'Forgot your password?'|@translate}</a>
     57{if isset($U_REGISTER)}
     58                <a href="{$U_REGISTER}" title="{'Register'|@translate}" class="pwg-state-default pwg-button">
     59                        <span class="pwg-icon pwg-icon-register">&nbsp;</span><span>{'Register'|@translate}</span>
     60                </a>
     61{/if}
     62                <a href="{$U_LOST_PASSWORD}" title="{'Forgot your password?'|@translate}" class="pwg-state-default pwg-button">
     63                        <span class="pwg-icon pwg-icon-lost-password">&nbsp;</span><span>{'Forgot your password?'|@translate}</span>
     64                </a>
    6065  </p>
    6166
  • extensions/floPure/Pure_default/template/index.tpl

    r9672 r9678  
    1212      <td id="section_in">
    1313      <div class="titrePage">
    14         <ul class="categoryActions">
    15           {if !empty($image_orders) }
    16           <li>
    17           {'Sort order'|@translate}:
     14          <ul class="categoryActions">
     15            {if !empty($image_orders)}
     16                <li>{'Sort order'|@translate}: {strip}
     17                <select onchange="document.location = this.options[this.selectedIndex].value;">
     18                  {foreach from=$image_orders item=image_order}
     19                  <option value="{$image_order.URL}"{if $image_order.SELECTED} selected="selected"{/if}>{$image_order.DISPLAY}</option>
     20                  {/foreach}
     21                </select>
     22            {/strip}</li>
     23            {/if}
     24            {if isset($favorite)}
     25                <li><a href="{$favorite.U_FAVORITE}" title="{'delete all photos from your favorites'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
     26                  <span class="pwg-icon pwg-icon-favorite-del"> </span><span class="pwg-button-text">{'delete all photos from your favorites'|@translate}</span>
     27                </a></li>
     28            {/if}
     29            {if isset($U_CADDIE)}
     30                <li><a href="{$U_CADDIE}" title="{'add to caddie'|@translate}" class="pwg-state-default pwg-button">
     31                  <span class="pwg-icon pwg-icon-caddie-add"> </span><span class="pwg-button-text">{'caddie'|@translate}</span>
     32                </a></li>
     33            {/if}
     34            {if isset($U_EDIT)}
     35                <li><a href="{$U_EDIT}" title="{'edit'|@translate}" class="pwg-state-default pwg-button">
     36                  <span class="pwg-icon pwg-icon-category-edit"> </span><span class="pwg-button-text">{'edit'|@translate}</span>
     37                </a></li>
     38            {/if}
     39            {if isset($U_SEARCH_RULES)}
     40                {combine_script id='core.scripts' load='async' path='themes/default/js/scripts.js'}
     41                <li><a href="{$U_SEARCH_RULES}" onclick="popuphelp(this.href); return false;" title="{'Search rules'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
     42                  <span class="pwg-icon pwg-icon-help"> </span><span class="pwg-button-text">(?)</span>
     43                </a></li>
     44            {/if}
     45            {if isset($U_SLIDESHOW)}
     46                <li>{strip}<a href="{$U_SLIDESHOW}" title="{'slideshow'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
     47                  <span class="pwg-icon pwg-icon-slideshow"> </span><span class="pwg-button-text">{'slideshow'|@translate}</span>
     48                </a>{/strip}</li>
     49            {/if}
     50            {if isset($U_MODE_FLAT)}
     51                <li>{strip}<a href="{$U_MODE_FLAT}" title="{'display all photos in all sub-albums'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
     52                  <span class="pwg-icon pwg-icon-category-view-flat"> </span><span class="pwg-button-text">{'display all photos in all sub-albums'|@translate}</span>
     53                </a>{/strip}</li>
     54            {/if}
     55            {if isset($U_MODE_NORMAL)}
     56                <li>{strip}<a href="{$U_MODE_NORMAL}" title="{'return to normal view mode'|@translate}" class="pwg-state-default pwg-button">
     57                  <span class="pwg-icon pwg-icon-category-view-normal"> </span><span class="pwg-button-text">{'return to normal view mode'|@translate}</span>
     58                </a>{/strip}</li>
     59            {/if}
     60            {if isset($U_MODE_POSTED)}
     61                <li>{strip}<a href="{$U_MODE_POSTED}" title="{'display a calendar by posted date'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
     62                  <span class="pwg-icon pwg-icon-calendar"> </span><span class="pwg-button-text">{'Calendar'|@translate}</span>
     63                </a>{/strip}</li>
     64            {/if}
     65            {if isset($U_MODE_CREATED)}
     66                <li>{strip}<a href="{$U_MODE_CREATED}" title="{'display a calendar by creation date'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
     67                  <span class="pwg-icon pwg-icon-camera-calendar"> </span><span class="pwg-button-text">{'Calendar'|@translate}</span>
     68                </a>{/strip}</li>
     69            {/if}
     70            {if !empty($PLUGIN_INDEX_ACTIONS)}{$PLUGIN_INDEX_ACTIONS}{/if}
     71          </ul>
     72       
     73        <h2>{$TITLE}</h2>
     74       
     75        {if isset($chronology_views)}
     76        <div class="calendarViews">{'View'|@translate}:
    1877          <select onchange="document.location = this.options[this.selectedIndex].value;">
    19             {foreach from=$image_orders item=image_order }
    20             <option value="{$image_order.URL}"{if $image_order.SELECTED} selected="selected"{/if}>{$image_order.DISPLAY}</option>
     78            {foreach from=$chronology_views item=view}
     79            <option value="{$view.VALUE}"{if $view.SELECTED} selected="selected"{/if}>{$view.CONTENT}</option>
    2180            {/foreach}
    2281          </select>
    23           </li>
    24           {/if}
    25    
    26           {if isset($favorite) }
    27           <li><a href="{$favorite.U_FAVORITE}" title="{'delete all images from your favorites'|@translate}"><img src="{$favorite.FAVORITE_IMG}" class="button" alt="favorite" title="{'delete all images from your favorites'|@translate}"></a></li>
    28           {/if}
    29    
    30           {if isset($U_CADDIE) }
    31           <li><a href="{$U_CADDIE}" title="{'caddie'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/caddie_add.png" class="button" alt="{'caddie'|@translate}"></a></li>
    32           {/if}
    33    
    34           {if isset($U_EDIT) }
    35           <li><a href="{$U_EDIT}" title="{'edit'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/category_edit.png" class="button" alt="{'edit'|@translate}"></a></li>
    36           {/if}
    37    
    38           {if isset($U_SEARCH_RULES) }
    39           <li><a href="{$U_SEARCH_RULES}" onclick="popuphelp(this.href); return false;" title="{'Search rules'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/search_rules.png" class="button" alt="(?)"></a></li>
    40           {/if}
    41    
    42           {if isset($U_SLIDESHOW) }
    43           <li><a href="{$U_SLIDESHOW}" title="{'slideshow'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/start_slideshow.png" class="button" alt="{'slideshow'|@translate}"></a></li>
    44           {/if}
    45    
    46           {if isset($U_MODE_FLAT) }
    47           <li><a href="{$U_MODE_FLAT}" title="{'display all elements in all sub-categories'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/flat.png" class="button" alt="{'display all elements in all sub-categories'|@translate}"></a></li>
    48           {/if}
    49    
    50           {if isset($U_MODE_NORMAL) }
    51           <li><a href="{$U_MODE_NORMAL}" title="{'return to normal view mode'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/normal_mode.png" class="button" alt="{'return to normal view mode'|@translate}"></a></li>
    52           {/if}
    53    
    54           {if isset($U_MODE_POSTED) }
    55           <li><a href="{$U_MODE_POSTED}" title="{'display a calendar by posted date'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/calendar.png" class="button" alt="{'display a calendar by posted date'|@translate}"></a></li>
    56           {/if}
    57          
    58           {if isset($U_MODE_CREATED) }
    59           <li><a href="{$U_MODE_CREATED}" title="{'display a calendar by creation date'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/calendar_created.png" class="button" alt="{'display a calendar by creation date'|@translate}"></a></li>
    60           {/if}
    61          
    62           {if !empty($PLUGIN_INDEX_ACTIONS)}{$PLUGIN_INDEX_ACTIONS}{/if}
    63         </ul>
    64    
    65       <h2>{$TITLE}</h2>
    66    
    67       {if isset($chronology_views) }
    68       <div class="calendarViews">{'View'|@translate}:
    69         <select onchange="document.location = this.options[this.selectedIndex].value;">
    70           {foreach from=$chronology_views item=view}
    71           <option value="{$view.VALUE}"{if $view.SELECTED} selected="selected"{/if}>{$view.CONTENT}</option>
    72           {/foreach}
    73         </select>
    74       </div>
    75       {/if}
    76    
    77       {if isset($chronology.TITLE) }
    78       <h2>{$chronology.TITLE}</h2>
    79       {/if}
    80    
    81       </div> <!-- titrePage -->
     82        </div>
     83        {/if}
     84       
     85        {if isset($chronology.TITLE)}
     86        <h2>{$chronology.TITLE}</h2>
     87        {/if}
     88           
     89                        </div>{* <!-- titrePage --> *} 
    8290
    8391      {if !empty($PLUGIN_INDEX_CONTENT_BEGIN)}{$PLUGIN_INDEX_CONTENT_BEGIN}{/if}
  • extensions/floPure/Pure_default/template/nbm.tpl

    r5904 r9678  
    33  <div class="titrePage">
    44    <ul class="categoryActions">
    5       <li><a href="{$U_HOME}" title="{'Home'|@translate}"><img src="{$themeconf.icon_dir}/home.png" class="button" alt="{'Home'|@translate}"></a></li>
     5                        <li><a href="{$U_HOME}" title="{'Home'|@translate}" class="pwg-state-default pwg-button">
     6                                <span class="pwg-icon pwg-icon-home">&nbsp;</span><span class="pwg-button-text">{'Home'|@translate}</span>
     7                        </a></li>
    68    </ul>
    79    <h2>{'Notification'|@translate}</h2>
  • extensions/floPure/Pure_default/template/password.tpl

    r5904 r9678  
    33  <div class="titrePage">
    44    <ul class="categoryActions">
    5       <li><a href="{$U_HOME}" title="{'Home'|@translate}"><img src="{$themeconf.icon_dir}/home.png" class="button" alt="{'Home'|@translate}"></a></li>
     5                        <li><a href="{$U_HOME}" title="{'Go through the gallery as a visitor'|@translate}" class="pwg-state-default pwg-button">
     6                                <span class="pwg-icon pwg-icon-home">&nbsp;</span><span class="pwg-button-text">{'Home'|@translate}</span>
     7                        </a></li>
    68    </ul>
    79    <h2>{'Password forgotten'|@translate}</h2>
  • extensions/floPure/Pure_default/template/tags.tpl

    r5904 r9678  
    33        <div class="titrePage">
    44                <ul class="categoryActions">
    5                 {if $display_mode == 'letters'}
    6                         <li><a href="{$U_CLOUD}" title="{'cloud'|@translate}" rel="nofollow"><img src="{$themeconf.icon_dir}/tag_cloud.png" class="button" alt="{'cloud'|@translate}"></a></li>
    7                 {/if}
    8 
    9                 {if $display_mode == 'cloud'}
    10                         <li><a href="{$U_LETTERS}" title="{'letters'|@translate}" rel="nofollow"><img src="{$themeconf.icon_dir}/tag_letters.png" class="button" alt="{'letters'|@translate}"></a></li>
    11                 {/if}
    12 
    13                         <li><a href="{$U_HOME}" title="{'Home'|@translate}"><img src="{$themeconf.icon_dir}/home.png" class="button" alt="{'Home'|@translate}"></a></li>
    14                 </ul>
    15                 <h2>{'Tags'|@translate}</h2>
     5  {if $display_mode == 'letters'}
     6      <li><a href="{$U_CLOUD}" title="{'show tag cloud'|@translate}" class="pwg-state-default pwg-button">
     7        <span class="pwg-icon pwg-icon-cloud">&nbsp;</span><span class="pwg-button-text">{'cloud'|@translate}</span>
     8      </a></li>
     9  {/if}
     10  {if $display_mode == 'cloud'}
     11      <li><a href="{$U_LETTERS}" title="{'group by letters'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
     12        <span class="pwg-icon pwg-icon-letters">&nbsp;</span><span class="pwg-button-text">{'letters'|@translate}</span>
     13      </a></li>
     14  {/if}
     15      <li><a href="{$U_HOME}" title="{'Home'|@translate}" class="pwg-state-default pwg-button">
     16        <span class="pwg-icon pwg-icon-home">&nbsp;</span><span class="pwg-button-text">{'Home'|@translate}</span>
     17      </a></li>
     18    </ul>
     19    <h2>{'Tags'|@translate}</h2>
    1620  </div>
    1721<div id="autre_content">
     
    2024        <div id="fullTagCloud">
    2125                {foreach from=$tags item=tag}
    22                 <span><a href="{$tag.URL}" class="tagLevel{$tag.level}" title="{$tag.counter}">{$tag.name}</a></span>
     26                <span><a href="{$tag.URL}" class="tagLevel{$tag.level}" title="{$pwg->l10n_dec('%d photo', '%d photos', $tag.counter)}">{$tag.name}</a></span>
    2327                {/foreach}
    2428        </div>
Note: See TracChangeset for help on using the changeset viewer.