Code

Updated config management
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 3 Nov 2010 13:28:01 +0000 (13:28 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 3 Nov 2010 13:28:01 +0000 (13:28 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20181 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/admin/newConfigManagement/class_newConfigManagement.inc

index da2fd12f971ec6fae99fe6bb75e864e0f1ed2587..530e979fc86a2573db23dd975560442fa0b7de03 100644 (file)
@@ -210,6 +210,8 @@ class newConfigManagement extends plugin
         $res = array();
         $res["/root"] = array("name" => "/", "desc" => "");
         $res = array_merge($res,$this->__recurseItem($data, array('Distribution','Release')));
+
+        print_a($res);
         return($res);
     }
 
@@ -226,7 +228,7 @@ class newConfigManagement extends plugin
         $res = array();
         if(in_array($item['type'], $types)){
             $path = preg_replace("/".preg_quote($parent,'/')."/","",$item['path']);
-            $res[$path] = $item['name'];
+            $res[$path] = array('name' => $item['name'],'desc'=>$item['type']);
         }
         if(count($item['children'])){
             foreach($item['children'] as $child){