From e673454e05e910de3553103d6f41695c5388ffbc Mon Sep 17 00:00:00 2001 From: mistic100 Date: Sun, 15 Jan 2012 17:05:30 +0000 Subject: feaure:2379 option to display user comments sorted new>old instead of old>new git-svn-id: http://piwigo.org/svn/trunk@12894 68402e56-0260-453c-a942-63ccdbb3a9ee --- themes/default/template/picture.tpl | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'themes/default/template') diff --git a/themes/default/template/picture.tpl b/themes/default/template/picture.tpl index 6fb873771..430d0e3c5 100644 --- a/themes/default/template/picture.tpl +++ b/themes/default/template/picture.tpl @@ -274,10 +274,14 @@ y.callService( {if isset($COMMENT_COUNT)} +
{if $COMMENT_COUNT > 0}

{$pwg->l10n_dec('%d comment', '%d comments',$COMMENT_COUNT)}

{/if} + {if $COMMENT_COUNT > 2} + {'Sort order'|@translate} : {$COMMENTS_ORDER_TITLE} + {/if} {if !empty($navbar)}{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if} {if isset($comments)} -- cgit v1.2.3