* @copyright 2007-2011 PrestaShop SA * @version Release: $Revision: 7046 $ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA */ require_once(dirname(__FILE__).'/classes/MondialRelayClass.php'); require_once(dirname(__FILE__).'/mondialrelay.php'); class AdminMondialRelay extends AdminTab { private $mondialrelay = NULL; public function __construct() { MondialRelay::initModuleAccess(); $this->table = 'mr_selected'; $this->className = 'MondialRelayClass'; parent::__construct(); } private function displayOrdersTable() { global $cookie; $mondialrelay = new MondialRelay(); $order_state = new OrderState((int)(Configuration::get('MONDIAL_RELAY_ORDER_STATE')), $cookie->id_lang); $mr_weight_coef = (int)(Configuration::get('MR_WEIGHT_COEF')); $html = ''; $html .= $this->l('To generate labels, you must register a correct address for your store on'). ' '. $this->l('The contact page').''; $html .= '
'.$this->l('All orders which have the state').' "'.$order_state->name.'"'; $html .= '. ' . $this->l('Change configuration') . '