mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-03 03:49:33 +01:00
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']);
|
$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') . '>';
|
$s .= ' ♦';
|
||||||
}
|
|
||||||
elseif ($cat['owner'] == '-1')
|
|
||||||
{
|
|
||||||
$s .= ' <' . lang('Global') . ' ' . lang($cat['app_name']) . '>';
|
|
||||||
}
|
}
|
||||||
if (!$tmpl->xslt)
|
if (!$tmpl->xslt)
|
||||||
{
|
{
|
||||||
|
@ -394,13 +394,9 @@
|
|||||||
}
|
}
|
||||||
$s .= '>'.str_repeat(' ',$cat['level']);
|
$s .= '>'.str_repeat(' ',$cat['level']);
|
||||||
$s .= $GLOBALS['egw']->strip_html($cat['name']);
|
$s .= $GLOBALS['egw']->strip_html($cat['name']);
|
||||||
if ($cat['app_name'] == 'phpgw')
|
if ($cat['app_name'] == 'phpgw' || $cat['owner'] == '-1')
|
||||||
{
|
{
|
||||||
$s .= ' <' . lang('Global') . '>';
|
$s .= ' ♦';
|
||||||
}
|
|
||||||
if ($cat['owner'] == '-1')
|
|
||||||
{
|
|
||||||
$s .= ' <' . lang('Global') . ' ' . lang($this->app_name) . '>';
|
|
||||||
}
|
}
|
||||||
$s .= '</option>' . "\n";
|
$s .= '</option>' . "\n";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user