aboutsummaryrefslogtreecommitdiffstats
path: root/themes
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2012-01-15 17:05:30 +0000
committermistic100 <mistic@piwigo.org>2012-01-15 17:05:30 +0000
commite673454e05e910de3553103d6f41695c5388ffbc (patch)
treebfb6422e059cc0f26da227951d0ef74fafccb06d /themes
parent24eafada3e6f0b8ee27a4088ed50c35e0cad15ed (diff)
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
Diffstat (limited to 'themes')
-rw-r--r--themes/default/template/picture.tpl4
1 files changed, 4 insertions, 0 deletions
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(
</div>
{if isset($COMMENT_COUNT)}
+<a name="comments"></a>
<div id="comments">
{if $COMMENT_COUNT > 0}
<h3>{$pwg->l10n_dec('%d comment', '%d comments',$COMMENT_COUNT)}</h3>
{/if}
+ {if $COMMENT_COUNT > 2}
+ {'Sort order'|@translate} : <a href="{$COMMENTS_ORDER_URL}#comments">{$COMMENTS_ORDER_TITLE}</a>
+ {/if}
{if !empty($navbar)}{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if}
{if isset($comments)}