Fix 'Application importexport not found' error in jdots by setting app to 'admin' in link

This commit is contained in:
Nathan Gray 2012-09-12 17:10:45 +00:00
parent a3cf69c97c
commit 07f50bb264

View File

@ -69,14 +69,14 @@ class importexport_admin_prefs_sidebox_hooks
if ($GLOBALS['egw_info']['user']['apps']['admin'] && $location != 'preferences') if ($GLOBALS['egw_info']['user']['apps']['admin'] && $location != 'preferences')
{ {
$file = Array( $file = Array(
'Site Configuration' => egw::link('/index.php','menuaction=importexport.importexport_definitions_ui.site_config'), 'Site Configuration' => egw::link('/index.php','menuaction=importexport.importexport_definitions_ui.site_config','admin'),
'Import definitions' => egw::link('/index.php','menuaction=importexport.importexport_definitions_ui.import_definition'), 'Import definitions' => egw::link('/index.php','menuaction=importexport.importexport_definitions_ui.import_definition','admin'),
'Define imports|exports' => egw::link('/index.php',array( 'Define imports|exports' => egw::link('/index.php',array(
'menuaction' => 'importexport.importexport_definitions_ui.index', 'menuaction' => 'importexport.importexport_definitions_ui.index',
),$location), ),'admin'),
'Schedule' => egw::link('/index.php', array( 'Schedule' => egw::link('/index.php', array(
'menuaction' => 'importexport.importexport_schedule_ui.index' 'menuaction' => 'importexport.importexport_schedule_ui.index'
)), ),'admin'),
); );
if ($location == 'admin') if ($location == 'admin')
{ {