Translation update done using Pootle.
[phpmyadmin-themes.git] / libraries / export / excel.php
blob08961eb13d87321b98099a2de68626336fc253f1
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * Set of functions used to build CSV dumps of tables
6 * @package phpMyAdmin-Export-CSV
7 */
8 if (! defined('PHPMYADMIN')) {
9 exit;
12 /**
15 if (isset($plugin_list)) {
16 $plugin_list['excel'] = array(
17 'text' => __('CSV for MS Excel'),
18 'extension' => 'csv',
19 'mime_type' => 'text/comma-separated-values',
20 'options' => array(
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')),
25 array(
26 'type' => 'select',
27 'name' => 'edition',
28 'values' => array(
29 'win' => 'Windows',
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'),
38 } else {
39 /* Everything rest is coded in csv plugin */
40 require './libraries/export/csv.php';