Changeset 2758 for branches/2.0/template


Ignore:
Timestamp:
Oct 16, 2008, 2:50:37 AM (16 years ago)
Author:
rvelices
Message:
  • picture nav buttons use the get_extent modifier
  • comments title on picture page is singular/plural language sensitive
  • improved P@t commit (no double home display on picture nav bar) so that it works with my site
Location:
branches/2.0/template/yoga
Files:
2 edited

Legend:

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

    r2723 r2758  
    2929  <div class="browsePath">
    3030    <a href="{$U_HOME}" rel="home">{'home'|@translate}</a>
    31     {if $SECTION_TITLE != 'no_category'|@translate}{$LEVEL_SEPARATOR}{$SECTION_TITLE}{/if}
     31    {if !$IS_HOME}{$LEVEL_SEPARATOR}{$SECTION_TITLE}{/if}
    3232    {$LEVEL_SEPARATOR}{$current.TITLE}
    3333  </div>
     
    8181    {/if}{*caddie management END*}
    8282  </div>
    83   {include file=$FILE_PICTURE_NAV_BUTTONS}
     83  {include file='picture_nav_buttons.tpl'|@get_extent:'picture_nav_buttons'}
    8484</div> <!-- imageToolBar -->
    8585
     
    252252{if isset($COMMENT_COUNT)}
    253253<div id="comments">
    254         <h3>[{$COMMENT_COUNT}] {'comments_title'|@translate}</h3>
     254        <h3>{$pwg->l10n_dec('%d comment', '%d comments',$COMMENT_COUNT)}</h3>
    255255
    256256        {if !empty($COMMENT_NAV_BAR)}
  • branches/2.0/template/yoga/slideshow.tpl

    r2227 r2758  
    1313
    1414<div id="imageToolBar">
    15   {include file=$FILE_PICTURE_NAV_BUTTONS}
     15  {include file='picture_nav_buttons.tpl'|@get_extent:'picture_nav_buttons'}
    1616</div>
    1717
Note: See TracChangeset for help on using the changeset viewer.