| | |
| | | |
| | | $app->uses('tpl'); |
| | | $app->tpl->newTemplate('main.tpl.htm'); |
| | | $app->tpl->setVar('startpage', isset($_SESSION['s']['module']['startpage']) ? $_SESSION['s']['module']['startpage'] : ''); |
| | | $app->tpl->setVar('logged_in', ($_SESSION['s']['user']['active'] != 1 ? 'n' : 'y')); |
| | | |
| | | // tab change warning? |
| | |
| | | $app->tpl->setVar('base64_logo_txt', $base64_logo_txt); |
| | | |
| | | // Title |
| | | $app->tpl->setVar('company_name', $sys_config['company_name']. ' :: '); |
| | | if (!empty($sys_config['company_name'])) { |
| | | $app->tpl->setVar('company_name', $sys_config['company_name']. ' :: '); |
| | | } |
| | | |
| | | $app->tpl_defaults(); |
| | | $app->tpl->pparse(); |