aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/menubar.tpl
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2008-10-11 17:21:52 +0000
committerpatdenice <patdenice@piwigo.org>2008-10-11 17:21:52 +0000
commita06bada6e8425817ef4f2ed8faa97be3bc9b3c19 (patch)
treeb106df10becd773038284c48be0cfc40421d9368 /template/yoga/menubar.tpl
parent712b4e3d5c373ae020fd13df626a6f0719954c3c (diff)
- Remove known_template function.
- Replace it by a modifier function: get_extent. git-svn-id: http://piwigo.org/svn/trunk@2716 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}