From 0e7d806c0ddda854e3f67e289b0c4cb98d055d12 Mon Sep 17 00:00:00 2001 From: cajus Date: Wed, 26 Apr 2006 12:47:08 +0000 Subject: [PATCH] Removed double coding git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3123 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/groups/class_groupManagement.inc | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/plugins/admin/groups/class_groupManagement.inc b/plugins/admin/groups/class_groupManagement.inc index 5ca9aeae4..4bcf7ed07 100644 --- a/plugins/admin/groups/class_groupManagement.inc +++ b/plugins/admin/groups/class_groupManagement.inc @@ -468,7 +468,6 @@ class groupManagement extends plugin // Space $empty = ""; - $divlist = new divlist("groupstab"); $divlist->SetHeader(array( array("string" => " ", "attach" => "style='text-align:center;width:20px;'"), @@ -508,12 +507,12 @@ class groupManagement extends plugin $posix=$mail=$samba=$appl=$phone=$enviro=$empty; if(isset($val['objectClass'])){ - if(in_array("posixGroup", $val['objectClass'])) $posix = $posiximg; else $posix = $empty; - if(in_array("gosaMailAccount", $val['objectClass'])) $mail = $mailimg; else $mail = $empty; - if(in_array("sambaGroupMapping", $val['objectClass'])) $samba = $sambaimg; else $samba = $empty; - if(in_array("gosaApplicationGroup", $val['objectClass'])) $appl = $applimg; else $appl = $empty; - if(in_array("goFonPickupGroup", $val['objectClass'])) $phone = $phoneimg; else $phone = $empty; - if(in_array("gotoEnvironment", $val['objectClass'])) $enviro= $envimg; else $enviro = $empty; + if(in_array("posixGroup", $val['objectClass'])) $posix = $posiximg; + if(in_array("gosaMailAccount", $val['objectClass'])) $mail = $mailimg; + if(in_array("sambaGroupMapping", $val['objectClass'])) $samba = $sambaimg; + if(in_array("gosaApplicationGroup", $val['objectClass'])) $appl = $applimg; + if(in_array("goFonPickupGroup", $val['objectClass'])) $phone = $phoneimg; + if(in_array("gotoEnvironment", $val['objectClass'])) $enviro= $envimg; } $title = "title='dn: ".@LDAP::fix($val['dn'])."'"; -- 2.30.2