From: hickert Date: Wed, 19 May 2010 14:24:46 +0000 (+0000) Subject: Added automatic logout when session is expired X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b38ff6bc7cd24f9fdede33d4d4d9f91ea2f01031;p=gosa.git Added automatic logout when session is expired git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18557 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/html/main.php b/gosa-core/html/main.php index be20d4ce1..c78b9d841 100644 --- a/gosa-core/html/main.php +++ b/gosa-core/html/main.php @@ -360,6 +360,7 @@ if (is_file("$plugin_dir/main.inc")){ $smarty->assign("msg_dialogs", msg_dialog::get_dialogs()); $smarty->assign ("pathMenu", $plist->genPathMenu()); $smarty->assign("contents", $display); +$smarty->assign("sessionLifetime", $config->get_cfg_value('core','sessionLifetime')); /* If there's some post, take a look if everything is there... */ if (isset($_POST) && count($_POST)){ diff --git a/gosa-core/ihtml/themes/default/framework.tpl b/gosa-core/ihtml/themes/default/framework.tpl index d5dec1057..0bf462501 100644 --- a/gosa-core/ihtml/themes/default/framework.tpl +++ b/gosa-core/ihtml/themes/default/framework.tpl @@ -35,5 +35,14 @@ {$focus} + + +