]> git.mxchange.org Git - mailer.git/commitdiff
Rewrites to make usage of EL
authorRoland Häder <roland@mxchange.org>
Tue, 17 Aug 2010 21:12:19 +0000 (21:12 +0000)
committerRoland Häder <roland@mxchange.org>
Tue, 17 Aug 2010 21:12:19 +0000 (21:12 +0000)
inc/filters.php
templates/de/html/page_header.tpl

index b58a126ced7c8d5560c60d8e4721242611db15fa..fe1a36c00990c04e4831d5c539ca6c0d81e8110b 100644 (file)
@@ -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') {
index dfd6add4755589555586d2dc5045017872deff11..4477112ba68142372daaad78120e38b482abcafb 100644 (file)
@@ -1,7 +1,7 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
 <head>
-<title>$content[header_title]</title>
+<title>{%pipe,determinePageTitle%}</title>
 <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
 <meta http-equiv="content-style-type" content="text/css" />
 <meta http-equiv="content-script-type" content="text/javascript" />