From 0144a6d2fa6aa4363474a4939c0bc5a7869f0c1c Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 28 Apr 2006 10:28:52 +0000 Subject: [PATCH] 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 --- .../admin/departments/class_departmentGeneric.inc | 1 - .../departments/class_departmentManagement.inc | 14 +++++++------- 2 files changed, 7 insertions(+), 8 deletions(-) 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); } -- 2.30.2