From: hickert Date: Fri, 28 Apr 2006 10:28:52 +0000 (+0000) Subject: Hide tabs buttons if there is a subdialog open X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0144a6d2fa6aa4363474a4939c0bc5a7869f0c1c;p=gosa.git Hide tabs buttons if there is a subdialog open git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3165 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/departments/class_departmentGeneric.inc b/plugins/admin/departments/class_departmentGeneric.inc index 60d4bc379..bf6b7e821 100644 --- a/plugins/admin/departments/class_departmentGeneric.inc +++ b/plugins/admin/departments/class_departmentGeneric.inc @@ -87,7 +87,6 @@ class department extends plugin $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 0969bbf50..eb5788976 100644 --- a/plugins/admin/departments/class_departmentManagement.inc +++ b/plugins/admin/departments/class_departmentManagement.inc @@ -367,13 +367,13 @@ class departmentManagement extends plugin /* Show main page (tabs) */ $display= $this->deptabs->execute(); - - $display.= "

\n"; - $display.= "\n"; - $display.= " \n"; - $display.= "\n"; - $display.= "

"; - + if (!$this->deptabs->by_object[$this->deptabs->current]->dialog){ + $display.= "

\n"; + $display.= "\n"; + $display.= " \n"; + $display.= "\n"; + $display.= "

"; + } return ($display); }