From: hickert Date: Thu, 3 Nov 2005 08:33:18 +0000 (+0000) Subject: Set Class name for helpmenu X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a104023a0a2a5a8c6e3219284cf124b5fb8817df;p=gosa.git Set Class name for helpmenu git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1801 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/personal/environment/class_environment.inc b/plugins/personal/environment/class_environment.inc index f7dc1326a..6a3c6591a 100644 --- a/plugins/personal/environment/class_environment.inc +++ b/plugins/personal/environment/class_environment.inc @@ -347,13 +347,6 @@ class environment extends plugin * Open management if post is transmitted */ - /* Open Management Dialog */ - if(isset($_POST['KioskManagementDialog'])){ - $this->dialog = new kioskManagementDialog($this->config,$this->dn,$this->newKioskProfiles); - $this->dialog->parent= $this; - $this->is_dialog = true; - } - /* Save */ if(isset($_POST['KioskClose'])){ $this->newKioskProfiles = array_merge($this->newKioskProfiles,$this->dialog->save()); @@ -365,6 +358,16 @@ class environment extends plugin $tmp = new kioskManagementDialog($this->config,$this->dn); $list = $tmp->getKioskProfiles($this->newKioskProfiles); + /* Reassign help class */ + $_SESSION['current_class_for_help'] = get_class($this); + + /* Open Management Dialog */ + if(isset($_POST['KioskManagementDialog'])){ + $this->dialog = new kioskManagementDialog($this->config,$this->dn,$this->newKioskProfiles); + $this->dialog->parent= $this; + $this->is_dialog = true; + } + $smarty->assign("gotoKioskProfiles",$list); $smarty->assign("gotoKioskProfileKeys",array_flip($list));