summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7a89f96)
raw | patch | inline | side by side (parent: 7a89f96)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 26 Apr 2006 12:43:58 +0000 (12:43 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 26 Apr 2006 12:43:58 +0000 (12:43 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3122 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/groups/class_groupManagement.inc | patch | blob | history |
diff --git a/plugins/admin/groups/class_groupManagement.inc b/plugins/admin/groups/class_groupManagement.inc
index 38690d1d2894296b45f0692933b3394947303e0c..5ca9aeae480b62e241ba45e9d98419495fe3b834 100644 (file)
$editlink = "<a href='?plug=".$_GET['plug']."&id=%s&act=edit_entry'>%s</a>";
$userimg = "<img class='center' src='images/select_groups.png' alt='User' title='%s'>";
-
- /* Extension images
- group
- environment
- appgroup
- mailgroup
- acl
- reference
-
- */
+ /* Assign extension images */
$posiximg = "<input type='image' class='center' src='images/select_groups.png'
name='group_group_edit_%KEY%'
alt='P' title='"._("Posix") ."'>";
foreach($this->grouplist as $key => $val){
+ $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("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;
}
$title = "title='dn: ".@LDAP::fix($val['dn'])."'";
/* Depending on $CreatePosixsList we have to create different lists */
if ($groupfilter['subsearch'] == "checked"){
- $res= get_list($filter, $this->ui->subtreeACL, $base, array("cn", "description", "gidNumber"),
+ $res= get_list($filter, $this->ui->subtreeACL, $base, array("cn", "description", "gidNumber", "objectClass"),
GL_SIZELIMIT);
} else {
$base= get_groups_ou().$base;
- $res= get_list($filter, $this->ui->subtreeACL, $base, array("cn", "description", "gidNumber"),
+ $res= get_list($filter, $this->ui->subtreeACL, $base, array("cn", "description", "gidNumber", "objectClass"),
GL_SIZELIMIT);
}
if (preg_match("/size limit/i", $error) || preg_match("/size limit/i", $error2)){