Dominik
2015-04-05 20f478fd5e36bb03dd6850d3f5e8a2a459a6dc2b
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']);
@@ -74,9 +82,11 @@
   closedir($dir);
}
$app->tpl->setLoop('js_d_includes', $js_d_files);
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();
?>