// 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') {
<!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" />