mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-09 07:28:43 +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>';
|
$html .= '</script>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
error_log("OUTPUT MODE: $output_mode");
|
||||||
if (!$this->sitemgr && (int) $output_mode != 1 && (int) $output_mode != -1) // NOT returning html
|
if (!$this->sitemgr && (int) $output_mode != 1 && (int) $output_mode != -1) // NOT returning html
|
||||||
{
|
{
|
||||||
if (!@self::$hooked)
|
if (!@self::$hooked)
|
||||||
{
|
{
|
||||||
if((int) $output_mode != 2)
|
if((int) $output_mode != 2)
|
||||||
{
|
{
|
||||||
|
echo $GLOBALS['egw']->framework->header();
|
||||||
echo $GLOBALS['egw']->framework->navbar(); // do header too
|
echo $GLOBALS['egw']->framework->navbar(); // do header too
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user