summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 405a587)
raw | patch | inline | side by side (parent: 405a587)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 10 Mar 2010 12:12:13 +0000 (12:12 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 10 Mar 2010 12:12:13 +0000 (12:12 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16378 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_management.inc | patch | blob | history |
index 681d8381b17bf8002a3240eccdc1768ddaa17573..2f959cea498e43a475b2d537427bbb737f728898 100644 (file)
$this->registerAction("saveSnapshot","saveSnapshot");
$this->registerAction("restoreSnapshot","restoreSnapshot");
$this->registerAction("cancelSnapshot","closeDialogs");
+
+ $this->registerAction("config-filter","editFilter");
}
/*! \brief Execute this plugin
$this->snapHandler->setSnapshotBases($bases);
}
- // Add a dummy filter editing button.
- if(userFilter::userFilteringAvailable()){
- $dummy = "<button type='submit' name='editFilter'>!!</button>";
- $this->registerAction("editFilter", "editFilter");
-
- print_a(userFilter::getFilter());
- }
+ print_a(userFilter::getFilter());
// Display list
- return($dummy.$this->renderList());
+ return($this->renderList());
}
function editFilter()
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";