diff --git a/config/xml/themes/default.xml b/config/xml/themes/default.xml index 4424a500f..56a37e38e 100644 --- a/config/xml/themes/default.xml +++ b/config/xml/themes/default.xml @@ -70,7 +70,6 @@ - diff --git a/controllers/admin/AdminThemesController.php b/controllers/admin/AdminThemesController.php index 43088a9d4..14646d242 100644 --- a/controllers/admin/AdminThemesController.php +++ b/controllers/admin/AdminThemesController.php @@ -2099,7 +2099,6 @@ class AdminThemesControllerCore extends AdminController 'blocknewsletter', 'blockpaymentlogo', 'blockpermanentlinks', - 'blocksearch', 'blocksharefb', 'blocksocial', 'blockuserinfo', diff --git a/install/data/theme.sql b/install/data/theme.sql index b25510b7d..e5c4a854f 100644 --- a/install/data/theme.sql +++ b/install/data/theme.sql @@ -104,9 +104,6 @@ AND id_hook = @id_hook; /* displayTop */ SET @id_hook = (SELECT id_hook FROM `PREFIX_hook` WHERE name = 'displayTop'); -UPDATE `PREFIX_hook_module` SET position = 1 -WHERE id_module = (SELECT id_module FROM `PREFIX_module` WHERE name = 'blocksearch') -AND id_hook = @id_hook; UPDATE `PREFIX_hook_module` SET position = 3 WHERE id_module = (SELECT id_module FROM `PREFIX_module` WHERE name = 'blocktopmenu') diff --git a/modules/blocksearch/CHANGELOG.txt b/modules/blocksearch/CHANGELOG.txt deleted file mode 100644 index a7d3c47a7..000000000 --- a/modules/blocksearch/CHANGELOG.txt +++ /dev/null @@ -1,4 +0,0 @@ -2014-04-22 18:57:41 +0200 // Changelog updated -2014-03-24 11:43:29 +0100 / MO blocksearch : ps_versions_compliancy modified (1.5.6.1 => 1.6) -2014-03-24 11:03:45 +0100 / MO blocksearch : ps_versions_compliancy added -2014-03-20 14:25:08 +0100 Initial commit diff --git a/modules/blocksearch/blocksearch-instantsearch.tpl b/modules/blocksearch/blocksearch-instantsearch.tpl deleted file mode 100644 index 9c7baf5ce..000000000 --- a/modules/blocksearch/blocksearch-instantsearch.tpl +++ /dev/null @@ -1,109 +0,0 @@ -{if $ajaxsearch} - -{/if} - -{if $instantsearch} - -{/if} \ No newline at end of file diff --git a/modules/blocksearch/blocksearch-top.tpl b/modules/blocksearch/blocksearch-top.tpl deleted file mode 100644 index 1fa53cbc6..000000000 --- a/modules/blocksearch/blocksearch-top.tpl +++ /dev/null @@ -1,51 +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 -*} - -{if isset($hook_mobile)} - -{else} - -
- -
-{include file="$self/blocksearch-instantsearch.tpl"} -{/if} - diff --git a/modules/blocksearch/blocksearch.css b/modules/blocksearch/blocksearch.css deleted file mode 100644 index 0dbc9a7fc..000000000 --- a/modules/blocksearch/blocksearch.css +++ /dev/null @@ -1,40 +0,0 @@ -/* block top search */ -#search_block_top { - position:absolute; - right: 26%; - top: 34px; -} -#search_block_top p {padding:0;} -#search_block_top #search_query_top { - padding:0 5px; - height:23px; - width:300px;/* 310 */ - border:1px solid #666; - border-right: 0 !important; - color:#666; - background:url(img/bg_search_input.png) repeat-x 0 0 #fff; - float: left; -} - -#search_block_top .button { - border:none; - border-radius:0; - color:#fff; - text-transform:uppercase; - background:url(img/bg_search_submit.png) repeat-x 0 0 #101010; - float: left; - height: 25px; -} - -form#searchbox{padding-top:5px} -form#searchbox label{color:#333;margin-bottom:1px} -form#searchbox input#search_query_block{ - border: 1px solid #CCCCCC; - -webkit-border-radius:3px !important; - -moz-border-radius:3px !important; - border-radius:3px !important; - height: 18px; - margin-top:10px; -} -form#searchbox input#search_button{padding: 1px 4px;} - diff --git a/modules/blocksearch/blocksearch.js b/modules/blocksearch/blocksearch.js deleted file mode 100644 index e69de29bb..000000000 diff --git a/modules/blocksearch/blocksearch.php b/modules/blocksearch/blocksearch.php deleted file mode 100644 index ff03d14a7..000000000 --- a/modules/blocksearch/blocksearch.php +++ /dev/null @@ -1,145 +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 BlockSearch extends Module -{ - public function __construct() - { - $this->name = 'blocksearch'; - $this->tab = 'search_filter'; - $this->version = '1.7.1'; - $this->author = 'PrestaShop'; - $this->need_instance = 0; - - parent::__construct(); - - $this->displayName = $this->l('Quick search block'); - $this->description = $this->l('Adds a quick search field to your website.'); - $this->ps_versions_compliancy = array('min' => '1.6', 'max' => '1.6.99.99'); - } - - public function install() - { - if (!parent::install() || !$this->registerHook('top') || !$this->registerHook('header') || !$this->registerHook('displayMobileTopSiteMap') || !$this->registerHook('displaySearch')) - return false; - return true; - } - - public function hookdisplayMobileTopSiteMap($params) - { - $this->smarty->assign(array('hook_mobile' => true, 'instantsearch' => false)); - $params['hook_mobile'] = true; - return $this->hookTop($params); - } - - /* -public function hookDisplayMobileHeader($params) - { - if (Configuration::get('PS_SEARCH_AJAX')) - $this->context->controller->addJqueryPlugin('autocomplete'); - $this->context->controller->addCSS(_THEME_CSS_DIR_.'product_list.css'); - } -*/ - - public function hookHeader($params) - { - $this->context->controller->addCSS(($this->_path).'blocksearch.css', 'all'); - - if (Configuration::get('PS_SEARCH_AJAX')) - $this->context->controller->addJqueryPlugin('autocomplete'); - - if (Configuration::get('PS_INSTANT_SEARCH')) - $this->context->controller->addCSS(_THEME_CSS_DIR_.'product_list.css'); - - if (Configuration::get('PS_SEARCH_AJAX') || Configuration::get('PS_INSTANT_SEARCH')) - { - Media::addJsDef(array('search_url' => $this->context->link->getPageLink('search', Tools::usingSecureMode()))); - $this->context->controller->addJS(($this->_path).'blocksearch.js'); - } - } - - public function hookLeftColumn($params) - { - return $this->hookRightColumn($params); - } - - public function hookRightColumn($params) - { - if (Tools::getValue('search_query') || !$this->isCached('blocksearch.tpl', $this->getCacheId())) - { - $this->calculHookCommon($params); - $this->smarty->assign(array( - 'blocksearch_type' => 'block', - 'search_query' => (string)Tools::getValue('search_query') - ) - ); - } - Media::addJsDef(array('blocksearch_type' => 'block')); - return $this->display(__FILE__, 'blocksearch.tpl', Tools::getValue('search_query') ? null : $this->getCacheId()); - } - - public function hookTop($params) - { - $key = $this->getCacheId('blocksearch-top'.((!isset($params['hook_mobile']) || !$params['hook_mobile']) ? '' : '-hook_mobile')); - if (Tools::getValue('search_query') || !$this->isCached('blocksearch-top.tpl', $key)) - { - $this->calculHookCommon($params); - $this->smarty->assign(array( - 'blocksearch_type' => 'top', - 'search_query' => (string)Tools::getValue('search_query') - ) - ); - } - Media::addJsDef(array('blocksearch_type' => 'top')); - return $this->display(__FILE__, 'blocksearch-top.tpl', Tools::getValue('search_query') ? null : $key); - } - - public function hookDisplayNav($params) - { - return $this->hookTop($params); - } - - public function hookDisplaySearch($params) - { - return $this->hookRightColumn($params); - } - - private function calculHookCommon($params) - { - $this->smarty->assign(array( - 'ENT_QUOTES' => ENT_QUOTES, - 'search_ssl' => Tools::usingSecureMode(), - 'ajaxsearch' => Configuration::get('PS_SEARCH_AJAX'), - 'instantsearch' => Configuration::get('PS_INSTANT_SEARCH'), - 'self' => dirname(__FILE__), - )); - - return true; - } -} diff --git a/modules/blocksearch/blocksearch.tpl b/modules/blocksearch/blocksearch.tpl deleted file mode 100644 index 735babc98..000000000 --- a/modules/blocksearch/blocksearch.tpl +++ /dev/null @@ -1,41 +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 -*} - - -
-

{l s='Search' mod='blocksearch'}

- -
-{include file="$self/blocksearch-instantsearch.tpl"} - diff --git a/modules/blocksearch/img/bg_search_input.png b/modules/blocksearch/img/bg_search_input.png deleted file mode 100644 index 322ed3a4f..000000000 Binary files a/modules/blocksearch/img/bg_search_input.png and /dev/null differ diff --git a/modules/blocksearch/img/bg_search_submit.png b/modules/blocksearch/img/bg_search_submit.png deleted file mode 100644 index 286754828..000000000 Binary files a/modules/blocksearch/img/bg_search_submit.png and /dev/null differ diff --git a/modules/blocksearch/img/index.php b/modules/blocksearch/img/index.php deleted file mode 100644 index e5064df41..000000000 --- a/modules/blocksearch/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/blocksearch/index.php b/modules/blocksearch/index.php deleted file mode 100644 index e5064df41..000000000 --- a/modules/blocksearch/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/blocksearch/logo.gif b/modules/blocksearch/logo.gif deleted file mode 100644 index cf3d97f75..000000000 Binary files a/modules/blocksearch/logo.gif and /dev/null differ diff --git a/modules/blocksearch/logo.png b/modules/blocksearch/logo.png deleted file mode 100644 index 5b5453096..000000000 Binary files a/modules/blocksearch/logo.png and /dev/null differ diff --git a/modules/blocksearch/translations/index.php b/modules/blocksearch/translations/index.php deleted file mode 100644 index e5064df41..000000000 --- a/modules/blocksearch/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/blocksearch/upgrade/upgrade-1.7.0.php b/modules/blocksearch/upgrade/upgrade-1.7.0.php deleted file mode 100644 index 5b95ece92..000000000 --- a/modules/blocksearch/upgrade/upgrade-1.7.0.php +++ /dev/null @@ -1,33 +0,0 @@ - -* @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 -*/ - -if (!defined('_PS_VERSION_')) - exit; - -function upgrade_module_1_7_0($module) -{ - return $module->registerHook('displaySearch'); -} diff --git a/themes/hotel-reservation-theme/css/modules/blocksearch/blocksearch.css b/themes/hotel-reservation-theme/css/modules/blocksearch/blocksearch.css deleted file mode 100644 index ee371a3ac..000000000 --- a/themes/hotel-reservation-theme/css/modules/blocksearch/blocksearch.css +++ /dev/null @@ -1,66 +0,0 @@ -#search_block_top { - padding-top: 50px; } - #search_block_top #searchbox { - float: left; - width: 100%; } - #search_block_top .btn.button-search { - background: #333; - display: block; - position: absolute; - top: 0; - right: 0; - border: none; - color: #fff; - width: 50px; - text-align: center; - padding: 10px 0 11px 0; } - #search_block_top .btn.button-search span { - display: none; } - #search_block_top .btn.button-search:before { - content: "\f002"; - display: block; - font-family: "FontAwesome"; - font-size: 17px; - width: 100%; - text-align: center; } - #search_block_top .btn.button-search:hover { - color: #6f6f6f; } - #search_block_top #search_query_top { - display: inline; - padding: 13px 60px 13px 13px; - height: 45px; - background: #fbfbfb; - margin-right: 1px; } - -.ac_results { - background: #fff; - border: 1px solid #d6d4d4; - width: 271px; - margin-top: -1px; } - .ac_results li { - padding: 0 10px; - font-weight: normal; - color: #686666; - font-size: 13px; - line-height: 22px; } - .ac_results li.ac_odd { - background: #fff; } - .ac_results li:hover, .ac_results li.ac_over { - background: #fbfbfb; } - -form#searchbox { - position: relative; } - form#searchbox label { - color: #333; } - form#searchbox input#search_query_block { - margin-right: 10px; - max-width: 222px; - margin-bottom: 10px; - display: inline-block; - float: left; } - form#searchbox .button.button-small { - float: left; } - form#searchbox .button.button-small i { - margin-right: 0; } - -/*# sourceMappingURL=blocksearch.css.map */ diff --git a/themes/hotel-reservation-theme/css/modules/blocksearch/index.php b/themes/hotel-reservation-theme/css/modules/blocksearch/index.php deleted file mode 100644 index 9a99a8662..000000000 --- a/themes/hotel-reservation-theme/css/modules/blocksearch/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; diff --git a/themes/hotel-reservation-theme/js/modules/blocksearch/blocksearch.js b/themes/hotel-reservation-theme/js/modules/blocksearch/blocksearch.js deleted file mode 100644 index 331d4ea3b..000000000 --- a/themes/hotel-reservation-theme/js/modules/blocksearch/blocksearch.js +++ /dev/null @@ -1,124 +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 -*/ - -var instantSearchQueries = []; -$(document).ready(function() -{ - if (typeof blocksearch_type == 'undefined') - return; - - var $input = $("#search_query_" + blocksearch_type); - - var width_ac_results = $input.parent('form').outerWidth(); - if (typeof ajaxsearch != 'undefined' && ajaxsearch) { - $input.autocomplete( - search_url, - { - minChars: 3, - max: 10, - width: (width_ac_results > 0 ? width_ac_results : 500), - selectFirst: false, - scroll: false, - dataType: "json", - formatItem: function(data, i, max, value, term) { - return value; - }, - parse: function(data) { - var mytab = []; - for (var i = 0; i < data.length; i++) - mytab[mytab.length] = { data: data[i], value: data[i].cname + ' > ' + data[i].pname }; - return mytab; - }, - extraParams: { - ajaxSearch: 1, - id_lang: id_lang - } - } - ) - .result(function(event, data, formatted) { - $input.val(data.pname); - document.location.href = data.product_link; - }); - } - - if (typeof instantsearch != 'undefined' && instantsearch) { - $input.on('keyup', function(){ - if($(this).val().length > 4) - { - stopInstantSearchQueries(); - instantSearchQuery = $.ajax({ - url: search_url + '?rand=' + new Date().getTime(), - data: { - instantSearch: 1, - id_lang: id_lang, - q: $(this).val() - }, - dataType: 'html', - type: 'POST', - headers: { "cache-control": "no-cache" }, - async: true, - cache: false, - success: function(data){ - if ($input.val().length > 0) { - tryToCloseInstantSearch(); - $('#center_column').attr('id', 'old_center_column'); - $('#old_center_column').after('
' + data + '
').hide(); - // Button override - ajaxCart.overrideButtonsInThePage(); - $("#instant_search_results a.close").on('click', function() { - $input.val(''); - return tryToCloseInstantSearch(); - }); - return false; - } - else - tryToCloseInstantSearch(); - } - }); - instantSearchQueries.push(instantSearchQuery); - } - else - tryToCloseInstantSearch(); - }); - } -}); - -function tryToCloseInstantSearch() -{ - var $oldCenterColumn = $('#old_center_column'); - if ($oldCenterColumn.length > 0) - { - $('#center_column').remove(); - $oldCenterColumn.attr('id', 'center_column').show(); - return false; - } -} - -function stopInstantSearchQueries() -{ - for(var i=0; i -* @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; diff --git a/themes/hotel-reservation-theme/modules/blocksearch/blocksearch-top.tpl b/themes/hotel-reservation-theme/modules/blocksearch/blocksearch-top.tpl deleted file mode 100644 index 73a70ad5c..000000000 --- a/themes/hotel-reservation-theme/modules/blocksearch/blocksearch-top.tpl +++ /dev/null @@ -1,37 +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 -*} - -
- -
- \ No newline at end of file diff --git a/themes/hotel-reservation-theme/modules/blocksearch/blocksearch.tpl b/themes/hotel-reservation-theme/modules/blocksearch/blocksearch.tpl deleted file mode 100644 index f3ee8e03f..000000000 --- a/themes/hotel-reservation-theme/modules/blocksearch/blocksearch.tpl +++ /dev/null @@ -1,40 +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 -*} - - -
-

{l s='Search' mod='blocksearch'}

- -
- \ No newline at end of file diff --git a/themes/hotel-reservation-theme/modules/blocksearch/index.php b/themes/hotel-reservation-theme/modules/blocksearch/index.php deleted file mode 100644 index 9a99a8662..000000000 --- a/themes/hotel-reservation-theme/modules/blocksearch/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;