From: hickert Date: Tue, 18 Sep 2007 06:18:52 +0000 (+0000) Subject: Display added kiosk profiles directly in ddropdown box X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=17817febd6b1983e4c0004d6b3a515d67551cb01;p=gosa.git Display added kiosk profiles directly in ddropdown box git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7310 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/personal/environment/class_environment.inc b/plugins/personal/environment/class_environment.inc index 7a71c8d93..4e1f3b001 100644 --- a/plugins/personal/environment/class_environment.inc +++ b/plugins/personal/environment/class_environment.inc @@ -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;