0byt3m1n1
Path:
/
data
/
applications
/
aps
/
tikiwiki
/
7.0-0
/
standard
/
htdocs
/
lib
/
prefs
/
[
Home
]
File: shipping.php
<?php // (c) Copyright 2002-2011 by authors of the Tiki Wiki CMS Groupware Project // // All Rights Reserved. See copyright.txt for details and a complete list of authors. // Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details. // $Id: shipping.php 33195 2011-03-02 17:43:40Z changi67 $ function prefs_shipping_list() { return array( 'shipping_service' => array( 'name' => tra('Shipping Service'), 'description' => tra('Expose a JSON shipping rate estimation service. Accounts from providers may be required (FedEx, UPS, ...).'), 'type' => 'flag', 'help' => 'Shipping', ), 'shipping_fedex_enable' => array( 'name' => tra('FedEx API'), 'description' => tra('Enable shipping rate calculation through FedEx APIs'), 'type' => 'flag', 'help' => 'Shipping', ), 'shipping_fedex_key' => array( 'name' => tra('FedEx Key'), 'description' => tra('Developer Key'), 'type' => 'text', 'size' => 16, 'filter' => 'alnum', ), 'shipping_fedex_password' => array( 'name' => tra('FedEx Password'), 'type' => 'text', 'size' => 25, 'filter' => 'rawhtml_unsafe', ), 'shipping_fedex_meter' => array( 'name' => tra('FedEx Meter Number'), 'type' => 'text', 'size' => 10, 'filter' => 'digits', ), 'shipping_fedex_account' => array( 'name' => tra('FedEx Account Number'), 'type' => 'text', 'size' => 10, 'filter' => 'digits', ), 'shipping_ups_enable' => array( 'name' => tra('UPS API'), 'description' => tra('Enable shipping rate calculation using the UPS carrier.'), 'type' => 'flag', 'help' => 'Shipping', ), 'shipping_ups_username' => array( 'name' => tra('UPS Username'), 'description' => tra('UPS credentials'), 'type' => 'text', 'size' => 15, ), 'shipping_ups_password' => array( 'name' => tra('UPS Password'), 'description' => tra('UPS credentials'), 'type' => 'text', 'size' => 25, ), 'shipping_ups_license' => array( 'name' => tra('UPS Access Key'), 'type' => 'text', 'size' => 25, ), ); }