mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-24 23:59:39 +01:00
making sure the apps for ACL Management are sorted in Group-view
This commit is contained in:
parent
72cc297f8a
commit
5f6f384954
@ -1192,18 +1192,24 @@
|
||||
}
|
||||
reset($GLOBALS['egw_info']['apps']);
|
||||
$sorted_apps = $GLOBALS['egw_info']['apps'];
|
||||
@asort($sorted_apps);
|
||||
@reset($sorted_apps);
|
||||
while ($permission = each($sorted_apps))
|
||||
foreach ($sorted_apps as $key => $values) {
|
||||
$sortarray[$key] = strtolower($values['title']);
|
||||
}
|
||||
unset($key); unset($values);
|
||||
@asort($sortarray);
|
||||
@reset($sortarray);
|
||||
|
||||
foreach ($sortarray as $key => $value)
|
||||
{
|
||||
if ($permission[1]['enabled'] && $permission[1]['status'] != 3)
|
||||
if ($sorted_apps[$key]['enabled'] && $sorted_apps[$key]['status'] != 3)
|
||||
{
|
||||
$perm_display[] = Array(
|
||||
$permission[0],
|
||||
$permission[1]['title']
|
||||
$key,
|
||||
$sorted_apps[$key]['title']
|
||||
);
|
||||
}
|
||||
}
|
||||
unset($key); unset($value);
|
||||
|
||||
$perm_html = '<td width="35%">'.lang('Application').'</td><td width="15%">'.lang('enabled').' / '.lang('ACL').'</td>';
|
||||
$perm_html = '<tr class="th">'.
|
||||
|
Loading…
Reference in New Issue
Block a user