It took me a while to find this. Following r45914 if your legacy application is “grey” or non-functional you might want to check you apps egw_info settings.
See $GLOBALS[‘egw_info’][‘flags’][‘nonavbar’] = false (approximately line 329 in class.etemplate_old.inc.php )
Alternately the following can be done.
//$GLOBALS[‘egw_info’][‘flags’][‘nonavbar’] = false;
echo $GLOBALS[‘egw’]->framework->navbar();
echo $GLOBALS[‘egw’]->framework->header();