From 4429b66e12f7f457cc9069a82a4f65b355d2c837 Mon Sep 17 00:00:00 2001 From: nPellicari Date: Tue, 28 Feb 2012 09:51:30 +0000 Subject: [PATCH] [*] MO : updated modules for mobile theme --- modules/blocknewsletter/blockmobilenewsletter.tpl | 10 +++++----- modules/blocksearch/blocksearch.php | 7 +++++++ 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/modules/blocknewsletter/blockmobilenewsletter.tpl b/modules/blocknewsletter/blockmobilenewsletter.tpl index 4921b0c59..6061b4f4f 100644 --- a/modules/blocknewsletter/blockmobilenewsletter.tpl +++ b/modules/blocknewsletter/blockmobilenewsletter.tpl @@ -24,13 +24,13 @@ * International Registered Trademark & Property of PrestaShop SA *} +
-

Newsletter

+

{l s="Newsletter" mod="blocknewletter"}

-
- - +
-
+ \ No newline at end of file diff --git a/modules/blocksearch/blocksearch.php b/modules/blocksearch/blocksearch.php index befe2d74d..7618e008d 100644 --- a/modules/blocksearch/blocksearch.php +++ b/modules/blocksearch/blocksearch.php @@ -57,6 +57,13 @@ class BlockSearch extends Module 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) { if (Configuration::get('PS_SEARCH_AJAX'))