From a06bada6e8425817ef4f2ed8faa97be3bc9b3c19 Mon Sep 17 00:00:00 2001 From: patdenice Date: Sat, 11 Oct 2008 17:21:52 +0000 Subject: - 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 --- template/yoga/menubar.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'template/yoga/menubar.tpl') 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) )}
{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} -- cgit v1.2.3