Use plugins for extension and MIME type.

This commit is contained in:
Michal Čihař
2006-04-26 17:49:47 +00:00
parent 5c82bf4b29
commit 9199199219
11 changed files with 59 additions and 72 deletions

View File

@@ -10,11 +10,12 @@ if (isset($plugin_list)) {
$plugin_list['excel'] = array(
'text' => 'strStrucExcelCSV',
'extension' => 'xls',
'mime_type' => 'application/vnd.ms-excel',
'options' => array(
array('type' => 'text', 'name' => 'null', 'text' => 'strReplaceNULLBy'),
array('type' => 'bool', 'name' => 'columns', 'text' => 'strPutColNames'),
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'),
array('type' => 'hidden', 'name' => 'data'),
),
'options_text' => 'strExcelOptions',
);