public function showHMS($content) { $tpl = array(); $tpl['MAIN'] = $content; $navbar = new NavBar(); $tpl['NAVBAR'] = $navbar->show(); \Layout::addStyle('hms', 'css/hms.css'); \Layout::add(\PHPWS_Template::process($tpl, 'hms', 'hms.tpl')); }