aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/picture.tpl
diff options
context:
space:
mode:
authorvdigital <vdigital@piwigo.org>2008-10-19 21:02:47 +0000
committervdigital <vdigital@piwigo.org>2008-10-19 21:02:47 +0000
commitc0ba6e46a3199e4b4b20f858d92557b772b9d7a0 (patch)
tree1a8239eab7adbc6e9025a3bf2364a54184f5b4c5 /template/yoga/picture.tpl
parenta6be0e500b91696013b1580915c21493ce6c39b1 (diff)
Merging revisions 2778-2779
0 comment is removed (Start with 1) Accurate samples/my-picture.tpl... CSS 2.1 cannot be reached (14 errors left). IE rule set is created (including IE hack). git-svn-id: http://piwigo.org/svn/trunk@2780 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--template/yoga/picture.tpl5
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}