mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 17:33:49 +01:00
"make cat selection identical to etemplate stock one"
This commit is contained in:
parent
c9e2127325
commit
97514cd296
@ -79,18 +79,10 @@ class bo_acl
|
||||
#_debug_array($cat)."hier<br>";
|
||||
if($this->is_permitted($cat['id'],$perm_type))
|
||||
{
|
||||
for ($j=0,$s=''; $j < $cat['level']; $j++)
|
||||
$s = str_repeat(' ',$cat['level']) . stripslashes($cat['name']);
|
||||
if ($cat['app_name'] == 'phpgw' || $cat['owner'] == '-1')
|
||||
{
|
||||
$s .= ' ';
|
||||
}
|
||||
$s .= $GLOBALS['egw']->strip_html($cat['name']);
|
||||
if ($cat['app_name'] == 'phpgw')
|
||||
{
|
||||
$s .= ' <' . lang('Global') . '>';
|
||||
}
|
||||
if ($cat['owner'] == '-1')
|
||||
{
|
||||
$s .= ' <' . lang('Global') . ' ' . lang($cat['app_name']) . '>';
|
||||
$s .= ' ♦';
|
||||
}
|
||||
$perm_cats[$cat['id']] = $s;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user