45 lines
1.1 KiB
PHP
45 lines
1.1 KiB
PHP
<?php
|
|
/**
|
|
* 2008-2015 PrestaShop
|
|
*
|
|
* NOTICE OF LICENSE
|
|
*
|
|
* Read in the module
|
|
*
|
|
* DISCLAIMER
|
|
*
|
|
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
|
* versions in the future. If you wish to customize PrestaShop for your
|
|
* needs please refer to http://www.prestashop.com for more information.
|
|
*
|
|
* @author Mediacom87 <support@mediacom87.net>
|
|
* @copyright 2008-2015 Mediacom87
|
|
* @license define in the module
|
|
* @version 1.4.0
|
|
*/
|
|
|
|
/**
|
|
* AdminGlsTrackingController class.
|
|
*
|
|
* @extends ModuleAdminController
|
|
*/
|
|
class AdminGlsTrackingController extends ModuleAdminController
|
|
{
|
|
public function __construct()
|
|
{
|
|
$this->bootstrap = true;
|
|
$this->display = 'view';
|
|
$this->meta_title = $this->l('GLS Update Tracking Number');
|
|
parent::__construct();
|
|
if (!$this->module->active) {
|
|
Tools::redirectAdmin($this->context->link->getAdminLink('AdminHome'));
|
|
}
|
|
}
|
|
public function renderView()
|
|
{
|
|
$module = new GlsTrackingNumber();
|
|
$output = parent::renderView();
|
|
return $output . $module->getContent('AdminGlsTracking', 'order');
|
|
}
|
|
}
|