2 /* vim: set expandtab sw=4 ts=4 sts=4: */
4 * Set of functions used to build CSV dumps of tables
6 * @package phpMyAdmin-Export-CSV
8 if (! defined('PHPMYADMIN')) {
15 if (isset($plugin_list)) {
16 $plugin_list['excel'] = array(
17 'text' => __('CSV for MS Excel'),
19 'mime_type' => 'text/comma-separated-values',
21 array('type' => 'begin_group', 'name' => 'general_opts'),
22 array('type' => 'text', 'name' => 'null', 'text' => __('Replace NULL with:')),
23 array('type' => 'bool', 'name' => 'removeCRLF', 'text' => __('Remove carriage return/line feed characters within columns')),
24 array('type' => 'bool', 'name' => 'columns', 'text' => __('Put columns names in the first row')),
30 'mac_excel2003' => 'Excel 2003 / Macintosh',
31 'mac_excel2008' => 'Excel 2008 / Macintosh'),
32 'text' => __('Excel edition:')),
33 array('type' => 'hidden', 'name' => 'structure_or_data'),
34 array('type' => 'end_group'),
36 'options_text' => __('Options'),
39 /* Everything rest is coded in csv plugin */
40 require './libraries/export/csv.php';