aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2008-10-11 12:55:43 +0000
committerpatdenice <patdenice@piwigo.org>2008-10-11 12:55:43 +0000
commit4fbe0ef6669e1df16b1c4a65b2cb10abada4070e (patch)
tree1b721725eb00699461e636c4edd4b0c3761600ed /template/yoga
parent9d88e93a99a9e291b5eb4e7b5d768770f662a19e (diff)
- 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
Diffstat (limited to 'template/yoga')
-rw-r--r--template/yoga/menubar.tpl2
1 files changed, 1 insertions, 1 deletions
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) )}
<dl id="{$id}">
{if not empty($block->template)}
- {include file=$block->template }
+ {known_template id=$id file=$block->template }
{else}
{$block->raw_content|@default}
{/if}