summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1e69b1e)
raw | patch | inline | side by side (parent: 1e69b1e)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 9 Mar 2010 12:18:23 +0000 (12:18 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 9 Mar 2010 12:18:23 +0000 (12:18 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16361 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_management.inc | patch | blob | history |
index 60eb713e84fb19439e8a95c32765c2f9b261cd9a..aec1431f5efcb9cd5049287b743f9c22b8769bec 100644 (file)
$this->snapHandler->setSnapshotBases($bases);
}
-
+
+ // Dummy filter editor
+ $dummy = "<button type='submit' name='editFilter'>!!</button>";
+ $this->registerAction("editFilter", "editFilter");
+
// Display list
- return($this->renderList());
+ return($dummy.$this->renderList());
}
-
+
+ function editFilter()
+ {
+ $headpage = $this->getHeadpage();
+ $this->dialogObject = new filterEditor($this->config,$headpage->categories);
+ }
+
function renderList()
{
$this->headpage->update();
if(isset($_POST['edit_cancel'])) $action['action'] = "cancel";
if(isset($_POST['delete_confirmed'])) $action['action'] = "removeConfirmed";
if(isset($_POST['delete_cancel'])) $action['action'] = "cancelDelete";
+ if(isset($_POST['editFilter'])) $action['action'] = "editFilter";
+ if(isset($_POST['saveFilter'])) $action['action'] = "save";
+ if(isset($_POST['cancelFilter'])) $action['action'] = "cancel";
// Detect Snapshot actions
if(isset($_POST['CreateSnapshot'])) $action['action'] = "saveSnapshot";