From 4fbe0ef6669e1df16b1c4a65b2cb10abada4070e Mon Sep 17 00:00:00 2001 From: patdenice Date: Sat, 11 Oct 2008 12:55:43 +0000 Subject: - 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/trunk@2712 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