From 084c08171f1df6ee6345e06216bd52878ea12754 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 20 Apr 2010 13:18:46 +0000 Subject: [PATCH] Added uid to the member listing git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17739 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../admin/roleManagement/class_roleGeneric.inc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/gosa-plugins/rolemanagement/admin/roleManagement/class_roleGeneric.inc b/gosa-plugins/rolemanagement/admin/roleManagement/class_roleGeneric.inc index 2947fddd4..5eeaa3150 100644 --- a/gosa-plugins/rolemanagement/admin/roleManagement/class_roleGeneric.inc +++ b/gosa-plugins/rolemanagement/admin/roleManagement/class_roleGeneric.inc @@ -94,8 +94,8 @@ class roleGeneric extends plugin { $this->memberList->setEditable(false); $this->memberList->setWidth("100%"); $this->memberList->setHeight("300px"); - $this->memberList->setHeader(array("~",_("Name"))); - $this->memberList->setColspecs(array('20px','*','20px')); + $this->memberList->setHeader(array("~",_("Name"),_("Uid"))); + $this->memberList->setColspecs(array('20px','*','*','20px')); $this->memberList->setDefaultSortColumn(1); } @@ -217,14 +217,16 @@ class roleGeneric extends plugin { $icon = image('plugins/users/images/select_user.png'); $entry = $this->roleOccCache[$dn]; $name = $entry['cn']['0']; + $uid = $entry['uid']['0']; if(isset($entry['description'][0])){ $name .= " [".$entry['description'][0]."]"; } }else{ $name = _("Unknown")." ".$dn; + $uid = " "; $icon = image('images/false.png'); } - $lData[$key] = array('data' => array($icon,$name)); + $lData[$key] = array('data' => array($icon, $name, $uid)); } $this->memberList->setListData($data,$lData); -- 2.30.2