interface/lib/app.inc.php
@@ -165,9 +165,10 @@ } $this->tpl->setVar('app_title', $this->_conf['app_title']); $this->tpl->setVar('delete_confirmation', $this->lng('delete_confirmation')); //TODO: Silence this notice //print_r($_SESSION); $this->tpl->setVar('app_module', $_SESSION['s']['module']['name']); if(isset($_SESSION['s']['module']['name'])) { $this->tpl->setVar('app_module', $_SESSION['s']['module']['name']); } if(isset($_SESSION['s']['user']) && $_SESSION['s']['user']['typ'] == 'admin') { $this->tpl->setVar('is_admin', 1); }