remove developer_tools run-rights check

This commit is contained in:
Ralf Becker 2016-05-11 12:48:22 +00:00
parent e66fcd2328
commit bae819f59d

View File

@ -13,18 +13,13 @@ $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'),
'_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); display_sidebox($appname,$menu_title,$file);
} }
$menu_title = lang('Documentation'); $menu_title = lang('Documentation');
$docs = $GLOBALS['egw_info']['server']['webserver_url'].'/etemplate/doc/'; $docs = $GLOBALS['egw_info']['server']['webserver_url'].'/etemplate/doc/';
$doc_file = Array( $doc_file = Array(