From c1fead5d13251c9e965604472435989ef471111e Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 20 Apr 2010 13:26:12 +0000 Subject: [PATCH] Updated class tabs git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17742 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_tabs.inc | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/gosa-core/include/class_tabs.inc b/gosa-core/include/class_tabs.inc index c40a74362..a529f87a3 100644 --- a/gosa-core/include/class_tabs.inc +++ b/gosa-core/include/class_tabs.inc @@ -142,13 +142,21 @@ class tabs $display= $this->by_object[$this->current]->multiple_execute(); } $tabs= $this->gen_tabs(); - $display = - "\n {$tabs}". - "\n ". - "\n
". - "\n {$display}". - "\n
"; + if($this->is_modal_dialog()){ + $display = + "\n
". + "\n {$display}". + "\n
"; + }else{ + + $display = + "\n {$tabs}". + "\n ". + "\n
". + "\n {$display}". + "\n
"; + } return ($display); } -- 2.30.2