Changeset 2779 for branches/2.0/template


Ignore:
Timestamp:
Oct 19, 2008, 11:00:18 PM (16 years ago)
Author:
vdigital
Message:

0 comment is removed (Start with 1)
Accurate samples/my-picture.tpl...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/template/yoga/picture.tpl

    r2758 r2779  
    252252{if isset($COMMENT_COUNT)}
    253253<div id="comments">
    254         <h3>{$pwg->l10n_dec('%d comment', '%d comments',$COMMENT_COUNT)}</h3>
    255 
     254  {if $COMMENT_COUNT > 0}
     255                <h3>{$pwg->l10n_dec('%d comment', '%d comments',$COMMENT_COUNT)}</h3>
     256  {/if}
    256257        {if !empty($COMMENT_NAV_BAR)}
    257258        <div class="navigationBar">{$COMMENT_NAV_BAR}</div>
Note: See TracChangeset for help on using the changeset viewer.