mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
show nonav icon in admin tree too, if app has not navbar icon
This commit is contained in:
parent
b57d51138e
commit
a5b36d48e0
@ -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