diff --git a/htdocs/sql/libraries/export/excel.php b/htdocs/sql/libraries/export/excel.php new file mode 100755 --- /dev/null +++ b/htdocs/sql/libraries/export/excel.php @@ -0,0 +1,32 @@ + 'strStrucExcelCSV', + 'extension' => 'csv', + 'mime_type' => 'text/comma-separated-values', + 'options' => array( + array('type' => 'text', 'name' => 'null', 'text' => 'strReplaceNULLBy'), + array('type' => 'bool', 'name' => 'columns', 'text' => 'strPutColNames'), + array('type' => 'select', 'name' => 'edition', 'values' => array('win' => 'Windows', 'mac' => 'Excel 2003 / Macintosh'), 'text' => 'strExcelEdition'), + array('type' => 'hidden', 'name' => 'data'), + ), + 'options_text' => 'strOptions', + ); +} else { + /* Everything rest is coded in csv plugin */ + require './libraries/export/csv.php'; +} +?>