From 6607c3882a6b913342479de80edb5e9fbd7fef4f Mon Sep 17 00:00:00 2001 From: rvelices Date: Thu, 16 Oct 2008 00:50:37 +0000 Subject: - 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 git-svn-id: http://piwigo.org/svn/branches/2.0@2758 68402e56-0260-453c-a942-63ccdbb3a9ee --- template/yoga/picture.tpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'template/yoga/picture.tpl') diff --git a/template/yoga/picture.tpl b/template/yoga/picture.tpl index 6b5468fff..d6a99decf 100644 --- a/template/yoga/picture.tpl +++ b/template/yoga/picture.tpl @@ -28,7 +28,7 @@
{'home'|@translate} - {if $SECTION_TITLE != 'no_category'|@translate}{$LEVEL_SEPARATOR}{$SECTION_TITLE}{/if} + {if !$IS_HOME}{$LEVEL_SEPARATOR}{$SECTION_TITLE}{/if} {$LEVEL_SEPARATOR}{$current.TITLE}
{$PHOTO}
@@ -80,7 +80,7 @@ y.callService( {'caddie'|@translate} {/if}{*caddie management END*}
- {include file=$FILE_PICTURE_NAV_BUTTONS} + {include file='picture_nav_buttons.tpl'|@get_extent:'picture_nav_buttons'}
@@ -251,7 +251,7 @@ y.callService( {if isset($COMMENT_COUNT)}
-

[{$COMMENT_COUNT}] {'comments_title'|@translate}

+

{$pwg->l10n_dec('%d comment', '%d comments',$COMMENT_COUNT)}

{if !empty($COMMENT_NAV_BAR)} -- cgit v1.2.3