1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
<?php /* vim: set expandtab sw=4 ts=4 sts=4: */ /** * Set of functions used to build CSV dumps of tables * * @package phpMyAdmin-Export-CSV */ if (! defined('PHPMYADMIN')) { exit; }
/** * */ if (isset($plugin_list)) { $plugin_list['excel'] = array( 'text' => __('CSV for MS Excel'), 'extension' => 'csv', 'mime_type' => 'text/comma-separated-values', 'options' => array( array('type' => 'begin_group', 'name' => 'general_opts'), array('type' => 'text', 'name' => 'null', 'text' => __('Replace NULL with:')), array('type' => 'bool', 'name' => 'removeCRLF', 'text' => __('Remove carriage return/line feed characters within columns')), array('type' => 'bool', 'name' => 'columns', 'text' => __('Put columns names in the first row')), array( 'type' => 'select', 'name' => 'edition', 'values' => array( 'win' => 'Windows', 'mac_excel2003' => 'Excel 2003 / Macintosh', 'mac_excel2008' => 'Excel 2008 / Macintosh'), 'text' => __('Excel edition:')), array('type' => 'hidden', 'name' => 'structure_or_data'), array('type' => 'end_group'), ), 'options_text' => __('Options'), ); } else { /* Everything rest is coded in csv plugin */ require './libraries/export/csv.php'; } ?>
|