Code

Display added kiosk profiles directly in ddropdown box
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 18 Sep 2007 06:18:52 +0000 (06:18 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 18 Sep 2007 06:18:52 +0000 (06:18 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7310 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/environment/class_environment.inc

index 7a71c8d93c0486576a4e0f3b46180afb9853f68e..4e1f3b001001cc824dbf86aeebedb62826f34685 100644 (file)
@@ -451,7 +451,12 @@ class environment extends plugin
     /* Save */
     if(isset($_POST['KioskClose'])){
       $this->newKioskProfiles = array_merge($this->newKioskProfiles,$this->dialog->save());
-  
+
+      /* Update list of kiosk profiles */ 
+      $list = $this->dialog->getKioskProfiles($this->newKioskProfiles);
+      $list['none']=_("None");
+      $this->kioskProfileList = array_reverse($list);
+
       unset($this->dialog);
       $this->dialog=NULL;
       $this->is_dialog = false;