1<li>
2  <a href="{$node.link|escape:'html':'UTF-8'}" title="{$node.name|escape:'html':'UTF-8'}">
3    <strong>{$node.name|escape:'html':'UTF-8'}</strong>
4  </a>
5
6  {if !empty($node.children) || !empty($node.cms)}
7    <ul>
8
9      {if !empty($node.children)}
10        {foreach from=$node.children item=child}
11          {if !empty($child.children) || !empty($child.cms)}
12            {include file="$tpl_dir./category-cms-tree-branch.tpl" node=$child}
13          {/if}
14        {/foreach}
15      {/if}
16
17      {if !empty($node.cms)}
18        {foreach from=$node.cms item=cms }
19          <li>
20            <a href="{$cms.link|escape:'html':'UTF-8'}" title="{$cms.meta_title|escape:'html':'UTF-8'}">
21              {$cms.meta_title|escape:'html':'UTF-8'}
22            </a>
23          </li>
24        {/foreach}
25      {/if}
26
27    </ul>
28  {/if}
29</li>
30