[eGroupWare-svn] r56122 - /trunk/etemplate/inc/hook_sidebox_menu.inc.php
[email protected] Wed, 11 May 2016 12:48:22 -0000
| Newsgroups | gmane.comp.web.egroupware.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: ralfbecker
Date: Wed May 11 14:48:22 2016
New Revision: 56122
URL: http://svn.stylite.de/viewvc/egroupware?rev=56122&view=rev
Log:
remove developer_tools run-rights check
Modified:
trunk/etemplate/inc/hook_sidebox_menu.inc.php
Modified: trunk/etemplate/inc/hook_sidebox_menu.inc.php
URL: http://svn.stylite.de/viewvc/egroupware/trunk/etemplate/inc/hook_sidebox_menu.inc.php?rev=56122&r1=56121&r2=56122&view=diff
==============================================================================
--- trunk/etemplate/inc/hook_sidebox_menu.inc.php (original)
+++ trunk/etemplate/inc/hook_sidebox_menu.inc.php Wed May 11 14:48:22 2016
@@ -13,18 +13,13 @@
$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(
------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j