forked from extern/egroupware
loading actual groups now via callback
This commit is contained in:
parent
98f13d3e55
commit
9afb974d44
@ -142,14 +142,19 @@ class admin_ui
|
|||||||
}
|
}
|
||||||
elseif ($root == '/groups')
|
elseif ($root == '/groups')
|
||||||
{
|
{
|
||||||
$tree['item'][] = array(
|
foreach($GLOBALS['egw']->accounts->search(array(
|
||||||
'text' => 'Admins',
|
'type' => 'groups',
|
||||||
'id' => '/groups/Admins',
|
)) as $group)
|
||||||
);
|
{
|
||||||
$tree['item'][] = array(
|
$tree['item'][] = self::fix_userdata(array(
|
||||||
'text' => 'Default',
|
'text' => $group['account_lid'],
|
||||||
'id' => '/groups/Default',
|
'id' => $root.'/'.$group['account_id'],
|
||||||
);
|
'link' => egw::link('/index.php', array(
|
||||||
|
'menuaction' => 'admin.uiaccounts.edit_group',
|
||||||
|
'account_id' => $group['account_id'],
|
||||||
|
)),
|
||||||
|
));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
self::strip_item_keys($tree['item']);
|
self::strip_item_keys($tree['item']);
|
||||||
//_debug_array($tree); exit;
|
//_debug_array($tree); exit;
|
||||||
|
Loading…
Reference in New Issue
Block a user