diff --git a/gosa-core/plugins/admin/newConfigManagement/class_newConfigManagement.inc b/gosa-core/plugins/admin/newConfigManagement/class_newConfigManagement.inc
index da2fd12f971ec6fae99fe6bb75e864e0f1ed2587..530e979fc86a2573db23dd975560442fa0b7de03 100644 (file)
$res = array();
$res["/root"] = array("name" => "/", "desc" => "");
$res = array_merge($res,$this->__recurseItem($data, array('Distribution','Release')));
+
+ print_a($res);
return($res);
}
$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){