Changeset 12894 for trunk/themes


Ignore:
Timestamp:
Jan 15, 2012, 6:05:30 PM (12 years ago)
Author:
mistic100
Message:

feaure:2379 option to display user comments sorted new>old instead of old>new

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/themes/default/template/picture.tpl

    r12881 r12894  
    275275
    276276{if isset($COMMENT_COUNT)}
     277<a name="comments"></a>
    277278<div id="comments">
    278279        {if $COMMENT_COUNT > 0}
    279280                <h3>{$pwg->l10n_dec('%d comment', '%d comments',$COMMENT_COUNT)}</h3>
    280281        {/if}
     282  {if $COMMENT_COUNT > 2}
     283    {'Sort order'|@translate} : <a href="{$COMMENTS_ORDER_URL}#comments">{$COMMENTS_ORDER_TITLE}</a>
     284  {/if}
    281285        {if !empty($navbar)}{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if}
    282286
Note: See TracChangeset for help on using the changeset viewer.