diff --git a/gosa-core/plugins/admin/newConfigManagement/class_newConfigManagement.inc b/gosa-core/plugins/admin/newConfigManagement/class_newConfigManagement.inc
index eb7b13e7355c7cb042de187e927d2d8aba30cb93..4d5822c88b70dd83d07cd184bd31f481d6eebbd3 100644 (file)
$path = $this->selectedContainer.$this->selectedItem;
$item = $this->dataModel->getItemByPath($path);
session::set('CONFIG_ITEM', $item);
+ $this->listing->setListingTypes($this->getListingTypes());
return($this->listing->renderList());
}
}
+ function getListingTypes()
+ {
+ $types= array();
+ $types['Distribution']['objectClass'] = 'Distribution';
+ $types['Distribution']['label'] = _('Distribution');
+ $types['Distribution']['image'] = 'images/lists/edit.png';
+ $types['Distribution']['category'] = 'Device';
+ $types['Distribution']['class'] = 'Device';
+
+ $types['Release']['objectClass'] = 'Release';
+ $types['Release']['label'] = _('Release');
+ $types['Release']['image'] = 'images/lists/edit.png';
+ $types['Release']['category'] = 'Device';
+ $types['Release']['class'] = 'Device';
+ return($types);
+ }
+
+
public static function plInfo()
{
return (array(