diff --git a/config/xml/themes/default.xml b/config/xml/themes/default.xml index 7b8d93179..18673d21b 100644 --- a/config/xml/themes/default.xml +++ b/config/xml/themes/default.xml @@ -62,7 +62,6 @@ - diff --git a/controllers/admin/AdminReferrersController.php b/controllers/admin/AdminReferrersController.php index 8efbd2640..ee8da2c2b 100644 --- a/controllers/admin/AdminReferrersController.php +++ b/controllers/admin/AdminReferrersController.php @@ -230,17 +230,6 @@ class AdminReferrersControllerCore extends AdminController 'submit' => array('title' => $this->l('Save')), )); - if (Module::isInstalled('trackingfront')) { - $this->fields_form[0]['form']['desc'] = array( - $this->l('Affiliates can access their data with this name and password.'), - $this->l('Front access:').' '.$uri.'modules/trackingfront/stats.php' - ); - } else { - $this->fields_form[0]['form']['desc'] = array( - sprintf($this->l('Please install the "%s" module in order to give your affiliates access their own statistics.'), Module::getModuleName('trackingfront')) - ); - } - $this->fields_form[1] = array('form' => array( 'legend' => array( 'title' => $this->l('Commission plan'), diff --git a/controllers/admin/AdminThemesController.php b/controllers/admin/AdminThemesController.php index 8ed3ccd0b..1e8635424 100644 --- a/controllers/admin/AdminThemesController.php +++ b/controllers/admin/AdminThemesController.php @@ -2135,7 +2135,6 @@ class AdminThemesControllerCore extends AdminController 'statssales', 'statsvisits', 'themeconfigurator', - 'trackingfront', 'vatnumber', 'watermark' ); diff --git a/modules/trackingfront/CHANGELOG.txt b/modules/trackingfront/CHANGELOG.txt deleted file mode 100644 index 085e2473b..000000000 --- a/modules/trackingfront/CHANGELOG.txt +++ /dev/null @@ -1,14 +0,0 @@ ------------------------------- -# V1.8.3 to V1.8.4 ------------------------------- - -## Improved/Changed Features: - -* [CO] : Updated with latest PS version - 1.6.1.23. - - -2014-03-27 17:33:35 +0100 / MO : min ps_versions_compliancy modified -2014-03-25 11:55:41 +0100 Merge branch 'master' of https://github.com/PrestaShop/trackingfront -2014-03-24 16:08:37 +0100 // Typos. -2014-03-24 15:23:11 +0100 / MO trackingfront : ps_versions_compliancy added -2014-03-20 14:40:21 +0100 Initial commit diff --git a/modules/trackingfront/index.php b/modules/trackingfront/index.php deleted file mode 100644 index 531cab52a..000000000 --- a/modules/trackingfront/index.php +++ /dev/null @@ -1,36 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @version Release: $Revision$ -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -header('Expires: Mon, 26 Jul 1997 05:00:00 GMT'); -header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT'); - -header('Cache-Control: no-store, no-cache, must-revalidate'); -header('Cache-Control: post-check=0, pre-check=0', false); -header('Pragma: no-cache'); - -header('Location: ../'); -exit; \ No newline at end of file diff --git a/modules/trackingfront/js/index.php b/modules/trackingfront/js/index.php deleted file mode 100644 index c98ece472..000000000 --- a/modules/trackingfront/js/index.php +++ /dev/null @@ -1,36 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @version Release: $Revision$ -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -header('Expires: Mon, 26 Jul 1997 05:00:00 GMT'); -header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT'); - -header('Cache-Control: no-store, no-cache, must-revalidate'); -header('Cache-Control: post-check=0, pre-check=0', false); -header('Pragma: no-cache'); - -header('Location: ../'); -exit; \ No newline at end of file diff --git a/modules/trackingfront/js/trackingfront.js b/modules/trackingfront/js/trackingfront.js deleted file mode 100644 index 0113cdcf3..000000000 --- a/modules/trackingfront/js/trackingfront.js +++ /dev/null @@ -1,86 +0,0 @@ -/* - * 2007-2016 PrestaShop - * - * NOTICE OF LICENSE - * - * This source file is subject to the Open Software License (OSL 3.0) - * that is bundled with this package in the file LICENSE.txt. - * It is also available through the world-wide-web at this URL: - * http://opensource.org/licenses/osl-3.0.php - * If you did not receive a copy of the license and are unable to - * obtain it through the world-wide-web, please send an email - * to license@prestashop.com so we can send you a copy immediately. - * - * 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 PrestaShop SA - * @copyright 2007-2016 PrestaShop SA - * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) - * International Registered Trademark & Property of PrestaShop SA - */ - -$(function () { - - updateValues(); - - $("#datepickerFrom").datepicker({ - prevText: "", - nextText: "", - dateFormat: "yy-mm-dd"}); - - $("#datepickerTo").datepicker({ - prevText: "", - nextText: "", - dateFormat: "yy-mm-dd"}); - -}); - -function updateValues() { - $.getJSON("stats.php", {ajaxProductFilter: 1, id_referrer: referrer_id, token: token, id_product: 0}, - function (j) { - $.each(display_tab, function (index, value) { - if (value == 'reg_rate' || value == 'order_rate') - $("#" + value).html(parseFloat(j[0][value] * 100).toFixed(2) + ' %'); - else - $("#" + value).html(j[0][value]); - }); - } - ) -} - -function showProductLines() { - var irow = 0; - for (var i = 0; i < product_ids.length; ++i) - $.getJSON("stats.php", {ajaxProductFilter: 1, token: token, id_referrer: referrer_id, id_product: product_ids[i]}, - function (result) { - if (result) { - var newLine = newProductLine(referrer_id, result[0], (irow++ % 2 ? 204 : 238)); - $(newLine).hide().insertBefore($('#trid_dummy')).fadeIn(); - } - } - ); -} - -function newProductLine(id_referrer, result, color) { - return '' + - '' + - ' ' + result.id_product + '' + - ' ' + result.product_name + '' + - ' ' + result.uniqs + '' + - ' ' + result.visits + '' + - ' ' + result.pages + '' + - ' ' + result.registrations + '' + - ' ' + result.orders + '' + - ' ' + result.sales + '' + - ' ' + result.cart + '' + - ' ' + result.reg_rate + '' + - ' ' + result.order_rate + '' + - ' ' + result.click_fee + '' + - ' ' + result.base_fee + '' + - ' ' + result.percent_fee + '' + - ''; -} diff --git a/modules/trackingfront/logo.gif b/modules/trackingfront/logo.gif deleted file mode 100644 index 117f9626e..000000000 Binary files a/modules/trackingfront/logo.gif and /dev/null differ diff --git a/modules/trackingfront/logo.png b/modules/trackingfront/logo.png deleted file mode 100644 index 02f433c6a..000000000 Binary files a/modules/trackingfront/logo.png and /dev/null differ diff --git a/modules/trackingfront/stats.php b/modules/trackingfront/stats.php deleted file mode 100644 index 5f44b9cfb..000000000 --- a/modules/trackingfront/stats.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -include(dirname(__FILE__).'/../../config/config.inc.php'); -include(dirname(__FILE__).'/../../init.php'); -include(dirname(__FILE__).'/trackingfront.php'); - -$tf = new TrackingFront(); -if (!$tf->active) - Tools::redirect('index.php?controller=404'); -$tf->postProcess(); -echo $tf->isLogged() ? $tf->displayAccount() : $tf->displayLogin(); \ No newline at end of file diff --git a/modules/trackingfront/trackingfront.php b/modules/trackingfront/trackingfront.php deleted file mode 100644 index e6a17bfed..000000000 --- a/modules/trackingfront/trackingfront.php +++ /dev/null @@ -1,237 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -if (!defined('_PS_VERSION_')) - exit; - -class TrackingFront extends Module -{ - public function __construct() - { - $this->name = 'trackingfront'; - $this->tab = 'shipping_logistics'; - $this->version = '1.8.4'; - $this->author = 'PrestaShop'; - $this->need_instance = 0; - - parent::__construct(); - - $this->displayName = $this->l('Tracking - Front office'); - $this->ps_versions_compliancy = array('min' => '1.6', 'max' => '1.6.99.99'); - $this->description = $this->l('Enables your affiliates to access their own statistics. See Stats/Referrers.'); - } - - public function postProcess() - { - if (Tools::isSubmit('ajaxProductFilter')) - { - $fake_employee = new Employee(); - $fake_employee->id = 424242; - $fake_employee->stats_date_from = $this->context->cookie->stats_date_from; - $fake_employee->stats_date_to = $this->context->cookie->stats_date_to; - - if (empty($fake_employee->stats_date_from) || empty($fake_employee->stats_date_to) || $fake_employee->stats_date_from == '0000-00-00' || $fake_employee->stats_date_to == '0000-00-00') - { - if (empty($fake_employee->stats_date_from) || $fake_employee->stats_date_from == '0000-00-00') - $fake_employee->stats_date_from = date('Y').'-01-01'; - if (empty($fake_employee->stats_date_to) || $fake_employee->stats_date_to == '0000-00-00') - $fake_employee->stats_date_to = date('Y').'-12-31'; - } - - $result = Db::getInstance()->getRow(' - SELECT `id_referrer` - FROM `'._DB_PREFIX_.'referrer` - WHERE `id_referrer` = '.(int)Tools::getValue('id_referrer').' AND `passwd` = \''.pSQL(Tools::getValue('token')).'\''); - - if (isset($result['id_referrer']) && (int)$result['id_referrer'] > 0) - Referrer::getAjaxProduct((int)$result['id_referrer'], (int)Tools::getValue('id_product'), $fake_employee); - } - elseif (Tools::isSubmit('logout_tracking')) - { - unset($this->context->cookie->tracking_id); - unset($this->context->cookie->tracking_passwd); - Tools::redirect(Tools::getShopDomain(true, false).__PS_BASE_URI__.'modules/trackingfront/stats.php'); - } - elseif (Tools::isSubmit('submitLoginTracking')) - { - $errors = array(); - $login = trim(Tools::getValue('login')); - $passwd = trim(Tools::getValue('passwd')); - if (empty($login)) - $errors[] = $this->l('login is required'); - elseif (!Validate::isGenericName($login)) - $errors[] = $this->l('invalid login'); - elseif (empty($passwd)) - $errors[] = $this->l('password is required'); - elseif (!Validate::isPasswd($passwd, 1)) - $errors[] = $this->l('invalid password'); - else - { - $passwd = Tools::encrypt($passwd); - $result = Db::getInstance()->getRow(' - SELECT `id_referrer` - FROM `'._DB_PREFIX_.'referrer` - WHERE `name` = \''.pSQL($login).'\' AND `passwd` = \''.pSQL($passwd).'\''); - if (!isset($result['id_referrer']) || !($tracking_id = (int)$result['id_referrer'])) - $errors[] = $this->l('authentication failed'); - else - { - $this->context->cookie->tracking_id = $tracking_id; - $this->context->cookie->tracking_passwd = $passwd; - Tools::redirect(Tools::getShopDomain(true, false).__PS_BASE_URI__.'modules/trackingfront/stats.php'); - } - } - $this->smarty->assign('errors', $errors); - } - - $from = date('Y-m-d'); - $to = date('Y-m-d'); - - if (Tools::isSubmit('submitDatePicker')) - { - $from = Tools::getValue('datepickerFrom'); - $to = Tools::getValue('datepickerTo'); - } - if (Tools::isSubmit('submitDateDay')) - { - $from = date('Y-m-d'); - $to = date('Y-m-d'); - } - if (Tools::isSubmit('submitDateDayPrev')) - { - $yesterday = time() - 60 * 60 * 24; - $from = date('Y-m-d', $yesterday); - $to = date('Y-m-d', $yesterday); - } - if (Tools::isSubmit('submitDateMonth')) - { - $from = date('Y-m-01'); - $to = date('Y-m-t'); - } - if (Tools::isSubmit('submitDateMonthPrev')) - { - $m = (date('m') == 1 ? 12 : date('m') - 1); - $y = ($m == 12 ? date('Y') - 1 : date('Y')); - $from = $y.'-'.$m.'-01'; - $to = $y.'-'.$m.date('-t', mktime(12, 0, 0, $m, 15, $y)); - } - if (Tools::isSubmit('submitDateYear')) - { - $from = date('Y-01-01'); - $to = date('Y-12-31'); - } - if (Tools::isSubmit('submitDateYearPrev')) - { - $from = (date('Y') - 1).date('-01-01'); - $to = (date('Y') - 1).date('-12-31'); - } - $this->context->cookie->stats_date_from = $from; - $this->context->cookie->stats_date_to = $to; - } - - public function isLogged() - { - if (!$this->context->cookie->tracking_id || !$this->context->cookie->tracking_passwd) - return false; - $result = Db::getInstance()->getRow(' - SELECT `id_referrer` - FROM `'._DB_PREFIX_.'referrer` - WHERE `id_referrer` = '.(int)$this->context->cookie->tracking_id.' AND `passwd` = \''.pSQL($this->context->cookie->tracking_passwd).'\''); - - return isset($result['id_referrer']) ? $result['id_referrer'] : false; - } - - public function displayLogin() - { - return $this->display(__FILE__, 'login.tpl'); - } - - public function displayAccount() - { - if (!isset($this->context->cookie->stats_date_from)) - $this->context->cookie->stats_date_from = date('Y-m-01'); - if (!isset($this->context->cookie->stats_date_to)) - $this->context->cookie->stats_date_to = date('Y-m-t'); - Referrer::refreshCache(array(array('id_referrer' => (int)$this->context->cookie->tracking_id))); - - $referrer = new Referrer((int)$this->context->cookie->tracking_id); - $this->smarty->assign('referrer', $referrer); - $this->smarty->assign('datepickerFrom', $this->context->cookie->stats_date_from); - $this->smarty->assign('datepickerTo', $this->context->cookie->stats_date_to); - - $display_tab = array( - 'uniqs' => $this->l('Unique visitors'), - 'visitors' => $this->l('Visitors'), - 'visits' => $this->l('Visits'), - 'pages' => $this->l('Pages viewed'), - 'registrations' => $this->l('Registrations'), - 'orders' => $this->l('Orders'), - 'base_fee' => $this->l('Base fee'), - 'percent_fee' => $this->l('Percent fee'), - 'click_fee' => $this->l('Click fee'), - 'sales' => $this->l('Sales'), - 'cart' => $this->l('Average cart'), - 'reg_rate' => $this->l('Registration rate'), - 'order_rate' => $this->l('Order rate') - ); - $this->smarty->assign('displayTab', $display_tab); - - $products = Product::getSimpleProducts($this->context->language->id); - $products_array = array(); - foreach ($products as $product) - $products_array[] = $product['id_product']; - - $js_files = array(); - - $jquery_files = Media::getJqueryPath(); - if (is_array($jquery_files)) - $js_files = array_merge($js_files, $jquery_files); - else - $js_files[] = $jquery_files; - - $jquery_ui_files = Media::getJqueryUIPath('ui.datepicker', 'base', true); - - $js_files = array_merge($js_files, $jquery_ui_files['js']); - $css_files = $jquery_ui_files['css']; - - $js_files[] = $this->_path.'js/trackingfront.js'; - - $js_tpl_var = array( - 'product_ids' => implode(', ', $products_array), - 'referrer_id' => $referrer->id, - 'token' => $this->context->cookie->tracking_passwd, - 'display_tab' => implode('", "', array_keys($display_tab)) - ); - - $this->smarty->assign(array( - 'js' => $js_files, - 'css' => $css_files, - 'js_tpl_var' => $js_tpl_var - )); - - return $this->display(__FILE__, 'views/templates/front/account.tpl'); - } -} diff --git a/modules/trackingfront/translations/index.php b/modules/trackingfront/translations/index.php deleted file mode 100644 index e5064df41..000000000 --- a/modules/trackingfront/translations/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); -header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT"); - -header("Cache-Control: no-store, no-cache, must-revalidate"); -header("Cache-Control: post-check=0, pre-check=0", false); -header("Pragma: no-cache"); - -header("Location: ../"); -exit; \ No newline at end of file diff --git a/modules/trackingfront/views/index.php b/modules/trackingfront/views/index.php deleted file mode 100644 index 531cab52a..000000000 --- a/modules/trackingfront/views/index.php +++ /dev/null @@ -1,36 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @version Release: $Revision$ -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -header('Expires: Mon, 26 Jul 1997 05:00:00 GMT'); -header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT'); - -header('Cache-Control: no-store, no-cache, must-revalidate'); -header('Cache-Control: post-check=0, pre-check=0', false); -header('Pragma: no-cache'); - -header('Location: ../'); -exit; \ No newline at end of file diff --git a/modules/trackingfront/views/templates/front/account.tpl b/modules/trackingfront/views/templates/front/account.tpl deleted file mode 100644 index 81f042be2..000000000 --- a/modules/trackingfront/views/templates/front/account.tpl +++ /dev/null @@ -1,88 +0,0 @@ -{* -* 2007-2016 PrestaShop -* -* NOTICE OF LICENSE -* -* This source file is subject to the Academic Free License (AFL 3.0) -* that is bundled with this package in the file LICENSE.txt. -* It is also available through the world-wide-web at this URL: -* http://opensource.org/licenses/afl-3.0.php -* If you did not receive a copy of the license and are unable to -* obtain it through the world-wide-web, please send an email -* to license@prestashop.com so we can send you a copy immediately. -* -* 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 PrestaShop SA -* @copyright 2007-2016 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*} - -{include 'views/templates/front/header.tpl'} - -
-
{l s='Affiliation space' mod='trackingfront'}
- -
-
-
-
- - - - -

{l s='From:' mod='trackingfront'}

- -

{l s='To:' mod='trackingfront'}

- -
- -
-
-
- {$referrer->name} - {foreach from=$displayTab key=data item=label} -
{$label} -
- {/foreach} -
-
-
- - - - - - - - - - - - - - - - - - - - -
{l s='ID' mod='trackingfront'}{l s='Name' mod='trackingfront'}{l s='Visitors' mod='trackingfront'}{l s='Visits' mod='trackingfront'}{l s='Pages' mod='trackingfront'}{l s='Reg.' mod='trackingfront'}{l s='Ord.' mod='trackingfront'}{l s='Sales' mod='trackingfront'}{l s='Cart' mod='trackingfront'}{l s='Reg. rate' mod='trackingfront'}{l s='Ord. rate' mod='trackingfront'}{l s='Click' mod='trackingfront'}{l s='ยค' mod='trackingfront'}{l s='%' mod='trackingfront'}
-
- -{include 'views/templates/front/footer.tpl'} diff --git a/modules/trackingfront/views/templates/front/footer.tpl b/modules/trackingfront/views/templates/front/footer.tpl deleted file mode 100644 index eac8dd6fa..000000000 --- a/modules/trackingfront/views/templates/front/footer.tpl +++ /dev/null @@ -1,26 +0,0 @@ -{* -* 2007-2016 PrestaShop -* -* NOTICE OF LICENSE -* -* This source file is subject to the Academic Free License (AFL 3.0) -* that is bundled with this package in the file LICENSE.txt. -* It is also available through the world-wide-web at this URL: -* http://opensource.org/licenses/afl-3.0.php -* If you did not receive a copy of the license and are unable to -* obtain it through the world-wide-web, please send an email -* to license@prestashop.com so we can send you a copy immediately. -* -* 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 PrestaShop SA -* @copyright 2007-2016 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*} - - \ No newline at end of file diff --git a/modules/trackingfront/views/templates/front/header.tpl b/modules/trackingfront/views/templates/front/header.tpl deleted file mode 100644 index 047ebc6ab..000000000 --- a/modules/trackingfront/views/templates/front/header.tpl +++ /dev/null @@ -1,46 +0,0 @@ -{* -* 2007-2016 PrestaShop -* -* NOTICE OF LICENSE -* -* This source file is subject to the Academic Free License (AFL 3.0) -* that is bundled with this package in the file LICENSE.txt. -* It is also available through the world-wide-web at this URL: -* http://opensource.org/licenses/afl-3.0.php -* If you did not receive a copy of the license and are unable to -* obtain it through the world-wide-web, please send an email -* to license@prestashop.com so we can send you a copy immediately. -* -* 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 PrestaShop SA -* @copyright 2007-2016 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*} - - - - - - PrestaShop™ - {l s='Affiliation' mod='trackingfront'} - - {foreach $js as $js_item} - - {/foreach} - {foreach $css as $key => $css_item} - - {/foreach} - - - diff --git a/modules/trackingfront/views/templates/front/index.php b/modules/trackingfront/views/templates/front/index.php deleted file mode 100644 index 531cab52a..000000000 --- a/modules/trackingfront/views/templates/front/index.php +++ /dev/null @@ -1,36 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @version Release: $Revision$ -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -header('Expires: Mon, 26 Jul 1997 05:00:00 GMT'); -header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT'); - -header('Cache-Control: no-store, no-cache, must-revalidate'); -header('Cache-Control: post-check=0, pre-check=0', false); -header('Pragma: no-cache'); - -header('Location: ../'); -exit; \ No newline at end of file diff --git a/modules/trackingfront/views/templates/front/login.tpl b/modules/trackingfront/views/templates/front/login.tpl deleted file mode 100644 index b0409e4a4..000000000 --- a/modules/trackingfront/views/templates/front/login.tpl +++ /dev/null @@ -1,55 +0,0 @@ -{* -* 2007-2016 PrestaShop -* -* NOTICE OF LICENSE -* -* This source file is subject to the Academic Free License (AFL 3.0) -* that is bundled with this package in the file LICENSE.txt. -* It is also available through the world-wide-web at this URL: -* http://opensource.org/licenses/afl-3.0.php -* If you did not receive a copy of the license and are unable to -* obtain it through the world-wide-web, please send an email -* to license@prestashop.com so we can send you a copy immediately. -* -* 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 PrestaShop SA -* @copyright 2007-2016 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*} - - - - - - PrestaShop™ - {l s='Affiliation' mod='trackingfront'} - - - {include file="$tpl_dir./errors.tpl"} -
-
-
{l s='Affiliation space' mod='trackingfront'}
-
-
-
- -
-
- -
-
-
-
-
-
- - - \ No newline at end of file diff --git a/modules/trackingfront/views/templates/index.php b/modules/trackingfront/views/templates/index.php deleted file mode 100644 index 531cab52a..000000000 --- a/modules/trackingfront/views/templates/index.php +++ /dev/null @@ -1,36 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @version Release: $Revision$ -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -header('Expires: Mon, 26 Jul 1997 05:00:00 GMT'); -header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT'); - -header('Cache-Control: no-store, no-cache, must-revalidate'); -header('Cache-Control: post-check=0, pre-check=0', false); -header('Pragma: no-cache'); - -header('Location: ../'); -exit; \ No newline at end of file