From 740c76ba604e5f960981c9e59e7f066135f3ce63 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 2 Sep 2005 06:04:15 +0000 Subject: [PATCH] Added icon to grouplist that indicates gotoEnvironment git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1294 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/groups/class_groupManagement.inc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/plugins/admin/groups/class_groupManagement.inc b/plugins/admin/groups/class_groupManagement.inc index a086bb9c1..f5c96f2e7 100644 --- a/plugins/admin/groups/class_groupManagement.inc +++ b/plugins/admin/groups/class_groupManagement.inc @@ -373,7 +373,8 @@ class groupManagement extends plugin $mailimg = "M"; $sambaimg = "S"; $applimg = "A"; - $phoneimg = "Ph"; + $phoneimg = "Ph"; + $envimg = "E"; // Space $empty = ""; @@ -382,7 +383,7 @@ class groupManagement extends plugin $divlist->SetHeader(array( array("string" => " "), array("string" => _("Groupname")." / "._("Department")), - array("string" => _("Properties"), "attach" => "style='width:100px;'"), + array("string" => _("Properties"), "attach" => "style='width:116px;'"), array("string" => _("Actions") ,"attach" => "style='border:none'") )); @@ -421,6 +422,7 @@ class groupManagement extends plugin 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; }else{ $posix=$mail=$samba=$appl=$phone=$empty; } @@ -434,7 +436,7 @@ class groupManagement extends plugin } $field1 = array("string" => sprintf($userimg,$val['dn']),"attach"=>"style='width:20px;align:middle;'"); $field2 = array("string" => sprintf($editlink,$key,($val['cn']['0'].$desc)),"attach"=>$title); - $field3 = array("string" => $posix." ".$mail." ".$samba." ".$appl." ".$phone); + $field3 = array("string" => $posix." ".$enviro." ".$mail." ".$samba." ".$appl." ".$phone); $field4 = array("string" => preg_replace("/%KEY%/", $key, $actions),"attach"=>"style='text-align:right;border:none;width:32px;'"); $divlist->AddEntry(array($field1,$field2,$field3,$field4)); -- 2.30.2