Changeset 20203 for extensions/pdf2tab
- Timestamp:
- Jan 17, 2013, 12:19:09 AM (11 years ago)
- Location:
- extensions/pdf2tab
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/pdf2tab/admin/admin_config.tpl
r19811 r20203 11 11 searchingText: '', 12 12 newText: '', 13 searchDelay: 0, 14 minChars: 1, 13 15 animateDropdown: false, 14 16 preventDuplicates: true, -
extensions/pdf2tab/install/config_default.inc.php
r19877 r20203 1 1 <?php 2 2 $config_default = array( 3 'extensions' => array('pdf', 'docx', 'doc', 'odt', 'xlsx', 'xls', 'ods', 'pptx', 'ppt', 'odp'), 3 'extensions' => array('pdf', 'docx', 'doc', 'odt', 'xlsx', 'xls', 'ods', 'pptx', 'ppt', 'odp'), //Array of handled extensions 4 4 ); 5 5 ?> -
extensions/pdf2tab/install/functions.inc.php
r19811 r20203 1 1 <?php 2 /** 3 * create the entry in the config table 4 * @param array default parameters 5 */ 2 6 function pdf2tab_install($config) { 3 7 $query = 'INSERT INTO '.CONFIG_TABLE.' (param,value,comment) VALUES ("pdf2tab" ,"'.pwg_db_real_escape_string(serialize($config)).'", "PDF2Tab plugin parameters");'; … … 5 9 } 6 10 11 /** 12 * update the config entry if new default parameters have been added since last version 13 */ 7 14 function pdf2tab_update_db() { 8 15 global $conf; … … 27 34 } 28 35 36 /** 37 * delete an entry from the config table 38 * @param string the param entry to delete 39 */ 29 40 function pdf2tab_delete_conf($where) { 30 41 $query = 'DELETE FROM ' . CONFIG_TABLE . ' WHERE (param="'.$where.'");';
Note: See TracChangeset
for help on using the changeset viewer.