All pastes #1470 Raw Edit

Cyberchen

public text v1 · immutable
#1470 ·published 2004-10-14 21:32 UTC
rendered paste body
return $this->_check;
    }

    function install() {
      tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Activer le module PostFinance', 'MODULE_PAYMENT_POSTFINANCE_STATUS', 'True', 'Voulez-vous accepter les paiement par postcard?', '6', '1', 'tep_cfg_select_option(array(\'True\', \'False\'), ', now())");
      tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Langue utilisée pour le masque de paiement', 'MODULE_PAYMENT_POSTFINANCE_LANGUAGE', '4108', 'Choisissez la langue désirée pour le masque de paiement, français (4108), anglais (2057), italien (2064), allemand (2055)', '6', '1', 'tep_cfg_select_option(array(\'4108\', \'2057\', \'2064\', \'2055\'), ', now())");
      tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('ID Shop (Transmis par la Poste', 'MODULE_PAYMENT_POSTFINANCE_MERCHANT_ID', '000000', 'Identification de votre shop', '6', '2', now())");
      tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Ordre de tri', 'MODULE_PAYMENT_POSTFINANCE_SORT_ORDER', '0', 'ordre de tri pour l\'affichage (Le plus petit nombre est montré en premier)', '6', '0', now())");
      tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Devise', 'MODULE_PAYMENT_POSTFINANCE_CURRENCY', 'CHF', 'Devise utilisée pour les transactions', '6', '0', now())");
      tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, use_function, date_added) values ('Etat de la commande', 'MODULE_PAYMENT_POSTFINANCE_ORDER_STATUS_ID', '0', 'Sélectionner l\'état de la commande que vous voulez par défault.', '6', '0', 'tep_cfg_pull_down_order_statuses(', 'tep_get_order_status_name', now())");
      tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) values ('Zone', 'MODULE_PAYMENT_POSTFINANCE_ZONE', '0', 'Si une zone est sélectionnée activer ce module uniquement pour cette zone.', '6', '2', 'tep_get_zone_class_title', 'tep_cfg_pull_down_zone_classes(', now())"); 
    }

    function remove() {