mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-23 14:29:02 +01:00
Hide export link if admin disabled export site-wide
This commit is contained in:
parent
3808f6d5e0
commit
3ad9f4d932
@ -117,7 +117,8 @@ class importexport_admin_prefs_sidebox_hooks
|
|||||||
'text' => 'Import CSV'
|
'text' => 'Import CSV'
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
if($cache[$appname]['export'])
|
$config = config::read('phpgwapi');
|
||||||
|
if(($GLOBALS['egw_info']['user']['apps']['admin'] || $config['export_limit'] !== 'no') && $cache[$appname]['export'])
|
||||||
{
|
{
|
||||||
$file['Export CSV'] = array('link' => "javascript:egw_openWindowCentered2('".
|
$file['Export CSV'] = array('link' => "javascript:egw_openWindowCentered2('".
|
||||||
egw::link('/index.php',array(
|
egw::link('/index.php',array(
|
||||||
|
Loading…
Reference in New Issue
Block a user