{if $tree}
<ul class='tree'>
{foreach $tree as $item}
    <li {if !$item.path}class="no-style"{/if}>{if $item.path}<a href='{url href=$item.path}'>{$item.name|escape}</a>{else}{$item.name|escape}{/if}
        {if $item.subtree}
            {include file="./tree.tpl" tree=$item.subtree}
        {/if}
    </li>
{/foreach}
</ul>
{/if}