aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/picture.tpl
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2008-10-16 00:50:37 +0000
committerrvelices <rv-github@modusoptimus.com>2008-10-16 00:50:37 +0000
commit6607c3882a6b913342479de80edb5e9fbd7fef4f (patch)
treece2f28b6f7822a44be215048c96755c8a5d264ba /template/yoga/picture.tpl
parentf7f8c1688ef30ecb2f40fe279ba34d250d4ec8be (diff)
- 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
Diffstat (limited to 'template/yoga/picture.tpl')
-rw-r--r--template/yoga/picture.tpl6
1 files changed, 3 insertions, 3 deletions
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 @@
<div id="imageHeaderBar">
<div class="browsePath">
<a href="{$U_HOME}" rel="home">{'home'|@translate}</a>
- {if $SECTION_TITLE != 'no_category'|@translate}{$LEVEL_SEPARATOR}{$SECTION_TITLE}{/if}
+ {if !$IS_HOME}{$LEVEL_SEPARATOR}{$SECTION_TITLE}{/if}
{$LEVEL_SEPARATOR}{$current.TITLE}
</div>
<div class="imageNumber">{$PHOTO}</div>
@@ -80,7 +80,7 @@ y.callService(
<a href="{$U_CADDIE}" onclick="addToCadie(this, '{$ROOT_URL|@escape:'javascript'}', {$current.id}); return false;" title="{'add to caddie'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/caddie_add.png" class="button" alt="{'caddie'|@translate}"></a>
{/if}{*caddie management END*}
</div>
- {include file=$FILE_PICTURE_NAV_BUTTONS}
+ {include file='picture_nav_buttons.tpl'|@get_extent:'picture_nav_buttons'}
</div> <!-- imageToolBar -->
<div id="theImage">
@@ -251,7 +251,7 @@ y.callService(
{if isset($COMMENT_COUNT)}
<div id="comments">
- <h3>[{$COMMENT_COUNT}] {'comments_title'|@translate}</h3>
+ <h3>{$pwg->l10n_dec('%d comment', '%d comments',$COMMENT_COUNT)}</h3>
{if !empty($COMMENT_NAV_BAR)}
<div class="navigationBar">{$COMMENT_NAV_BAR}</div>