Changeset 20203


Ignore:
Timestamp:
Jan 17, 2013, 12:19:09 AM (11 years ago)
Author:
julien1311
Message:

[pdf2tab] fix in admin

Location:
extensions/pdf2tab
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • extensions/pdf2tab/admin/admin_config.tpl

    r19811 r20203  
    1111      searchingText: '',
    1212      newText: '',
     13          searchDelay: 0,
     14          minChars: 1,
    1315      animateDropdown: false,
    1416      preventDuplicates: true,
  • extensions/pdf2tab/install/config_default.inc.php

    r19877 r20203  
    11<?php
    22$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
    44);
    55?>
  • extensions/pdf2tab/install/functions.inc.php

    r19811 r20203  
    11<?php
     2/**
     3 * create the entry in the config table
     4 * @param array default parameters
     5 */
    26function pdf2tab_install($config) {
    37        $query = 'INSERT INTO '.CONFIG_TABLE.' (param,value,comment) VALUES ("pdf2tab" ,"'.pwg_db_real_escape_string(serialize($config)).'", "PDF2Tab plugin parameters");';
     
    59}
    610
     11/**
     12 * update the config entry if new default parameters have been added since last version
     13 */
    714function pdf2tab_update_db() {
    815        global $conf;
     
    2734}
    2835
     36/**
     37 * delete an entry from the config table
     38 * @param string the param entry to delete
     39 */
    2940function pdf2tab_delete_conf($where) {
    3041        $query = 'DELETE FROM ' . CONFIG_TABLE . ' WHERE (param="'.$where.'");';
Note: See TracChangeset for help on using the changeset viewer.