Code

Updated environment/kiosk error
[gosa.git] / gosa-plugins / goto / personal / environment / class_hotplugDialog.inc
index 5a14e4e384dd32e658f60ae112e82424d6d1a468..32be0aaab46a72643b05c5fc01b44d89f6e2af61 100644 (file)
@@ -44,8 +44,8 @@ class hotplugDialog extends plugin
     $smarty->assign("depselectHot",$this->depselect);
     $smarty->assign("apply", apply_filter());
     $smarty->assign("alphabet", generate_alphabet());
-    $smarty->assign("search_image", get_template_path('images/search.png'));
-    $smarty->assign("tree_image", get_template_path('images/tree.png'));
+    $smarty->assign("search_image", get_template_path('images/lists/search.png'));
+    $smarty->assign("tree_image", get_template_path('images/lists/search-subtree.png'));
     $smarty->assign("launchimage", get_template_path('images/lists/action.png'));
     $smarty->assign("deplist", $this->config->idepartments);
 
@@ -110,6 +110,7 @@ class hotplugDialog extends plugin
         $this->hotplugDeviceList[$attr['cn'][0]]=$tmp2;
       }
     }
+    uksort($a_return,"strnatcasecmp");
     return($a_return);
   }
 }