From d3159a4af1d196181b026a7f13fc5f46fe5a5043 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 17 Aug 2010 21:12:19 +0000 Subject: [PATCH] Rewrites to make usage of EL --- inc/filters.php | 5 +---- templates/de/html/page_header.tpl | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/inc/filters.php b/inc/filters.php index b58a126ced..fe1a36c009 100644 --- a/inc/filters.php +++ b/inc/filters.php @@ -974,11 +974,8 @@ function FILTER_DO_LOGIN_ADMIN ($data) { // Filter for loading page header, this should be ran first! function FILTER_LOAD_PAGE_HEADER () { - // Determine the page title - $content['header_title'] = determinePageTitle(); - // Output page header code - $GLOBALS['page_header'] = loadTemplate('page_header', true, $content); + $GLOBALS['page_header'] = loadTemplate('page_header', true); // Include meta data in 'guest' module if (getModule() == 'index') { diff --git a/templates/de/html/page_header.tpl b/templates/de/html/page_header.tpl index dfd6add475..4477112ba6 100644 --- a/templates/de/html/page_header.tpl +++ b/templates/de/html/page_header.tpl @@ -1,7 +1,7 @@ -$content[header_title] +{%pipe,determinePageTitle%} -- 2.39.5