forked from extern/egroupware
shorten the category names, by not appending <Global [App]> anymore, instead we use a symbol (diamond) to indicate a non-user cat
This commit is contained in:
parent
e8701c7e08
commit
090dc5c1da
@ -230,13 +230,9 @@
|
||||
{
|
||||
$s = str_repeat(' ',$cat['level']) . $GLOBALS['egw']->strip_html($cat['name']);
|
||||
|
||||
if ($cat['app_name'] == 'phpgw')
|
||||
if ($cat['app_name'] == 'phpgw' || $cat['owner'] == '-1')
|
||||
{
|
||||
$s .= ' <' . lang('Global') . '>';
|
||||
}
|
||||
elseif ($cat['owner'] == '-1')
|
||||
{
|
||||
$s .= ' <' . lang('Global') . ' ' . lang($cat['app_name']) . '>';
|
||||
$s .= ' ♦';
|
||||
}
|
||||
if (!$tmpl->xslt)
|
||||
{
|
||||
|
@ -394,13 +394,9 @@
|
||||
}
|
||||
$s .= '>'.str_repeat(' ',$cat['level']);
|
||||
$s .= $GLOBALS['egw']->strip_html($cat['name']);
|
||||
if ($cat['app_name'] == 'phpgw')
|
||||
if ($cat['app_name'] == 'phpgw' || $cat['owner'] == '-1')
|
||||
{
|
||||
$s .= ' <' . lang('Global') . '>';
|
||||
}
|
||||
if ($cat['owner'] == '-1')
|
||||
{
|
||||
$s .= ' <' . lang('Global') . ' ' . lang($this->app_name) . '>';
|
||||
$s .= ' ♦';
|
||||
}
|
||||
$s .= '</option>' . "\n";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user