summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 087f24b)
raw | patch | inline | side by side (parent: 087f24b)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 25 Oct 2010 08:29:37 +0000 (08:29 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 25 Oct 2010 08:29:37 +0000 (08:29 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20136 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/admin/newConfigManagement/class_ConfigManagementListing.inc | patch | blob | history | |
gosa-core/plugins/admin/newConfigManagement/class_newConfigManagement.inc | patch | blob | history |
diff --git a/gosa-core/plugins/admin/newConfigManagement/class_ConfigManagementListing.inc b/gosa-core/plugins/admin/newConfigManagement/class_ConfigManagementListing.inc
index acc0c4f0ecf2eac6cb3028d58bebe896a8ab6f26..97504a2e0045b0699c5ba0fcac414638615eb7bc 100644 (file)
$this->itemSelector->update(TRUE);
}
+
function renderList()
{
session::set('DEVICE_ITEMS', array());
- $filter = $this->getFilter();
$headpage = $this->getHeadpage();
$headpage->update();
$smarty = get_smarty();
}
$this->setFilter($filter);
-
-
// Load service xml file and fill in placeholders
$contents = file_get_contents(get_template_path("DeviceConfig-list.xml", true));
$contents = preg_replace("/%TYPES%/", $this->objectTypeStr, $contents);
diff --git a/gosa-core/plugins/admin/newConfigManagement/class_newConfigManagement.inc b/gosa-core/plugins/admin/newConfigManagement/class_newConfigManagement.inc
index 4d5822c88b70dd83d07cd184bd31f481d6eebbd3..23b877d27c19ba446d20fee2ece7a2a817bacf19 100644 (file)
*/
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'] = 'images/lists/edit.png';
+ $types['Component']['category'] = 'Device';
+ $types['Component']['class'] = 'Device';
return($types);
}