summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2809bd2)
raw | patch | inline | side by side (parent: 2809bd2)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 8 Jan 2010 17:21:59 +0000 (17:21 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 8 Jan 2010 17:21:59 +0000 (17:21 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15132 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/systems/admin/systems/class_systemManagement.inc | patch | blob | history |
diff --git a/gosa-plugins/systems/admin/systems/class_systemManagement.inc b/gosa-plugins/systems/admin/systems/class_systemManagement.inc
index 1859951cf1bfd276d6ed46be135c95ae00af43f3..3aa053fa5423b764ba31c460c8449d298bcaac60 100644 (file)
}
$this->storagePoints = array_unique($sP);
-# // Build filter
-# if (session::global_is_set(get_class($this)."_filter")){
-# $filter= session::global_get(get_class($this)."_filter");
-# } else {
- $filter = new filter(get_template_path("system-filter.xml", true));
- $filter->setObjectStorage($this->storagePoints);
-# }
- $this->setFilter($filter);
-
- // Build headpage
- $headpage = new listing(get_template_path("system-list.xml", true));
- $headpage->setFilter($filter);
-
- $filter->setConverter('INCOMING', 'systemManagement::incomingFilterConverter');
-
- // Add copy&paste and snapshot handler.
- if ($this->config->boolValueIsTrue("main", "copyPaste")){
- $this->cpHandler = new CopyPasteHandler($this->config);
- }
- if($this->config->get_cfg_value("enableSnapshots") == "true"){
- $this->snapHandler = new SnapshotHandler($this->config);
- }
- parent::__construct($config, $ui, "systems", $headpage);
+ // Build filter
+ if (session::global_is_set(get_class($this)."_filter")){
+ $filter= session::global_get(get_class($this)."_filter");
+ } else {
+ $filter = new filter(get_template_path("system-filter.xml", true));
+ $filter->setObjectStorage($this->storagePoints);
+ }
+ $this->setFilter($filter);
+
+ // Build headpage
+ $headpage = new listing(get_template_path("system-list.xml", true));
+ $headpage->setFilter($filter);
+ $filter->setConverter('INCOMING', 'systemManagement::incomingFilterConverter');
+ $this->registerAction("DaemonEvent_halt", "systemManagement::handleEvent");
+
+ // Add copy&paste and snapshot handler.
+ if ($this->config->boolValueIsTrue("main", "copyPaste")){
+ $this->cpHandler = new CopyPasteHandler($this->config);
+ }
+ if($this->config->get_cfg_value("enableSnapshots") == "true"){
+ $this->snapHandler = new SnapshotHandler($this->config);
+ }
+ parent::__construct($config, $ui, "systems", $headpage);
}
}
+ /*! \brief Edit the selected system type.
+ *
+ * @param String 'action' The name of the action which was the used as trigger.
+ * @param Array 'target' A list of object dns, which should be affected by this method.
+ * @param Array 'all' A combination of both 'action' and 'target'.
+ */
function editEntry($action="",$target=array(),$all=array(), $altTabClass ="", $altTabType = "", $altAclCategory="")
{
if(count($target) == 1){
}
-
/*! \brief Overridden render method of class mangement.
* this allows us to add a release selection box.
*/