forked from extern/egroupware
show nonav icon in admin tree too, if app has not navbar icon
This commit is contained in:
parent
2744ec2d22
commit
9a7cbb062c
@ -396,7 +396,8 @@ class admin_ui
|
|||||||
$path .= ($path == '/' ? '' : '/').$part;
|
$path .= ($path == '/' ? '' : '/').$part;
|
||||||
if (!isset($parent[$path]))
|
if (!isset($parent[$path]))
|
||||||
{
|
{
|
||||||
$icon = etemplate_widget_tree::imagePath($part == 'apps' ? common::image('phpgwapi', 'home') : common::image($part, 'navbar'));
|
$icon = etemplate_widget_tree::imagePath($part == 'apps' ? common::image('phpgwapi', 'home') :
|
||||||
|
(($i=common::image($part, 'navbar')) ? $i : common::image('phpgwapi', 'nonav')));
|
||||||
$parent[$path] = array(
|
$parent[$path] = array(
|
||||||
'id' => $path,
|
'id' => $path,
|
||||||
'text' => $part == 'apps' ? lang('Applications') : lang($part),
|
'text' => $part == 'apps' ? lang('Applications') : lang($part),
|
||||||
|
Loading…
Reference in New Issue
Block a user