mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-20 12:58:46 +01:00
remove developer_tools run-rights check
This commit is contained in:
parent
e66fcd2328
commit
bae819f59d
@ -13,14 +13,9 @@ $menu_title = $GLOBALS['egw_info']['apps'][$appname]['title'] . ' '. lang('Menu'
|
|||||||
$file = Array(
|
$file = Array(
|
||||||
'eTemplate Editor' => $GLOBALS['egw']->link('/index.php','menuaction=etemplate.editor.edit'),
|
'eTemplate Editor' => $GLOBALS['egw']->link('/index.php','menuaction=etemplate.editor.edit'),
|
||||||
'DB-Tools' => $GLOBALS['egw']->link('/index.php','menuaction=etemplate.db_tools.edit'),
|
'DB-Tools' => $GLOBALS['egw']->link('/index.php','menuaction=etemplate.db_tools.edit'),
|
||||||
);
|
|
||||||
if (@$GLOBALS['egw_info']['user']['apps']['developer_tools'])
|
|
||||||
{
|
|
||||||
$file += array(
|
|
||||||
'_NewLine_', // give a newline
|
'_NewLine_', // give a newline
|
||||||
'developer_tools' => $GLOBALS['egw']->link('/index.php','menuaction=etemplate.uilangfile.index'),
|
'developer_tools' => $GLOBALS['egw']->link('/index.php','menuaction=etemplate.uilangfile.index'),
|
||||||
);
|
);
|
||||||
}
|
|
||||||
if($GLOBALS['egw_info']['flags']['currentapp'] == 'etemplate')
|
if($GLOBALS['egw_info']['flags']['currentapp'] == 'etemplate')
|
||||||
{
|
{
|
||||||
display_sidebox($appname,$menu_title,$file);
|
display_sidebox($appname,$menu_title,$file);
|
||||||
|
Loading…
Reference in New Issue
Block a user