/
home
/
sharedstore
/
.trash
/
modules
/
czproductsearch
/
views
/
templates
/
hook
/
/home/sharedstore/.trash/modules/czproductsearch/views/templates/hook
mkdir
upload
Name
Size
Mode
Actions
czsearch.tpl
3548
0644
edit
dl
rm
czsearch_top.tpl
3574
0644
edit
dl
rm
index.php
1309
0644
edit
dl
rm
Edit:
/home/sharedstore/.trash/modules/czproductsearch/views/templates/hook/czsearch_top.tpl
(3574B)
{* * 2007-2018 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/afl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@prestashop.com so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA <contact@prestashop.com> * @copyright 2007-2018 PrestaShop SA * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} <div id="cz_search_block_top" class="block exclusive cz_search_block_top"> <form method="get" action="{$link->getPageLink('productsearch', true)|escape:'html':'UTF-8'}" id="czsearchtopbox"> <input type="hidden" name="fc" value="module" /> <input type="hidden" name="module" value="czproductsearch" /> <input type="hidden" name="controller" value="productsearch" /> {* <input type="hidden" name="orderby" value="position" /> <input type="hidden" name="orderway" value="desc" /> *} <div class="block_content clearfix"> {* <select class="form-control" name="cate" id="cate"> <option value="">{l s='All Categories' mod='czproductsearch'}</option> {foreach $cates item = cate key= "key"} <option value="{$cate.id_category|escape:'htmlall':'UTF-8'|stripslashes}" {if isset($selectedCate) && $cate.id_category eq $selectedCate}selected{/if} >{$cate.name}</option> {/foreach} </select> *} <div class="product_search"> <div class="categoryList-wrapper"> <input id="czsearchtop-cate-id" name="cate" value="{if isset($selectedCate)}{$selectedCate}{/if}" type="hidden"> <a id="categoryDropList" class="select-title" rel="nofollow" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <span>{if $selectedCateName != ''}{$selectedCateName}{else}{l s='All Categories' mod='czproductsearch'}{/if}</span> <i class="material-icons pull-xs-right">keyboard_arrow_down</i> </a> <div class="categoryLists dropdown-menu" aria-labelledby="categoryDropList"> <a href="#" data-cate-id="" data-cate-name="{l s='All Categories' mod='czproductsearch'}" class="cateSingleItem{if $selectedCate == ''} active{/if}" >{l s='All Categories' mod='czproductsearch'}</a> {foreach $cates item = cate key= "key"} <a href="#" data-cate-id="{$cate.id_category|escape:'htmlall':'UTF-8'|stripslashes}" data-cate-name="{$cate.name}" class="cateSingleItem{if isset($selectedCate) && $cate.id_category eq $selectedCate} active{/if}" >{$cate.name}</a> {/foreach} </div> </div> <input class="search_query form-control grey" type="text" id="cz_search_query_top" name="search_query" value="{$search_query|escape:'htmlall':'UTF-8'|stripslashes}" placeholder="{l s='Search Product here...' mod='czproductsearch'}" /> <button type="submit" id="cz_search_top_button" class="btn btn-default button button-small"><span><i class="material-icons search">search</i></span></button> </div> </div> </form> </div> <script type="text/javascript"> var blocksearch_type = 'top'; </script>
Save
cmd:
run