Explicitly load headers & js for old etemplates

This commit is contained in:
Nathan Gray 2013-12-19 18:27:46 +00:00
parent 3e4100d5df
commit c458f34b18

View File

@ -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