aboutsummaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2008-10-11 12:57:31 +0000
committerpatdenice <patdenice@piwigo.org>2008-10-11 12:57:31 +0000
commitf72c8de387c15f5e57d720857ae4bf93be2d826a (patch)
tree1b721725eb00699461e636c4edd4b0c3761600ed /template
parentf2b0b09a0a6e4ee442325953c534bfffe185d981 (diff)
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
Diffstat (limited to 'template')
-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}