From ce993b62fec294db9b5180ed4aea3a6180abcf48 Mon Sep 17 00:00:00 2001 From: nPellicari Date: Tue, 28 Feb 2012 08:54:14 +0000 Subject: [PATCH] [*] MO : updated modules for mobile theme git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13654 b9a71923-0436-4b27-9f14-aed3839534dd --- modules/blocklanguages/blocklanguages.php | 1 + modules/blocksearch/blocksearch-top.tpl | 2 +- modules/blocksearch/blocksearch.php | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/blocklanguages/blocklanguages.php b/modules/blocklanguages/blocklanguages.php index 14a0035fc..c700f65e7 100644 --- a/modules/blocklanguages/blocklanguages.php +++ b/modules/blocklanguages/blocklanguages.php @@ -87,6 +87,7 @@ class BlockLanguages extends Module if (count($default_rewrite)) $this->smarty->assign('lang_rewrite_urls', $default_rewrite); } + return true; } /** diff --git a/modules/blocksearch/blocksearch-top.tpl b/modules/blocksearch/blocksearch-top.tpl index b54163427..e3f77fdb5 100644 --- a/modules/blocksearch/blocksearch-top.tpl +++ b/modules/blocksearch/blocksearch-top.tpl @@ -31,7 +31,7 @@ - + {else} diff --git a/modules/blocksearch/blocksearch.php b/modules/blocksearch/blocksearch.php index 98223f319..befe2d74d 100644 --- a/modules/blocksearch/blocksearch.php +++ b/modules/blocksearch/blocksearch.php @@ -51,10 +51,10 @@ class BlockSearch extends Module return true; } - public function hookMobileTop($params) + public function hookDisplayMobileTop($params) { $this->smarty->assign('hook_mobile', true); - $this->hookTop($params); + return $this->hookTop($params); } public function hookHeader($params)