summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2a5dd0d)
raw | patch | inline | side by side (parent: 2a5dd0d)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 25 Jan 2010 09:50:35 +0000 (09:50 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 25 Jan 2010 09:50:35 +0000 (09:50 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15276 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/systems/admin/systems/class_serverService.inc | patch | blob | history |
diff --git a/gosa-plugins/systems/admin/systems/class_serverService.inc b/gosa-plugins/systems/admin/systems/class_serverService.inc
index 44682aa97891d639bbf691a6f28a9802a16a61a6..febc1cdc5ae293d13edd0402abb9b80b654b00f4 100644 (file)
$this->registerAction("newServiceSelected", "newServiceSelected");
$this->registerAction("saveService", "saveService");
$this->registerAction("cancelService", "cancelEdit");
+ $this->registerAction("newServiceCancel", "closeDialogs");
$this->registerAction("restart", "updateServiceStatus");
$this->registerAction("stop", "updateServiceStatus");
$this->registerAction("start", "updateServiceStatus");
{
$action = management::detectPostActions();
if(isset($_POST['SaveServiceAdd'])) $action['action'] = "newServiceSelected";
- if(isset($_POST['CancelServiceAdd'])) $action['action'] = "cancel";
+ if(isset($_POST['CancelServiceAdd'])) $action['action'] = "newServiceCancel";
if(isset($_POST['SaveService'])) $action['action'] = "save";
if(isset($_POST['CancelService'])) $action['action'] = "cancelService";
return($action);
if(is_object($this->dialogObject)){
if(method_exists($this->dialogObject,'save_object')) $this->dialogObject->save_object();
if(method_exists($this->dialogObject,'execute')){
- $display = $this->dialogObject->execute();
+
+ /* There is currently a subdialog open, display this dialog */
+ $add ="";
+ if(isset($this->dialogObject->krb_host_key) && $this->dialogObject->krb_host_key instanceof krbHostKeys){
+ $add = $this->dialogObject->krb_host_key->save_object_by_prefix($this->dialogObject->krb_service_prefix);
+ $add = $this->dialogObject->krb_host_key->execute_by_prefix($this->dialogObject->krb_service_prefix,TRUE);
+ }
+
+ $display = $add.$this->dialogObject->execute();
$display.= $this->_getTabFooter();
return($this->getHeader().$display);
}
$this->snapHandler->setSnapshotBases($bases);
}
+
// Display list
session::set('ServerService', $this->plugins);
return($this->renderList());
function _execute()
{
- /* There is currently a subdialog open, display this dialog */
- if(is_object($this->dialog)){
- $add ="";
- if(isset($this->dialog->krb_host_key) && $this->dialog->krb_host_key instanceof krbHostKeys){
- $add = $this->dialog->krb_host_key->save_object_by_prefix($this->dialog->krb_service_prefix);
- $add = $this->dialog->krb_host_key->execute_by_prefix($this->dialog->krb_service_prefix,TRUE);
- }
- return($add.$this->dialog->execute());
- }
-
/* Dispaly services overview */
session::set('ServerService', $this->plugins);