summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 63555cf)
raw | patch | inline | side by side (parent: 63555cf)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 28 Apr 2006 10:28:52 +0000 (10:28 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 28 Apr 2006 10:28:52 +0000 (10:28 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3165 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/departments/class_departmentGeneric.inc | patch | blob | history | |
plugins/admin/departments/class_departmentManagement.inc | patch | blob | history |
diff --git a/plugins/admin/departments/class_departmentGeneric.inc b/plugins/admin/departments/class_departmentGeneric.inc
index 60d4bc379d3c1ff935ddfa66f79a96cc6dbb9e4c..bf6b7e8214032aa70628a0a9c98036d2b5dfd10d 100644 (file)
$this->config->make_idepartments();
$smarty= get_smarty();
-
/* Base select dialog */
$once = true;
foreach($_POST as $name => $value){
diff --git a/plugins/admin/departments/class_departmentManagement.inc b/plugins/admin/departments/class_departmentManagement.inc
index 0969bbf50dabe1319306ee28f2b41fe45fefa3cc..eb578897611b817ab99b300388d9ab0001d7dba3 100644 (file)
/* Show main page (tabs) */
$display= $this->deptabs->execute();
-
- $display.= "<p style=\"text-align:right\">\n";
- $display.= "<input type=submit name=\"edit_finish\" value=\""._("Save")."\">\n";
- $display.= " \n";
- $display.= "<input type=submit name=\"edit_cancel\" value=\""._("Cancel")."\">\n";
- $display.= "</p>";
-
+ if (!$this->deptabs->by_object[$this->deptabs->current]->dialog){
+ $display.= "<p style=\"text-align:right\">\n";
+ $display.= "<input type=submit name=\"edit_finish\" value=\""._("Save")."\">\n";
+ $display.= " \n";
+ $display.= "<input type=submit name=\"edit_cancel\" value=\""._("Cancel")."\">\n";
+ $display.= "</p>";
+ }
return ($display);
}