[*] MO : updated module blocksearch for mobile theme

This commit is contained in:
mBertholino
2012-02-27 15:25:24 +00:00
parent 45cd48afb4
commit a3323901bc
2 changed files with 24 additions and 1 deletions
+7 -1
View File
@@ -34,7 +34,7 @@ class BlockSearch extends Module
{
$this->name = 'blocksearch';
$this->tab = 'search_filter';
$this->version = 1.0;
$this->version = 1.1;
$this->author = 'PrestaShop';
$this->need_instance = 0;
@@ -51,6 +51,12 @@ class BlockSearch extends Module
return true;
}
public function hookMobileTop($params)
{
$this->smarty->assign('hook_mobile', true);
$this->hookTop($params);
}
public function hookHeader($params)
{
if (Configuration::get('PS_SEARCH_AJAX'))