mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-03 11:59:16 +01:00
Add IDs to topmenu items
This commit is contained in:
parent
e4cf9ac9b3
commit
9bb37f5ca0
@ -963,6 +963,7 @@ abstract class egw_framework
|
|||||||
$apps['about']['name'] = 'about';
|
$apps['about']['name'] = 'about';
|
||||||
|
|
||||||
$apps['logout']['title'] = lang('Logout');
|
$apps['logout']['title'] = lang('Logout');
|
||||||
|
$apps['logout']['name'] = 'logout';
|
||||||
$apps['logout']['url'] = egw::link('/logout.php');
|
$apps['logout']['url'] = egw::link('/logout.php');
|
||||||
$apps['logout']['icon'] = common::image('phpgwapi',Array('logout','nonav'));
|
$apps['logout']['icon'] = common::image('phpgwapi',Array('logout','nonav'));
|
||||||
$apps['logout']['icon_hover'] = common::image_on('phpgwapi',Array('logout','nonav'),'-over');
|
$apps['logout']['icon_hover'] = common::image_on('phpgwapi',Array('logout','nonav'),'-over');
|
||||||
@ -1344,6 +1345,7 @@ abstract class egw_framework
|
|||||||
$apps = $GLOBALS['egw']->hooks->hook_implemented($types[$type]['hook']);
|
$apps = $GLOBALS['egw']->hooks->hook_implemented($types[$type]['hook']);
|
||||||
}
|
}
|
||||||
$this->_add_topmenu_item(array(
|
$this->_add_topmenu_item(array(
|
||||||
|
'id' => $type,
|
||||||
'name' => 'preferences',
|
'name' => 'preferences',
|
||||||
'title' => lang($types[$type]['title']),
|
'title' => lang($types[$type]['title']),
|
||||||
'url' => "javascript:egw_preferences('$type',".json_encode($apps).')',
|
'url' => "javascript:egw_preferences('$type',".json_encode($apps).')',
|
||||||
|
Loading…
Reference in New Issue
Block a user