diff options
author | vdigital <vdigital@piwigo.org> | 2008-10-19 21:00:18 +0000 |
---|---|---|
committer | vdigital <vdigital@piwigo.org> | 2008-10-19 21:00:18 +0000 |
commit | 2f2067153599c2699c235f2ce4de0b56870ef5f9 (patch) | |
tree | 4f0c17c4de0f486e044e92e2abd4ed919b309303 /template/yoga/picture.tpl | |
parent | 4e6e78d04cdb685a535974d3a3b2721dac15a4c1 (diff) |
0 comment is removed (Start with 1)
Accurate samples/my-picture.tpl...
git-svn-id: http://piwigo.org/svn/branches/2.0@2779 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/yoga/picture.tpl')
-rw-r--r-- | template/yoga/picture.tpl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/template/yoga/picture.tpl b/template/yoga/picture.tpl index d6a99decf..b8f3ec522 100644 --- a/template/yoga/picture.tpl +++ b/template/yoga/picture.tpl @@ -251,8 +251,9 @@ y.callService( {if isset($COMMENT_COUNT)} <div id="comments"> - <h3>{$pwg->l10n_dec('%d comment', '%d comments',$COMMENT_COUNT)}</h3> - + {if $COMMENT_COUNT > 0} + <h3>{$pwg->l10n_dec('%d comment', '%d comments',$COMMENT_COUNT)}</h3> + {/if} {if !empty($COMMENT_NAV_BAR)} <div class="navigationBar">{$COMMENT_NAV_BAR}</div> {/if} |