mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-18 04:31:06 +01:00
Send admin or preferences as application, depending on current location
This commit is contained in:
parent
1bd609e940
commit
a717ab2b59
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user