From a717ab2b59a931466e693e843d41b5689aa0a6f4 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Wed, 6 Jul 2011 14:13:09 +0000 Subject: [PATCH] Send admin or preferences as application, depending on current location --- .../class.importexport_admin_prefs_sidebox_hooks.inc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/importexport/inc/class.importexport_admin_prefs_sidebox_hooks.inc.php b/importexport/inc/class.importexport_admin_prefs_sidebox_hooks.inc.php index f459105cef..67d43a8874 100644 --- a/importexport/inc/class.importexport_admin_prefs_sidebox_hooks.inc.php +++ b/importexport/inc/class.importexport_admin_prefs_sidebox_hooks.inc.php @@ -53,7 +53,7 @@ class importexport_admin_prefs_sidebox_hooks { $file['Define imports|exports'] = egw::link('/index.php',array( 'menuaction' => 'importexport.importexport_definitions_ui.index', - )); + ),'preferences'); } if ($location == 'preferences') { @@ -72,7 +72,7 @@ class importexport_admin_prefs_sidebox_hooks 'Import definitions' => egw::link('/index.php','menuaction=importexport.importexport_definitions_ui.import_definition'), 'Define imports|exports' => egw::link('/index.php',array( 'menuaction' => 'importexport.importexport_definitions_ui.index', - )), + ),$location), 'Schedule' => egw::link('/index.php', array( 'menuaction' => 'importexport.importexport_schedule_ui.index' )), @@ -204,7 +204,7 @@ this.value = \'\'"'; { $file['Define imports|exports'] = egw::link('/index.php',array( 'menuaction' => 'importexport.importexport_definitions_ui.index', - ), 'importexport'); + ), 'preferences'); } if($file) display_sidebox($appname,lang('importexport'),$file); }