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

Better 2.6 compatibility

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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>
Note: See TracChangeset for help on using the changeset viewer.