Changeset 26898 for extensions/stripped


Ignore:
Timestamp:
Jan 21, 2014, 10:15:05 PM (10 years ago)
Author:
flop25
Message:

Better 2.6 compatibility

Location:
extensions/stripped/template
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • extensions/stripped/template/index.tpl

    r23537 r26898  
    77                <div class="categoryActionsContainer">
    88                        <ul class="categoryActions group1">
    9                                 {if !empty($PLUGIN_INDEX_ACTIONS)}{$PLUGIN_INDEX_ACTIONS}{/if}
     9        {if !empty($PLUGIN_INDEX_BUTTONS)}{foreach from=$PLUGIN_INDEX_BUTTONS item=button}<li class="mainAction">{$button}</li>{/foreach}{/if}
     10        {if !empty($PLUGIN_INDEX_ACTIONS)}{$PLUGIN_INDEX_ACTIONS}{/if}
    1011                                {if isset($U_SEARCH_RULES)}
    1112                                        {combine_script id='core.scripts' load='async' path='themes/default/js/scripts.js'}
     
    7677                                </div></div>
    7778                        {/if}
    78 
     79      {if !empty($CONTENT)}{$CONTENT}{/if}
    7980                        {if !empty($CATEGORIES) }{$CATEGORIES}{/if}
    8081      {if !empty($cats_navbar)}
  • extensions/stripped/template/menubar_tags.tpl

    r12960 r26898  
    66                        <a class="tagLevel{$tag.level}" href=
    77                        {if isset($tag.U_ADD)}
    8                                 "{$tag.U_ADD}" title="{$pwg->l10n_dec('%d photo is also linked to current tags', '%d photos are also linked to current tags', $tag.counter)}" rel="nofollow">+
     8                                "{$tag.U_ADD}" title="{$tag.counter|translate_dec:'%d photo is also linked to current tags':'%d photos are also linked to current tags'}" rel="nofollow">+
    99                        {else}
    1010                                "{$tag.URL}" title="{'display photos linked to this tag'|@translate}">
  • extensions/stripped/template/month_calendar.tpl

    r12960 r26898  
    1313                                {else}
    1414                                        {foreach from=$bar.items item=item}
    15                                                 <span class="calItem{if !isset($item.URL)}Empty{/if}" {if isset($item.NB_IMAGES)}title="{$pwg->l10n_dec('%d photo', '%d photos', $item.NB_IMAGES)}"{/if}>
     15                                                <span class="calItem{if !isset($item.URL)}Empty{/if}" {if isset($item.NB_IMAGES)}title="{$item.NB_IMAGES|translate_dec:'%d photo':'%d photos'}"{/if}>
    1616                                                        {if isset($item.URL)}
    1717                                                                <a href="{$item.URL}">{$item.LABEL}</a>
     
    6969                                                                        <div class="calImg">
    7070                                                                                <a href="{$day.U_IMG_LINK}">
    71                                                                                         <img style="{$day.IMAGE_STYLE}" src="{$day.IMAGE}" alt="{$day.IMAGE_ALT}" title="{$pwg->l10n_dec('%d photo','%d photos', $day.NB_ELEMENTS)}">
     71                                                                                        <img style="{$day.IMAGE_STYLE}" src="{$day.IMAGE}" alt="{$day.IMAGE_ALT}" title="{$day.NB_ELEMENTS|translate_dec:'%d photo':'%d photos'}">
    7272                                                                                </a>
    7373                                                                        </div>
  • extensions/stripped/template/picture.tpl

    r23537 r26898  
    3939                {strip}{if isset($PLUGIN_PICTURE_ACTIONS)}
    4040                        <li class="plugin_buttons plugin_buttons_group1">{$PLUGIN_PICTURE_ACTIONS}</li>
    41                 {/if}{/strip}
     41                {/if}
     42    {/strip}
     43    {if isset($PLUGIN_PICTURE_BUTTONS)}{foreach from=$PLUGIN_PICTURE_BUTTONS item=button}<li class="plugin_buttons plugin_buttons_group1">{$button}</li>{/foreach}{/if}
    4244                {strip}{if isset($U_CADDIE)}{*caddie management BEGIN*}
    4345                        {footer_script}
     
    155157                                {/if}
    156158                                {if (isset($COMMENT_COUNT) and ($COMMENT_COUNT>0)) or isset($comment_add) }
    157                                         <li id="tabTcomments" class="tabTitle" title="{'Add a comment'|@translate}" name="comments">{$pwg->l10n_dec('%d comment', '%d comments',$COMMENT_COUNT)}</li>
     159                                        <li id="tabTcomments" class="tabTitle" title="{'Add a comment'|@translate}" name="comments">{$COMMENT_COUNT|translate_dec:'%d comment':'%d comments'}</li>
    158160                                {/if}
    159161                        </ul>
  • extensions/stripped/template/tags.tpl

    r23124 r26898  
    2828                                        <div id="fullTagCloud">
    2929                                                {foreach from=$tags item=tag}
    30                                                         <span><a href="{$tag.URL}" class="tagLevel{$tag.level}" title="{$pwg->l10n_dec('%d photo', '%d photos', $tag.counter)}">{$tag.name}</a></span>
     30                                                        <span><a href="{$tag.URL}" class="tagLevel{$tag.level}" title="{$tag.counter|translate_dec:'%d photo':'%d photos'}">{$tag.name}</a></span>
    3131                                                {/foreach}
    3232                                        </div>
     
    4343                                                                                                <tr class="tagLine">
    4444                                                                                                <td><a href="{$tag.URL}">{$tag.name}</a></td>
    45                                                                                                 <td class="nbEntries">{$pwg->l10n_dec('%d photo', '%d photos', $tag.counter)}</td>
     45                                                                                                <td class="nbEntries">{$tag.counter|translate_dec:'%d photo':'%d photos'}</td>
    4646                                                                                                </tr>
    4747                                                                                        {/foreach}
  • extensions/stripped/template/thumbnails.tpl

    r23537 r26898  
    2929                                                {if isset($thumbnail.NB_COMMENTS)}
    3030                                                        <span class="{if 0==$thumbnail.NB_COMMENTS}zero {/if}nb-comments">
    31                                                                 {$pwg->l10n_dec('%d comment', '%d comments',$thumbnail.NB_COMMENTS)}
     31                                                                {$thumbnail.NB_COMMENTS|translate_dec:'%d comment':'%d comments'}
    3232                                                        </span>
    3333                                                {/if}
    3434                                                {if isset($thumbnail.NB_HITS)}
    3535                                                        <span class="{if 0==$thumbnail.NB_HITS}zero {/if}nb-hits">
    36                                                                 {$pwg->l10n_dec('%d hit', '%d hits',$thumbnail.NB_HITS)}
     36                                                                {$thumbnail.NB_HITS|translate_dec:'%d hit':'%d hits'}
    3737                                                        </span>
    3838                                                {/if}
Note: See TracChangeset for help on using the changeset viewer.