[*] 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
This commit is contained in:
@@ -87,6 +87,7 @@ class BlockLanguages extends Module
|
||||
if (count($default_rewrite))
|
||||
$this->smarty->assign('lang_rewrite_urls', $default_rewrite);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
<input type="hidden" name="controller" value="search" />
|
||||
<input type="hidden" name="orderby" value="position" />
|
||||
<input type="hidden" name="orderway" value="desc" />
|
||||
<input class="search_query" type="text" id="search_query_top" name="search_query" value="{if isset($smarty.get.search_query)}{$smarty.get.search_query|htmlentities:$ENT_QUOTES:'utf-8'|stripslashes}{/if}" />
|
||||
<input class="search_query" type="search" id="search_query_top" name="search_query" value="{if isset($smarty.get.search_query)}{$smarty.get.search_query|htmlentities:$ENT_QUOTES:'utf-8'|stripslashes}{/if}" />
|
||||
</form>
|
||||
</div>
|
||||
{else}
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user