From dc270e8bae0ed50d44488eef15fef0800354b450 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Mon, 11 Apr 2011 21:20:32 +0000 Subject: [PATCH] Change title of links for all apps from Import & Export to Import CSV & Export CSV in the correct place --- ...importexport_admin_prefs_sidebox_hooks.inc.php | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 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 08dc111d27..e63f3d8c19 100644 --- a/importexport/inc/class.importexport_admin_prefs_sidebox_hooks.inc.php +++ b/importexport/inc/class.importexport_admin_prefs_sidebox_hooks.inc.php @@ -109,7 +109,7 @@ class importexport_admin_prefs_sidebox_hooks ),false)."','_blank',500,220,'yes')", 'icon' => 'import', 'app' => 'importexport', - 'text' => 'import' + 'text' => 'Import CSV' ); } if($cache[$appname]['export']) @@ -121,9 +121,20 @@ class importexport_admin_prefs_sidebox_hooks ),false)."','_blank',850,440,'yes')", 'icon' => 'export', 'app' => 'importexport', - 'text' => 'export' + 'text' => 'Export CSV' ); } + /* + if($GLOBALS['egw_info']['user']['apps']['filemanager']) { + $file['Export Spreadsheet'] = array('link' => egw::link('/index.php',array( + 'menuaction' => 'filemanager.filemanager_ui.index', + ),false)."','_blank',850,440,'yes')", + //'icon' => 'filemanager/navbar', + 'app' => 'filemanager', + 'text' => 'Export Spreadsheet' + ); + } + */ $config = config::read('importexport'); if($appname != 'admin' && ($config['users_create_definitions'] || $GLOBALS['egw_info']['user']['apps']['admin']) && count(importexport_helper_functions::get_plugins($appname)) > 0