For calendar & sitemgr, use labels 'Import' & 'Export' instead of 'Import CSV' & 'Export CSV'

This commit is contained in:
Nathan Gray 2011-06-08 14:55:25 +00:00
parent 095a36023e
commit 7ee8739394

View File

@ -114,7 +114,7 @@ class importexport_admin_prefs_sidebox_hooks
),false)."','_blank',500,220,'yes')", ),false)."','_blank',500,220,'yes')",
'icon' => 'import', 'icon' => 'import',
'app' => 'importexport', 'app' => 'importexport',
'text' => 'Import CSV' 'text' => in_array($appname, array('calendar', 'sitemgr')) ? 'Import' : 'Import CSV'
); );
} }
$config = config::read('phpgwapi'); $config = config::read('phpgwapi');
@ -127,7 +127,7 @@ class importexport_admin_prefs_sidebox_hooks
),false)."','_blank',850,440,'yes')", ),false)."','_blank',850,440,'yes')",
'icon' => 'export', 'icon' => 'export',
'app' => 'importexport', 'app' => 'importexport',
'text' => 'Export CSV' 'text' => in_array($appname, array('calendar', 'sitemgr')) ? 'Export' : 'Export CSV'
); );
} }
if($list = self::get_spreadsheet_list($appname)) if($list = self::get_spreadsheet_list($appname))