Marius Cramer
2015-04-07 cc7a82756b4f4d7ab18e928527c37489adbaf564
interface/web/index.php
@@ -51,6 +51,14 @@
   $app->tpl->setVar('global_tabchange_discard_txt', $app->lng('global_tabchange_discard_txt'));
}
if($sys_config['use_loadindicator'] == 'y') {
   $app->tpl->setVar('use_loadindicator', 'y');
}
if($sys_config['use_combobox'] == 'y') {
   $app->tpl->setVar('use_combobox', 'y');
}
if(isset($_SESSION['show_info_msg'])) {
   $app->tpl->setVar('show_info_msg', $_SESSION['show_info_msg']);
   unset($_SESSION['show_info_msg']);
@@ -77,6 +85,8 @@
if (!empty($js_d_files)) $app->tpl->setLoop('js_d_includes', $js_d_files);
unset($js_d_files);
$app->tpl->setVar('current_theme', isset($_SESSION['s']['theme']) ? $_SESSION['s']['theme'] : 'default');
$app->tpl_defaults();
$app->tpl->pparse();
?>