From d4e2026e8e26b52dfd544b7d54a9236ad30ff672 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 20 Apr 2010 12:33:10 +0000 Subject: [PATCH] Updated roles git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17737 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../rolemanagement/admin/roleManagement/class_roleGeneric.inc | 3 ++- gosa-plugins/rolemanagement/admin/roleManagement/role-list.xml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/gosa-plugins/rolemanagement/admin/roleManagement/class_roleGeneric.inc b/gosa-plugins/rolemanagement/admin/roleManagement/class_roleGeneric.inc index 9d04d137b..2947fddd4 100644 --- a/gosa-plugins/rolemanagement/admin/roleManagement/class_roleGeneric.inc +++ b/gosa-plugins/rolemanagement/admin/roleManagement/class_roleGeneric.inc @@ -211,10 +211,10 @@ class roleGeneric extends plugin { $this->memberList->setAcl($this->getacl("roleOccupant")); $data = $lData = array(); - $icon = image('plugins/generic/images/head.png'); foreach ($this->roleOccupant as $key => $dn){ $data[$key] = $dn; if(isset($this->roleOccCache[$dn])){ + $icon = image('plugins/users/images/select_user.png'); $entry = $this->roleOccCache[$dn]; $name = $entry['cn']['0']; if(isset($entry['description'][0])){ @@ -222,6 +222,7 @@ class roleGeneric extends plugin { } }else{ $name = _("Unknown")." ".$dn; + $icon = image('images/false.png'); } $lData[$key] = array('data' => array($icon,$name)); } diff --git a/gosa-plugins/rolemanagement/admin/roleManagement/role-list.xml b/gosa-plugins/rolemanagement/admin/roleManagement/role-list.xml index f2f073ed7..8221cd25b 100644 --- a/gosa-plugins/rolemanagement/admin/roleManagement/role-list.xml +++ b/gosa-plugins/rolemanagement/admin/roleManagement/role-list.xml @@ -134,7 +134,7 @@ remove entry images/lists/trash.png - roles/role[d] + roles/roleGeneric[d] -- 2.30.2