Code

some fixes
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 26 Aug 2005 12:36:47 +0000 (12:36 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 26 Aug 2005 12:36:47 +0000 (12:36 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1233 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/environment/class_environment.inc
plugins/personal/environment/environment.tpl

index c8fd3ea3ac0fbc553dc820f1f69a2a8cc588abac..91c78b97c133c6e768341b596c8fc2e8e38251b3 100644 (file)
@@ -250,6 +250,7 @@ class environment extends plugin
 
     $smarty->assign("gotoXResolutions",$this->gotoXResolutions);
     $smarty->assign("gotoProfileServers",$this->gotoProfileServers);
+    $smarty->assign("gotoProfileServerKeys",array_flip($this->gotoProfileServers));
 
     /* Handle kiosk profiles 
      * Read available from filesystem
index 467120c77d4a417aec08fe5b2c608d0e3b196a7d..8888078036e946835f5796e02dcc4b2f2118e064 100644 (file)
@@ -28,7 +28,7 @@
                                                                </td>
                                                                <td>
                                                                        <select style="width:350px;" name="gotoProfileServer" {$gotoProfileServerACL} id="gotoProfileServer">
-                                                                               {html_options values=$gotoProfileServers output=$gotoProfileServers selected=$gotoProfileServer}
+                                                                               {html_options values=$gotoProfileServerKeys output=$gotoProfileServers selected=$gotoProfileServer}
                                                                                <option disabled>&nbsp;</option>
                                                                        </select>
                                                                </td>