From 1cfe916db25a47ce3a61881be1eb756a77792857 Mon Sep 17 00:00:00 2001 From: patdenice Date: Sat, 7 Mar 2009 21:34:55 +0000 Subject: Re-order templates extension alphabetically. Allow to use template extension for navigation bar. git-svn-id: http://piwigo.org/svn/trunk@3182 68402e56-0260-453c-a942-63ccdbb3a9ee --- template/yoga/comments.tpl | 2 +- template/yoga/index.tpl | 2 +- template/yoga/picture.tpl | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'template') diff --git a/template/yoga/comments.tpl b/template/yoga/comments.tpl index 1475b1810..13994c0a7 100644 --- a/template/yoga/comments.tpl +++ b/template/yoga/comments.tpl @@ -65,7 +65,7 @@ -{if !empty($navbar) }{include file='navigation_bar.tpl'}{/if} +{if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if} {if isset($comments)}
diff --git a/template/yoga/index.tpl b/template/yoga/index.tpl index cc882d9d1..c270fc891 100644 --- a/template/yoga/index.tpl +++ b/template/yoga/index.tpl @@ -103,7 +103,7 @@ {if !empty($CATEGORIES) }{$CATEGORIES}{/if} {if !empty($THUMBNAILS) }{$THUMBNAILS}{/if} -{if !empty($navbar) }{include file='navigation_bar.tpl'}{/if} +{if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if} {if !empty($CONTENT_DESCRIPTION) }
diff --git a/template/yoga/picture.tpl b/template/yoga/picture.tpl index a6c9eda06..b670a0388 100644 --- a/template/yoga/picture.tpl +++ b/template/yoga/picture.tpl @@ -255,7 +255,7 @@ y.callService( {if $COMMENT_COUNT > 0}

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

{/if} - {if !empty($navbar) }{include file='navigation_bar.tpl'}{/if} + {if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if} {if isset($comments)} {include file='comment_list.tpl' comment_separator=true} -- cgit v1.2.3