From 7ee8739394933d7d0b17e3ee32e4c0f540b0564c Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Wed, 8 Jun 2011 14:55:25 +0000 Subject: [PATCH] For calendar & sitemgr, use labels 'Import' & 'Export' instead of 'Import CSV' & 'Export CSV' --- .../inc/class.importexport_admin_prefs_sidebox_hooks.inc.php | 4 ++-- 1 file changed, 2 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 9bd24f94d2..bfb7429086 100644 --- a/importexport/inc/class.importexport_admin_prefs_sidebox_hooks.inc.php +++ b/importexport/inc/class.importexport_admin_prefs_sidebox_hooks.inc.php @@ -114,7 +114,7 @@ class importexport_admin_prefs_sidebox_hooks ),false)."','_blank',500,220,'yes')", 'icon' => 'import', 'app' => 'importexport', - 'text' => 'Import CSV' + 'text' => in_array($appname, array('calendar', 'sitemgr')) ? 'Import' : 'Import CSV' ); } $config = config::read('phpgwapi'); @@ -127,7 +127,7 @@ class importexport_admin_prefs_sidebox_hooks ),false)."','_blank',850,440,'yes')", 'icon' => 'export', 'app' => 'importexport', - 'text' => 'Export CSV' + 'text' => in_array($appname, array('calendar', 'sitemgr')) ? 'Export' : 'Export CSV' ); } if($list = self::get_spreadsheet_list($appname))