diff --git a/gosa-core/plugins/admin/newConfigManagement/class_newConfigManagement.inc b/gosa-core/plugins/admin/newConfigManagement/class_newConfigManagement.inc
index 4d5822c88b70dd83d07cd184bd31f481d6eebbd3..f038f01b399189f217070530afeff19b0ce6d364 100644 (file)
function __construct($config, $dn)
{
$this->config = &$config;
- $this->listing = new ConfigManagementListing($this->config, get_userinfo());
+ $this->listing = new ConfigManagementListing($this->config, get_userinfo(), $this);
// Request an update of the data model
$this->updateDataModel();
*/
function execute()
{
+
// Get the selected release and store it in a session variable
// to allow the configFilter to access it and display the
// packages and items.
session::set('CONFIG_ITEM', $item);
$this->listing->setListingTypes($this->getListingTypes());
- return($this->listing->renderList());
+ return($this->listing->execute());
}
$types['Release']['objectClass'] = 'Release';
$types['Release']['label'] = _('Release');
- $types['Release']['image'] = 'images/lists/edit.png';
+ $types['Release']['image'] = 'images/lists/delete.png';
$types['Release']['category'] = 'Device';
$types['Release']['class'] = 'Device';
+
+ $types['Component']['objectClass'] = 'Component';
+ $types['Component']['label'] = _('Component');
+ $types['Component']['image'] = 'plugins/users/images/select_user.png';
+ $types['Component']['category'] = 'Device';
+ $types['Component']['class'] = 'Device';
return($types);
}
+
+ function editEntry($id)
+ {
+ print_a($id);
+ }
+
+
+ function removeEntry($id)
+ {
+ print_a($id);
+ }
+
+
public static function plInfo()
{
return (array(