Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (20 sloc) 0.85 kb
* =|= Sitemap Branch - Categories ==============================
* List of categories to be shown in the store's sitemap.
* ==============================================================
<li {if isset($last) && $last == 'true'}class="last"{/if}>
<a href="{$|escape:'htmlall':'UTF-8'}" {if isset($currentCategoryId) && $ == $currentCategoryId}class="selected"{/if} title="{$node.desc|escape:'htmlall':'UTF-8'}">{$|escape:'htmlall':'UTF-8'}</a>
{if $node.children|@count > 0}
{foreach from=$node.children item=child name=categoryTreeBranch}
{if $smarty.foreach.categoryTreeBranch.last}
{include file="$tpl_dir./category-tree-branch.tpl" node=$child last='true'}
{include file="$tpl_dir./category-tree-branch.tpl" node=$child last='false'}
Jump to Line
Something went wrong with that request. Please try again.