admin was using non-pixelegg icon for applications and use of phpgwapi/nonav icon

This commit is contained in:
Ralf Becker 2016-05-06 07:59:43 +00:00
parent 46250c7704
commit 2a5c28fce1
2 changed files with 2 additions and 2 deletions

View File

@ -400,8 +400,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' ? Api\Image::find('phpgwapi', 'home') : $icon = Etemplate\Widget\Tree::imagePath($part == 'apps' ? Api\Image::find('api', 'home') :
(($i=Api\Image::find($part, 'navbar')) ? $i : Api\Image::find('phpgwapi', 'nonav'))); (($i=Api\Image::find($part, 'navbar')) ? $i : Api\Image::find('api', '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),

View File

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB