{* category navigation tree *} {section name=i loop=$categories_tree} {if $categories_tree[i].categoryID != 1} {/if} {/section}
{if $categories_tree[i].level == 1}{/if} {section name=j loop=$categories_tree max=$categories_tree[i].level-1}     {/section} {if $categories_tree[i].level > 1}{/if} {if $categoryID == $categories_tree[i].categoryID} {* selected node => point category and don't make a link *} {$categories_tree[i].name}
{else} {* not selected node => make a link to a category *} 1} class="standardsmall" {/if}>{$categories_tree[i].name}
{/if}