summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ac3bdc5)
raw | patch | inline | side by side (parent: ac3bdc5)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 20 Sep 2007 13:09:43 +0000 (13:09 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 20 Sep 2007 13:09:43 +0000 (13:09 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7358 594d385d-05f5-0310-b6e9-bd551577e9d8
contrib/gosa.conf | patch | blob | history | |
plugins/admin/systems/class_servDHCP.inc | patch | blob | history | |
plugins/admin/systems/class_systemManagement.inc | patch | blob | history |
diff --git a/contrib/gosa.conf b/contrib/gosa.conf
index 9ddc4de2fa621a85bb61b4b388cf3241d5fce48c..7f01cd09de8ab64edf80518a31387aa2e8181ad2 100644 (file)
--- a/contrib/gosa.conf
+++ b/contrib/gosa.conf
<servtabs>
<tab class="servgeneric" name="Generic" />
<tab class="workstartup" name="Startup" />
- <tab class="serverService" name="Services" />
+ <tab class="ServerService" name="Services" />
{if $cv.enableFAI_management}
<tab class="faiSummaryTab" name="FAI summary" />
{else}
index df62afbedceb43b0d0f35622c126fb76e3b927ab..9e0fb015709a3be3ab0a19c023b07d5262b84eac 100644 (file)
/* Show dialog
*/
- if($this->dialog !== NULL && !is_int($this->dialog)){
+ if($this->dialog !== NULL && !is_int($this->dialog) && is_object($this->dialog)){
$this->dialog->save_object();
$this->dialog->parent = $this;
return($this->dialog->execute());
diff --git a/plugins/admin/systems/class_systemManagement.inc b/plugins/admin/systems/class_systemManagement.inc
index 5d0cb04aa875e34f2fcaac06afc74ac175a87bcf..ade28ad56ba421b74f2e129e9f09cb465c4b9782 100644 (file)
$display= $this->systab->execute();
/* Don't show buttons if tab dialog requests this */
- if ((isset($this->systab->by_object))&&(!$this->systab->by_object[$this->systab->current]->dialog)){
+
+ $dialog = FALSE;
+ if(isset($this->systab->by_object[$this->systab->current]->dialog)){
+ $dia = $this->systab->by_object[$this->systab->current]->dialog;
+ if($dia === TRUE || is_object($dia)){
+ $dialog = TRUE;
+ }
+ }
+
+ if (!$dialog){
$display.= "<p style=\"text-align:right\">\n";
$display.= "<input type=\"submit\" name=\"edit_finish\" style=\"width:80px\" value=\""._("Ok")."\">\n";
$display.= " \n";