Untitled
unknown
php
4 years ago
842 B
6
Indexable
<li {if isset($last) && $last == 'true'} class="last cat-list"{else} class="cat-list" {/if} {if stristr($smarty.server.HTTP_USER_AGENT, "Mobile")} {if $page_name != 'index'} style="display: none" {/if} {/if}> <a href="{$node.link|escape:'htmlall':'UTF-8'}" {if isset($currentCategoryId) && $node.id == $currentCategoryId}class="selected"{/if} title="{$node.name|escape:'htmlall':'UTF-8'}">{$node.name|escape:'htmlall':'UTF-8'}</a> {if $node.children|@count > 0} <ul class="test-class" style="display: none"> {foreach from=$node.children item=child name=categoryTreeBranch} {if $smarty.foreach.categoryTreeBranch.last} {include file="$branche_tpl_path" node=$child last='true'} {else} {include file="$branche_tpl_path" node=$child last='false'} {/if} {/foreach} </ul> {/if} </li>
Editor is loading...