mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-08 23:19:04 +01:00
Explicitly load headers & js for old etemplates
This commit is contained in:
parent
3e4100d5df
commit
c458f34b18
@ -319,12 +319,14 @@ class etemplate_old extends boetemplate
|
||||
$html .= '</script>';
|
||||
}
|
||||
|
||||
error_log("OUTPUT MODE: $output_mode");
|
||||
if (!$this->sitemgr && (int) $output_mode != 1 && (int) $output_mode != -1) // NOT returning html
|
||||
{
|
||||
if (!@self::$hooked)
|
||||
{
|
||||
if((int) $output_mode != 2)
|
||||
{
|
||||
echo $GLOBALS['egw']->framework->header();
|
||||
echo $GLOBALS['egw']->framework->navbar(); // do header too
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user