[*] MO : updated module blocksearch for mobile theme

This commit is contained in:
mBertholino committed 2012-02-27 15:25:24 +00:00
1 parent 45cd48afb4
commit a3323901bc
2 files changed
+24 -1

No files matched your search

+17
View File
@@ -24,6 +24,22 @@
* International Registered Trademark & Property of PrestaShop SA
*}
<!-- block seach mobile -->
{if isset($hook_mobile)}
<div class="input_search" data-role="fieldcontain">
<form method="get" action="{$link->getPageLink('search')}" id="searchbox">
<p>
<label for="search_query_top"><!-- image on background --></label>
<input type="hidden" name="controller" value="search" />
<input type="hidden" name="orderby" value="position" />
<input type="hidden" name="orderway" value="desc" />
<input type="search" name="password" id="search" value="rechercher"/>
<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 type="submit" name="submit_search" value="{l s='Search' mod='blocksearch'}" class="button" />
</p>
</form>
</div>
{else}
<!-- Block search module TOP -->
<div id="search_block_top">
@@ -38,6 +54,7 @@
</p>
</form>
</div>
{/if}
{if $instantsearch}
<script type="text/javascript">
// <![CDATA[