//remove mobile theme

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15138 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
vAugagneur
2012-05-09 20:57:15 +00:00
parent 0a0f47efbb
commit 4f3e19ed5f
27 changed files with 34 additions and 537 deletions
-13
View File
@@ -23,18 +23,6 @@
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* 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">
<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="search" id="search_query_top" name="search_query" placeholder="{l s='Search'}" value="{if isset($smarty.get.search_query)}{$smarty.get.search_query|htmlentities:$ENT_QUOTES:'utf-8'|stripslashes}{/if}" />
</form>
</div>
{else}
<!-- Block search module TOP -->
<div id="search_block_top">
@@ -49,7 +37,6 @@
</p>
</form>
</div>
{/if}
{if $instantsearch}
<script type="text/javascript">
// <![CDATA[
-13
View File
@@ -50,19 +50,6 @@ class BlockSearch extends Module
return false;
return true;
}
public function hookDisplayMobileTop($params)
{
$this->smarty->assign('hook_mobile', true);
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)
{