mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-08 23:19:04 +01:00
making sure the apps for ACL Management are sorted in Group-view
This commit is contained in:
parent
95168d28bb
commit
cf5fe6a101
@ -1192,18 +1192,24 @@
|
|||||||
}
|
}
|
||||||
reset($GLOBALS['egw_info']['apps']);
|
reset($GLOBALS['egw_info']['apps']);
|
||||||
$sorted_apps = $GLOBALS['egw_info']['apps'];
|
$sorted_apps = $GLOBALS['egw_info']['apps'];
|
||||||
@asort($sorted_apps);
|
foreach ($sorted_apps as $key => $values) {
|
||||||
@reset($sorted_apps);
|
$sortarray[$key] = strtolower($values['title']);
|
||||||
while ($permission = each($sorted_apps))
|
}
|
||||||
|
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(
|
$perm_display[] = Array(
|
||||||
$permission[0],
|
$key,
|
||||||
$permission[1]['title']
|
$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 = '<td width="35%">'.lang('Application').'</td><td width="15%">'.lang('enabled').' / '.lang('ACL').'</td>';
|
||||||
$perm_html = '<tr class="th">'.
|
$perm_html = '<tr class="th">'.
|
||||||
|
Loading…
Reference in New Issue
Block a user