From af22c32fd8ccb1457916a852ce64953a600dc322 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 26 Oct 2010 07:21:44 +0000 Subject: [PATCH] Updated itemSelector git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20146 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../newConfigManagement/class_newConfigManagement.inc | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/gosa-core/plugins/admin/newConfigManagement/class_newConfigManagement.inc b/gosa-core/plugins/admin/newConfigManagement/class_newConfigManagement.inc index 3e932d53c..da2fd12f9 100644 --- a/gosa-core/plugins/admin/newConfigManagement/class_newConfigManagement.inc +++ b/gosa-core/plugins/admin/newConfigManagement/class_newConfigManagement.inc @@ -187,11 +187,8 @@ class newConfigManagement extends plugin { $data = $this->dataModel->getItemByPath($this->selectedContainer); $res = array(); - $res[""]=array("name" => "/", "desc" => "ROOT"); - $res["/root"]= array("name" => "root", "desc" => "TIMMAY"); -# $res["/root/test"]="test"; -# $res["/root/test/timmay"]="tim"; -# $res["/ad"]= "ad"; + $res[""] = array("name" => "/", "desc" => ""); + $res = array_merge($res,$this->__recurseItem($data, array('Component'))); return($res); @@ -210,7 +207,8 @@ class newConfigManagement extends plugin function getContainerList() { $data = $this->dataModel->getItemByPath('/root'); - $res["/root"] = "/"; + $res = array(); + $res["/root"] = array("name" => "/", "desc" => ""); $res = array_merge($res,$this->__recurseItem($data, array('Distribution','Release'))); return($res); } -- 2.30.2