From f72c8de387c15f5e57d720857ae4bf93be2d826a Mon Sep 17 00:00:00 2001 From: patdenice Date: Sat, 11 Oct 2008 12:57:31 +0000 Subject: Merge from trunk 2712: - Add known_template function (maybe we can change function name). - Template extensions are working with menubar blocks templates. git-svn-id: http://piwigo.org/svn/branches/2.0@2713 68402e56-0260-453c-a942-63ccdbb3a9ee --- template/yoga/menubar.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'template/yoga') diff --git a/template/yoga/menubar.tpl b/template/yoga/menubar.tpl index 73259376e..cca2d5535 100644 --- a/template/yoga/menubar.tpl +++ b/template/yoga/menubar.tpl @@ -4,7 +4,7 @@ {if ( not empty($block->template) or not empty($block->raw_content) )}
{if not empty($block->template)} - {include file=$block->template } + {known_template id=$id file=$block->template } {else} {$block->raw_content|@default} {/if} -- cgit v1.2.3