mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
fixed translationTools link if not enabled for user
This commit is contained in:
parent
1f40b7c8fa
commit
8ca325184d
@ -16,7 +16,12 @@
|
||||
$file = Array(
|
||||
'eTemplate Editor' => $GLOBALS['phpgw']->link('/index.php','menuaction=etemplate.editor.edit'),
|
||||
'DB-Tools' => $GLOBALS['phpgw']->link('/index.php','menuaction=etemplate.db_tools.edit'),
|
||||
'_NewLine_', // give a newline
|
||||
'developer_tools' => $GLOBALS['phpgw']->link('/index.php','menuaction=developer_tools.uilangfile.index'),
|
||||
);
|
||||
if (@$GLOBALS['phpgw_info']['user']['apps']['developer_tools'])
|
||||
{
|
||||
$file += array(
|
||||
'_NewLine_', // give a newline
|
||||
'developer_tools' => $GLOBALS['phpgw']->link('/index.php','menuaction=developer_tools.uilangfile.index'),
|
||||
);
|
||||
}
|
||||
display_sidebox($appname,$menu_title,$file);
|
||||
|
Loading…
Reference in New Issue
Block a user