/
home
/
sharedstore
/
.trash
/
modules
/
cz_verticalmenu
/
views
/
templates
/
hook
/
/home/sharedstore/.trash/modules/cz_verticalmenu/views/templates/hook
mkdir
upload
Name
Size
Mode
Actions
cz_verticalmenu.tpl
3307
0644
edit
dl
rm
index.php
1267
0644
edit
dl
rm
Edit:
/home/sharedstore/.trash/modules/cz_verticalmenu/views/templates/hook/cz_verticalmenu.tpl
(3307B)
{** * 2007-2017 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-2017 PrestaShop SA * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} {assign var=counter value=0} {function name="verticalmenu" nodes=[] depth=0 parent=null} {strip} {if $nodes|count} <ul class="top-menu" {if $depth == 0}id="top-menu"{/if} data-depth="{$depth}"> {foreach from=$nodes item=node} <li class="{$node.type}{if $node.current} current{/if} {if $depth == 0}menu_icon{$counter++}{/if} {if $depth === 1 && $node.children|count == 0}oneColumn{/if}" id="{$node.page_identifier}"> <a href="{$node.url}" class="{if $depth >= 0}dropdown-item{/if}{if $depth === 1} dropdown-submenu{/if}" data-depth="{$depth}" {if $node.open_in_new_window} target="_blank" {/if}> {if $node.children|count} {* Cannot use page identifier as we can have the same page several times *} {assign var=_expand_id value=10|mt_rand:100000} <span class="pull-xs-right hidden-lg-up"> <span data-target="#top_sub_menu_{$_expand_id}" data-toggle="collapse" class="navbar-toggler collapse-icons"> <i class="fa-icon add"> </i> <i class="fa-icon remove"> </i> </span> </span> {if $depth == 0} <span class="pull-xs-right sub-menu-arrow"></span>{/if} {/if} {$node.label}</a> {if $node.children|count} {* Cannot use page identifier as we can have the same page several times *} <div {if $depth === 0} class="popover sub-menu js-sub-menu collapse"{else} class="collapse"{/if} id="top_sub_menu_{$_expand_id}"> {verticalmenu nodes=$node.children depth=$node.depth} <div class="menu-images-container"> {foreach from=$node.image_urls item=image_url} <img src="{$image_url}"> {/foreach} </div> </div> {/if} </li> {/foreach} </ul> {/if} {/strip} {/function} <div class="menu vertical-menu js-top-menu position-static hidden-md-down"> <div id="czverticalmenublock" class="block verticalmenu-block"> <h4 class="expand-more title h3 block_title" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" id="verticalmenu-dropdown"> {l s='Browse All Category' mod='cz_verticalmenu'} <span class="dropdown-arrow"></span> </h4> <div class="block_content verticalmenu_block dropdown-menu" aria-labelledby="verticalmenu-dropdown" id="_desktop_top_menu"> {verticalmenu nodes=$verticalmenu.children} </div> </div> </div>
Save
cmd:
run