From: hickert Date: Wed, 3 Nov 2010 13:28:01 +0000 (+0000) Subject: Updated config management X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b97ab3981bb4b5c4614e7a7a4b382a424d6b6de1;p=gosa.git Updated config management git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20181 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/admin/newConfigManagement/class_newConfigManagement.inc b/gosa-core/plugins/admin/newConfigManagement/class_newConfigManagement.inc index da2fd12f9..530e979fc 100644 --- a/gosa-core/plugins/admin/newConfigManagement/class_newConfigManagement.inc +++ b/gosa-core/plugins/admin/newConfigManagement/class_newConfigManagement.inc @@ -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){