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