|
|
|
|
@ -98,7 +98,6 @@ class Template |
|
|
|
|
$this->twig->addFilter('get_setting', new Twig_Filter_Function('api_get_setting')); |
|
|
|
|
$this->twig->addFilter('var_dump', new Twig_Filter_Function('var_dump')); |
|
|
|
|
$this->twig->addFilter('return_message', new Twig_Filter_Function('Display::return_message_and_translate')); |
|
|
|
|
|
|
|
|
|
$this->twig->addFilter('display_page_header', new Twig_Filter_Function('Display::page_header_and_translate')); |
|
|
|
|
$this->twig->addFilter( |
|
|
|
|
'display_page_subheader', |
|
|
|
|
@ -767,12 +766,12 @@ class Template |
|
|
|
|
} |
|
|
|
|
$this->assign('header_extra_content', $extra_header); |
|
|
|
|
|
|
|
|
|
if ($this->show_header == 1) { |
|
|
|
|
//if ($this->show_header == 1) { |
|
|
|
|
header('Content-Type: text/html; charset='.api_get_system_encoding()); |
|
|
|
|
header( |
|
|
|
|
'X-Powered-By: '.$_configuration['software_name'].' '.substr($_configuration['system_version'], 0, 1) |
|
|
|
|
); |
|
|
|
|
} |
|
|
|
|
//} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|