From b38ff6bc7cd24f9fdede33d4d4d9f91ea2f01031 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 19 May 2010 14:24:46 +0000 Subject: [PATCH] Added automatic logout when session is expired git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18557 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/html/main.php | 1 + gosa-core/ihtml/themes/default/framework.tpl | 9 +++++++++ 2 files changed, 10 insertions(+) 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} + + + -- 2.30.2