aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2008-10-11 17:23:10 +0000
committerpatdenice <patdenice@piwigo.org>2008-10-11 17:23:10 +0000
commit9772b96f9a59e73ff9c97e6809424397f54201eb (patch)
treeb106df10becd773038284c48be0cfc40421d9368 /template/yoga
parentc17dac678de9ee630b2c6401a1767bdc353c92fb (diff)
Merge from trunk 2716:
- Remove known_template function. - Replace it by a modifier function: get_extent. git-svn-id: http://piwigo.org/svn/branches/2.0@2717 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-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 cca2d5535..97857d4f0 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)}
- {known_template id=$id file=$block->template }
+ {include file=$block->template|@get_extent:$id }
{else}
{$block->raw_content|@default}
{/if}