From c4ae18ff251fe425a49f063db7a4cb6e6ea82a3c Mon Sep 17 00:00:00 2001 From: Abhishek Kumar Date: Wed, 27 Apr 2022 11:21:58 +0530 Subject: [PATCH] Remove blocklink --- config/xml/themes/default.xml | 1 - controllers/admin/AdminThemesController.php | 1 - modules/blocklink/CHANGELOG.txt | 8 - modules/blocklink/add.png | Bin 533 -> 0 bytes modules/blocklink/blocklink.php | 558 ------------------ modules/blocklink/blocklink.tpl | 44 -- modules/blocklink/img/arrow_right_2.png | Bin 90 -> 0 bytes modules/blocklink/img/index.php | 35 -- modules/blocklink/index.php | 35 -- modules/blocklink/logo.gif | Bin 1067 -> 0 bytes modules/blocklink/logo.png | Bin 1039 -> 0 bytes modules/blocklink/prefs.gif | Bin 351 -> 0 bytes modules/blocklink/translations/index.php | 35 -- .../modules/blocklink/blocklink.tpl | 45 -- .../modules/blocklink/index.php | 35 -- 15 files changed, 797 deletions(-) delete mode 100644 modules/blocklink/CHANGELOG.txt delete mode 100644 modules/blocklink/add.png delete mode 100644 modules/blocklink/blocklink.php delete mode 100644 modules/blocklink/blocklink.tpl delete mode 100644 modules/blocklink/img/arrow_right_2.png delete mode 100644 modules/blocklink/img/index.php delete mode 100644 modules/blocklink/index.php delete mode 100644 modules/blocklink/logo.gif delete mode 100644 modules/blocklink/logo.png delete mode 100644 modules/blocklink/prefs.gif delete mode 100644 modules/blocklink/translations/index.php delete mode 100644 themes/hotel-reservation-theme/modules/blocklink/blocklink.tpl delete mode 100644 themes/hotel-reservation-theme/modules/blocklink/index.php diff --git a/config/xml/themes/default.xml b/config/xml/themes/default.xml index 5efb289ff..7a3a5f6cc 100644 --- a/config/xml/themes/default.xml +++ b/config/xml/themes/default.xml @@ -62,7 +62,6 @@ - diff --git a/controllers/admin/AdminThemesController.php b/controllers/admin/AdminThemesController.php index a606145e0..715f1c0a3 100644 --- a/controllers/admin/AdminThemesController.php +++ b/controllers/admin/AdminThemesController.php @@ -2089,7 +2089,6 @@ class AdminThemesControllerCore extends AdminController 'blockcurrencies', 'blocklanguages', 'blocklayered', - 'blocklink', 'blockmyaccount', 'blocknewsletter', 'blocksocial', diff --git a/modules/blocklink/CHANGELOG.txt b/modules/blocklink/CHANGELOG.txt deleted file mode 100644 index ab4c9da38..000000000 --- a/modules/blocklink/CHANGELOG.txt +++ /dev/null @@ -1,8 +0,0 @@ -2014-04-22 18:57:19 +0200 // Changelog updated -2014-04-16 16:18:13 +0200 // Code cleaning -2014-04-16 16:08:43 +0200 [-] BO : Bug #, Set category if multi-store active and employee has only one shop -2014-03-24 12:22:19 +0100 Merge branch 'master' of https://github.com/PrestaShop/blocklink -2014-03-24 11:43:28 +0100 / MO blocklink : ps_versions_compliancy modified (1.5.6.1 => 1.6) -2014-03-24 11:02:36 +0100 // MO blocklink/ : ps_versions_compliancy added -2014-03-21 18:36:19 +0100 [-] Add column names in SQL insert into -2014-03-20 14:22:49 +0100 Initial commit diff --git a/modules/blocklink/add.png b/modules/blocklink/add.png deleted file mode 100644 index 5260144e9884c4175e78c14d7ed199bda87757f5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 533 zcmV+w0_y#VP)F)Fp&AF%*gjvK$m=iORykq9t7Vpn_LXo!*s@+Kjd?9Detmd(Qb?-g^Q7g12!j6 z;%JsirLIUzp6?s1c)eaO8jZ3Vjiy5?l|JV4d6dg#6pKY^EE0(XY&IJl z4o9O8ZTet~jeX3lX<+cm-iPOya5F$C6t?jz_A3;MOQX^FWU*K{9xr;meuBr)?Bc|W zXKM<(r!gE|=MXwDLmy%=VCfFD^sUGJ!`$}CI=0Uupb8wC5ISTjfNLp0 -* @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 BlockLink extends Module -{ - /* @var boolean error */ - protected $error = false; - - public function __construct() - { - $this->name = 'blocklink'; - $this->tab = 'front_office_features'; - $this->version = '1.6.1'; - $this->author = 'PrestaShop'; - $this->need_instance = 0; - - $this->bootstrap = true; - parent::__construct(); - - $this->displayName = $this->l('Link block'); - $this->description = $this->l('Adds a block with additional links.'); - $this->confirmUninstall = $this->l('Are you sure you want to delete all your links?'); - $this->ps_versions_compliancy = array('min' => '1.6', 'max' => '1.6.99.99'); - } - - public function install() - { - if (!parent::install() || !$this->registerHook('header')) - return false; - - $success = Configuration::updateValue('PS_BLOCKLINK_TITLE', array('1' => 'Block link', '2' => 'Bloc lien')); - $success &= Db::getInstance()->execute(' - CREATE TABLE '._DB_PREFIX_.'blocklink ( - `id_blocklink` int(10) NOT NULL AUTO_INCREMENT, - `url` varchar(254) NOT NULL, - `new_window` TINYINT(1) NOT NULL, - PRIMARY KEY(`id_blocklink`)) - ENGINE='._MYSQL_ENGINE_.' default CHARSET=utf8'); - $success &= Db::getInstance()->execute(' - CREATE TABLE '._DB_PREFIX_.'blocklink_shop ( - `id_blocklink` int(10) NOT NULL AUTO_INCREMENT, - `id_shop` int(10) NOT NULL, - PRIMARY KEY(`id_blocklink`, `id_shop`)) - ENGINE='._MYSQL_ENGINE_.' default CHARSET=utf8'); - $success &= Db::getInstance()->execute(' - CREATE TABLE '._DB_PREFIX_.'blocklink_lang ( - `id_blocklink` int(10) NOT NULL, - `id_lang` int(10) NOT NULL, - `text` varchar(62) NOT NULL, - PRIMARY KEY(`id_blocklink`, `id_lang`)) - ENGINE='._MYSQL_ENGINE_.' default CHARSET=utf8'); - if (!$success) - { - parent::uninstall(); - - return false; - } - - // Hook the module either on the left or right column - $theme = new Theme(Context::getContext()->shop->id_theme); - if ((!$theme->default_left_column || !$this->registerHook('leftColumn')) - && (!$theme->default_right_column || !$this->registerHook('rightColumn')) - ) - { - // If there are no colums implemented by the template, throw an error and uninstall the module - $this->_errors[] = $this->l('This module needs to be hooked to a column, but your theme does not implement one'); - parent::uninstall(); - - return false; - } - - return true; - } - - public function uninstall() - { - if (!parent::uninstall() || - !Db::getInstance()->execute('DROP TABLE '._DB_PREFIX_.'blocklink') || - !Db::getInstance()->execute('DROP TABLE '._DB_PREFIX_.'blocklink_lang') || - !Db::getInstance()->execute('DROP TABLE '._DB_PREFIX_.'blocklink_shop') || - !Configuration::deleteByName('PS_BLOCKLINK_TITLE') || - !Configuration::deleteByName('PS_BLOCKLINK_URL') - ) - return false; - - return true; - } - - public function hookLeftColumn($params) - { - $links = $this->getLinks(); - - $this->smarty->assign(array( - 'blocklink_links' => $links, - 'title' => Configuration::get('PS_BLOCKLINK_TITLE', $this->context->language->id), - 'url' => Configuration::get('PS_BLOCKLINK_URL'), - 'lang' => 'text_'.$this->context->language->id - )); - if (!$links) - return false; - - return $this->display(__FILE__, 'blocklink.tpl'); - } - - public function hookRightColumn($params) - { - return $this->hookLeftColumn($params); - } - - public function hookHeader($params) - { - $this->context->controller->addCSS($this->_path.'blocklink.css', 'all'); - } - - /** - * @param $id - * - * @return bool|array - */ - public function getLinkById($id) - { - if ((int)$id > 0) - { - $sql = 'SELECT b.`id_blocklink`, b.`url`, b.`new_window` FROM `'._DB_PREFIX_.'blocklink` b WHERE b.id_blocklink='.(int)$id; - - if (!$results = Db::getInstance()->getRow($sql)) - return false; - - $link['id_blocklink'] = (int)$results['id_blocklink']; - $link['url'] = $results['url']; - $link['newWindow'] = $results['new_window']; - - $results = Db::getInstance()->executeS('SELECT `id_lang`, `text` FROM '._DB_PREFIX_.'blocklink_lang WHERE `id_blocklink`='.(int)$link['id_blocklink']); - - $results_lang = array(); - foreach ($results as $result) - $results_lang[(int)$result['id_lang']] = $result; - - foreach (Language::getLanguages(false) as $lang) - $link['text'][(int)$lang['id_lang']] = (isset($results_lang[(int)$lang['id_lang']])) ? $results_lang[(int)$lang['id_lang']]['text'] : false; - - return $link; - } - - return false; - } - - public function getLinks() - { - $result = array(); - // Get id and url - - $sql = 'SELECT b.`id_blocklink`, b.`url`, b.`new_window` - FROM `'._DB_PREFIX_.'blocklink` b'; - if (Shop::isFeatureActive() && Shop::getContext() != Shop::CONTEXT_ALL) - $sql .= ' JOIN `'._DB_PREFIX_.'blocklink_shop` bs ON b.`id_blocklink` = bs.`id_blocklink` AND bs.`id_shop` IN ('.implode(', ', Shop::getContextListShopID()).') '; - $sql .= (int)Configuration::get('PS_BLOCKLINK_ORDERWAY') == 1 ? ' ORDER BY `id_blocklink` DESC' : ''; - - if (!$links = Db::getInstance()->executeS($sql)) - return false; - - $i = 0; - foreach ($links as $link) - { - $result[$i]['id'] = $link['id_blocklink']; - $result[$i]['url'] = $link['url']; - $result[$i]['newWindow'] = $link['new_window']; - // Get multilingual text - - if (!$texts = Db::getInstance()->executeS(' - SELECT `id_lang`, `text` - FROM '._DB_PREFIX_.'blocklink_lang - WHERE `id_blocklink`='.(int)$link['id_blocklink'] - ) - ) - return false; - - foreach ($texts as $text) - $result[$i]['text_'.$text['id_lang']] = $text['text']; - - $i++; - } - - return $result; - } - - public function addLink() - { - if (!($languages = Language::getLanguages(true))) - return false; - $id_lang_default = (int)Configuration::get('PS_LANG_DEFAULT'); - - if ((int)Tools::getValue('id_blocklink') > 0) - { - $id_link = (int)Tools::getValue('id_blocklink'); - if (!Db::getInstance()->execute('UPDATE '._DB_PREFIX_.'blocklink SET `url` = \''.pSQL(Tools::getValue('url')).'\', `new_window` = '.pSQL((int)Tools::getValue('newWindow')).' WHERE `id_blocklink` = '.(int)$id_link)) - return false; - if (!Db::getInstance()->execute('DELETE FROM '._DB_PREFIX_.'blocklink_lang WHERE `id_blocklink` = '.(int)$id_link)) - return false; - - foreach ($languages as $language) - if (!empty($_POST['text_'.$language['id_lang']])) - { - if (!Db::getInstance()->execute('INSERT INTO '._DB_PREFIX_.'blocklink_lang (`id_blocklink`, `id_lang`, `text`) VALUES ('.(int)$id_link.', '.(int)($language['id_lang']).', \''.pSQL($_POST['text_'.$language['id_lang']]).'\')')) - return false; - } - else - if (!Db::getInstance()->execute('INSERT INTO '._DB_PREFIX_.'blocklink_lang VALUES ('.(int)$id_link.', '.$language['id_lang'].', \''.pSQL($_POST['text_'.$id_lang_default]).'\')')) - return false; - } - else - { - if (!Db::getInstance()->execute('INSERT INTO '._DB_PREFIX_.'blocklink (`id_blocklink`, `url`, `new_window`) - VALUES (NULL, \''.pSQL(Tools::getValue('url')).'\', '.((isset($_POST['newWindow']) && Tools::getValue('newWindow')) == 'on' ? 1 : 0).')') || - !$id_link = Db::getInstance()->Insert_ID() - ) - return false; - - foreach ($languages as $language) - if (!empty($_POST['text_'.$language['id_lang']])) - { - if (!Db::getInstance()->execute('INSERT INTO '._DB_PREFIX_.'blocklink_lang (`id_blocklink`, `id_lang`, `text`) - VALUES ('.(int)$id_link.', '.(int)$language['id_lang'].', \''.pSQL(Tools::getValue('text_'.$language['id_lang'])).'\')') - ) - return false; - } - else - if (!Db::getInstance()->execute('INSERT INTO '._DB_PREFIX_.'blocklink_lang (`id_blocklink`, `id_lang`, `text`) VALUES ('.(int)$id_link.', '.(int)($language['id_lang']).', \''.pSQL($_POST['text_'.$id_lang_default]).'\')')) - return false; - } - - Db::getInstance()->execute('DELETE FROM '._DB_PREFIX_.'blocklink_shop WHERE id_blocklink='.(int)$id_link); - - $shops = Shop::getShops(true, null, true); - if (!Shop::isFeatureActive() || (Shop::isFeatureActive() && count($shops) == 1)) - { - Db::getInstance()->insert('blocklink_shop', array( - 'id_blocklink' => (int)$id_link, - 'id_shop' => (int)Context::getContext()->shop->id, - )); - } - else - { - $assos_shop = Tools::getValue('checkBoxShopAsso_configuration'); - if (empty($assos_shop)) - return false; - foreach ($assos_shop as $id_shop => $row) - Db::getInstance()->insert('blocklink_shop', array( - 'id_blocklink' => (int)$id_link, - 'id_shop' => (int)$id_shop, - )); - } - - return true; - } - - public function deleteLink() - { - return (Db::getInstance()->execute('DELETE FROM '._DB_PREFIX_.'blocklink WHERE `id_blocklink` = '.(int)Tools::getValue('id')) && - Db::getInstance()->execute('DELETE FROM '._DB_PREFIX_.'blocklink_shop WHERE `id_blocklink` = '.(int)Tools::getValue('id')) && - Db::getInstance()->execute('DELETE FROM '._DB_PREFIX_.'blocklink_lang WHERE `id_blocklink` = '.(int)Tools::getValue('id'))); - } - - public function updateTitle() - { - $languages = Language::getLanguages(); - $result = array(); - foreach ($languages as $language) - $result[$language['id_lang']] = Tools::getValue('title_'.$language['id_lang']); - if (!Configuration::updateValue('PS_BLOCKLINK_TITLE', $result)) - return false; - - return Configuration::updateValue('PS_BLOCKLINK_URL', Tools::getValue('title_url')); - } - - public function getContent() - { - $this->_html = ''; - - // Add a link - if (Tools::isSubmit('submitLinkAdd') /* || Tools::isSubmit('updateblocklink')*/) - { - if (empty($_POST['text_'.Configuration::get('PS_LANG_DEFAULT')]) || empty($_POST['url'])) - $this->_html .= $this->displayError($this->l('You must fill in all fields.')); - elseif (!Validate::isUrl(str_replace('http://', '', $_POST['url']))) - $this->_html .= $this->displayError($this->l('Bad URL')); - else - if ($this->addLink()) - $this->_html .= $this->displayConfirmation($this->l('The link has been added.')); - else - $this->_html .= $this->displayError($this->l('An error occurred during link creation.')); - } - // Update the block title - elseif (Tools::isSubmit('submitTitle')) - { - - if (empty($_POST['title_'.Configuration::get('PS_LANG_DEFAULT')])) - $this->_html .= $this->displayError($this->l('"title" field cannot be empty.')); - elseif (!empty($_POST['title_url']) && !Validate::isUrl(str_replace('http://', '', $_POST['title_url']))) - $this->_html .= $this->displayError($this->l('The \'title\' field is invalid')); - elseif (!Validate::isGenericName($_POST['title_'.Configuration::get('PS_LANG_DEFAULT')])) - $this->_html .= $this->displayError($this->l('The \'title\' field is invalid')); - elseif (!$this->updateTitle()) - $this->_html .= $this->displayError($this->l('An error occurred during title updating.')); - else - $this->_html .= $this->displayConfirmation($this->l('The block title has been updated.')); - } - // Delete a link - elseif (Tools::isSubmit('deleteblocklink') && Tools::getValue('id')) - { - - if (!is_numeric(Tools::getValue('id')) || !$this->deleteLink()) - $this->_html .= $this->displayError($this->l('An error occurred during link deletion.')); - else - $this->_html .= $this->displayConfirmation($this->l('The link has been deleted.')); - } - - if (isset($_POST['submitOrderWay'])) - { - if (Configuration::updateValue('PS_BLOCKLINK_ORDERWAY', (int)(Tools::getValue('orderWay')))) - $this->_html .= $this->displayConfirmation($this->l('Sort order updated')); - else - $this->_html .= $this->displayError($this->l('An error occurred during sort order set-up.')); - } - - $this->_html .= $this->renderForm(); - $this->_html .= $this->renderList(); - - return $this->_html; - } - - public function renderList() - { - $fields_list = array( - 'id' => array( - 'title' => $this->l('Link ID'), - 'type' => 'text', - ), - 'text_'.$this->context->language->id => array( - 'title' => $this->l('Link text'), - 'type' => 'text', - ), - 'url' => array( - 'title' => $this->l('URL'), - 'type' => 'text', - ), - ); - - $helper = new HelperList(); - $helper->shopLinkType = ''; - $helper->simple_header = true; - $helper->identifier = 'id'; - $helper->actions = array('edit', 'delete'); - $helper->show_toolbar = false; - - $helper->title = $this->l('Link list'); - $helper->table = $this->name; - $helper->token = Tools::getAdminTokenLite('AdminModules'); - $helper->currentIndex = AdminController::$currentIndex.'&configure='.$this->name; - $links = $this->getLinks(); - if (is_array($links) && count($links)) - return $helper->generateList($links, $fields_list); - else - return false; - } - - public function renderForm() - { - $fields_form_1 = array( - 'form' => array( - 'legend' => array( - 'title' => $this->l('Add a new link'), - 'icon' => 'icon-plus-sign-alt' - ), - 'input' => array( - array( - 'type' => 'hidden', - 'name' => 'id_blocklink', - ), - array( - 'type' => 'text', - 'label' => $this->l('Link text'), - 'name' => 'text', - 'lang' => true, - ), - array( - 'type' => 'text', - 'label' => $this->l('URL'), - 'name' => 'url', - ), - array( - 'type' => 'switch', - 'label' => $this->l('Open in a new window'), - 'name' => 'newWindow', - 'is_bool' => true, - 'values' => array( - array( - 'id' => 'active_on', - 'value' => 1, - 'label' => $this->l('Enabled') - ), - array( - 'id' => 'active_off', - 'value' => 0, - 'label' => $this->l('Disabled') - ) - ), - ), - - ), - 'submit' => array( - 'title' => $this->l('Save'), - 'name' => 'submitLinkAdd', - ) - ), - ); - - if (Shop::isFeatureActive()) - { - $fields_form_1['form']['input'][] = array( - 'type' => 'shop', - 'label' => $this->l('Shop association'), - 'name' => 'checkBoxShopAsso', - ); - } - - $fields_form_2 = array( - 'form' => array( - 'legend' => array( - 'title' => $this->l('Block settings'), - 'icon' => 'icon-plus-sign-alt' - ), - 'input' => array( - array( - 'type' => 'text', - 'label' => $this->l('Block title'), - 'name' => 'title', - 'lang' => true, - ), - array( - 'type' => 'text', - 'label' => $this->l('URL for the block\'s title'), - 'name' => 'title_url', - ), - ), - 'submit' => array( - 'title' => $this->l('Save'), - 'name' => 'submitTitle', - ) - ), - ); - - $fields_form_3 = array( - 'form' => array( - 'legend' => array( - 'title' => $this->l('Link display settings'), - 'icon' => 'icon-cogs' - ), - 'input' => array( - array( - 'type' => 'select', - 'label' => $this->l('List order'), - 'name' => 'orderWay', - 'options' => array( - 'query' => array( - array( - 'id' => 0, - 'name' => $this->l('most recent links first') - ), - array( - 'id' => 1, - 'name' => $this->l('oldest links first') - ) - ), - 'id' => 'id', - 'name' => 'name', - ) - ), - ), - 'submit' => array( - 'title' => $this->l('Save'), - 'name' => 'submitOrderWay', - ) - ), - ); - - $helper = new HelperForm(); - $helper->show_toolbar = false; - $lang = new Language((int)Configuration::get('PS_LANG_DEFAULT')); - $helper->default_form_language = $lang->id; - $helper->allow_employee_form_lang = Configuration::get('PS_BO_ALLOW_EMPLOYEE_FORM_LANG') ? Configuration::get('PS_BO_ALLOW_EMPLOYEE_FORM_LANG') : 0; - $this->fields_form = array(); - - $helper->identifier = 'id_blocklink'; - $helper->submit_action = 'submit'; - $helper->currentIndex = $this->context->link->getAdminLink('AdminModules', false).'&configure='.$this->name.'&tab_module='.$this->tab.'&module_name='.$this->name; - $helper->token = Tools::getAdminTokenLite('AdminModules'); - - $helper->tpl_vars = array( - 'fields_value' => $this->getConfigFieldsValues(), - 'languages' => $this->context->controller->getLanguages(), - 'id_language' => $this->context->language->id - ); - - return $helper->generateForm(array($fields_form_1, $fields_form_2, $fields_form_3)); - } - - public function getConfigFieldsValues() - { - $fields_values = array( - 'id_blocklink' => Tools::getValue('id_blocklink'), - 'url' => Tools::getValue('url'), - 'newWindow' => Tools::getValue('newWindow'), - 'orderWay' => Tools::getValue('orderWay', Configuration::get('PS_BLOCKLINK_ORDERWAY')), - 'title_url' => Tools::getValue('title_url', Configuration::get('PS_BLOCKLINK_URL')), - ); - - - $languages = Language::getLanguages(false); - - foreach ($languages as $lang) - { - $fields_values['text'][$lang['id_lang']] = Tools::getValue('text_'.(int)$lang['id_lang']); - $fields_values['title'][$lang['id_lang']] = Tools::getValue('title', Configuration::get('PS_BLOCKLINK_TITLE', $lang['id_lang'])); - } - - if (Tools::getIsset('updateblocklink') && (int)Tools::getValue('id') > 0) - $fields_values = array_merge($fields_values, $this->getLinkById((int)Tools::getValue('id'))); - - return $fields_values; - } -} diff --git a/modules/blocklink/blocklink.tpl b/modules/blocklink/blocklink.tpl deleted file mode 100644 index 771e2b507..000000000 --- a/modules/blocklink/blocklink.tpl +++ /dev/null @@ -1,44 +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 -*} - - - - diff --git a/modules/blocklink/img/arrow_right_2.png b/modules/blocklink/img/arrow_right_2.png deleted file mode 100644 index 6b076ee2f5e75da5c803df37ffb226b2632f5ecc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 90 zcmeAS@N?(olHy`uVBq!ia0vp^EI`c80U}#-RHA{DqNj^vh(vg@!N33W8CfKI{yWb| nVC&#amH6*2+PJFm1rx)yAM&C;@m?Q*iWxjz{an^LB{Ts5aI6>z diff --git a/modules/blocklink/img/index.php b/modules/blocklink/img/index.php deleted file mode 100644 index e5064df41..000000000 --- a/modules/blocklink/img/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/blocklink/index.php b/modules/blocklink/index.php deleted file mode 100644 index e5064df41..000000000 --- a/modules/blocklink/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/blocklink/logo.gif b/modules/blocklink/logo.gif deleted file mode 100644 index 9ea90ffbe20507136279458ce62a4c69b59bf33a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1067 zcmd7R`CFO=0KoCrXa2zQ*)y9xWv!W8&x)SWp2xO4rk0A5N9L^DVe`NPOvMXwX-xse z3mITc#gijE&;|&2j8_Ea3%+t+;x#;`PaDm&_4GU)Kh(4TqVHeu`Q`gb3MMiN8wdmf ztpE`6-LZEX5mAj1NQys_eBuJ-B#IJrxh)`~?RYdjFq#_iaZ3!E`6`APoWg!Hp))qK z=iK#P@ z%NR(`5rh5z{@z>1((gXE}bOmauWV8Y-%RiivtWNss?_kx;ipxC2)=z{Kj!`a5MywZYXZ|P5tKV>$QfJCl{#@U6HZ|!$PEOgxqMz%0qQH}tmSrAmA;wirB<)> z<*$x3=)iirB3o=uixsY*O;8b_NhZJ#Z>`=GLAriwgQM^iVlKoVI~$I#TW z4fPC|#$0agv{0K?DcxFfkB-WQTYGg)Lr~iw)X#D?-LrT0IG9`qYry%#fRod=#c4Jw z$+j{2`fSJM!k|t*pq(FlsAl*E`}P-xwn4tWgKy~gaj8wT#27QO#+O-QBl{;ahv#V( ztab`*Y>B5!YU!4HxJqyDq-R9po}V@=6kZ;<%9lB$QqMf-oD=N!j~>bXHE zH9ownh3QKkhSg0suCdG;_nhkkt7|-mhHtZsZkfckMah;`;Bt*@xF@`uigifoT^aus zo;lE}x1pKGu9*XuZbM{va^L*3#PV2X*_*OHm70E0ntTtOKBeQC{L!I$^GLn41ugFy z3_cs|vs<6qZ2M;WzQuW9aUZ(Z4_qtH4c_OP-QP7&{xAdogUM}DO0qxEHU!x-$y&=1wlipnvdM6IG-!%?Hl(4+d0S<7Ip}+pMZgm zzjh|FVo%Dy(9A5TtbL^vN?aaBoxaE-@07)#EJzXuXFL31&ik)}i8t(NeyqG&fRXB; z9BX;$;v32m9*jPn!kzpxQ-JLfV(7Ne&ncQ_*(qJADY8KOGB*sXCUeo)xSmU;NRj;< zg)Kmn78g@8^S9|AsIJ9VX+pLBkw`=l=QrMGq47=OXM(Yz!njZ0jYA*;kIn+*7C%2A F`aiBp`-A`h diff --git a/modules/blocklink/logo.png b/modules/blocklink/logo.png deleted file mode 100644 index 3559064570f4b478cab02093f73059755f61867a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1039 zcmV+q1n~QbP)cCaut&82QGJ2+b&=3MGro4TWuw4AeSR2LOx zWH+S+U6tAqy3G!x)-<#Gr}zE$D^BOB{niifcJck}dA{#^-uHPH0wCmnmhVIQCsbc! z+-h?)elyz|P+M<>$z(>g{^A{43-^0-5eS4CjCC@P=N1NshS1;t8E@Xc$K$T2Xuj-% zR#(MpJ!PTTdQ8_g|lDDn#!G)4*np&G4jI}6SS-suBR z%g~G9e9Yl_a-~eCt42>xABZe+auq+MBCynIcMc2=4he!Y5_od*0rg~X+O4dzss=A! z_M*;ggIsYEn>KGbPHRz85Qwr+pZ9HDOW>qL`Ah@)1|78^c}(xA4x<-Te%`eXr*R50XGcX<7MK zciUBrj11GXvmrD41YGWRTyeF*V5%Pnzc?d!5CkI1G}5)cUJYDd#Ds%dR&Zl1!+6HcyBqMOnUw;HQmDgsknZJMR7rrNM$XF}P9 zO1&^-490qYR|}GWzpGKJiD6>AhnHn$W#>da zx>}F~VmLZ;dgTC_kg#i?m}D3{dtR;Iq002ov JPDHLkV1g*T;$i>* diff --git a/modules/blocklink/prefs.gif b/modules/blocklink/prefs.gif deleted file mode 100644 index 1a1f43562f26ba1c172ff8f19febdf520f899ea1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 351 zcmZ?wbhEHb6krfwxXQrL*4FmFMq&T{{r~s$EMLC-|LXkf*RQ{u8TWfZ;{WLZ|IaR) zJbCi-=gM(N{|`;yvSrK6nKSR+y?f@&neSVh-@SYHe@;+$clYYmt3NHv z`@cNv|NhDUkIeetpz(ih#Q$?^|1V4ZzqRTA`m+E3|1(eTa9MO|;p9n*iTiFIJ>sa4!o%<~C9#0xUXw~-V5Egc z-yVhsGrC=**aR6`%8L29xLDaG#Dcgwn3-icIQl2@^UKP!dUGjrF)J$x$V&%_FI+4j fzC4ImwqAf!F;YcQQDF1dZ7Q5{jMMfyGFSruy83zV diff --git a/modules/blocklink/translations/index.php b/modules/blocklink/translations/index.php deleted file mode 100644 index e5064df41..000000000 --- a/modules/blocklink/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/themes/hotel-reservation-theme/modules/blocklink/blocklink.tpl b/themes/hotel-reservation-theme/modules/blocklink/blocklink.tpl deleted file mode 100644 index 7edb647e3..000000000 --- a/themes/hotel-reservation-theme/modules/blocklink/blocklink.tpl +++ /dev/null @@ -1,45 +0,0 @@ -{* -* 2007-2017 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-2017 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*} - - - - diff --git a/themes/hotel-reservation-theme/modules/blocklink/index.php b/themes/hotel-reservation-theme/modules/blocklink/index.php deleted file mode 100644 index 9a99a8662..000000000 --- a/themes/hotel-reservation-theme/modules/blocklink/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2017 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;