summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d737de7)
raw | patch | inline | side by side (parent: d737de7)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 4 Apr 2011 10:02:54 +0000 (10:02 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 4 Apr 2011 10:02:54 +0000 (10:02 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20641 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto-ng/admin/newConfigManagement/class_filterConfigManagement.inc | patch | blob | history |
diff --git a/gosa-plugins/goto-ng/admin/newConfigManagement/class_filterConfigManagement.inc b/gosa-plugins/goto-ng/admin/newConfigManagement/class_filterConfigManagement.inc
index 87697b8198420c689c2946a4df4d80df8877f748..477ab21f5b14bf2981b25c58d22bfc3478ec51d2 100644 (file)
// Add entries
$ret = array();
+ if($data['path'] != "/root"){
+ $back = array();
+ $back['dn'] = $data['id'];
+ $back[] = 'dn';
+ $back['cn'] = array('.', 'count' => 1);
+ $back[] = 'cn';
+ $back['description'] = array('.', 'count' => 1);
+ $back[] = 'description';
+ $back['objectClass'] = array('Back', 'count' => 1);
+ $back[] = 'objectClass';
+ $back['count'] = 3;
+ $ret[] = $back;
+ }
+
foreach($data['children'] as $item){
filterDeviceItems::addEntry($ret, $item, $scope == 'sub', $filter);
}