{if not empty($item.children)}
  • {tr}{$item.name}{/tr}
  • {else}
  • {if $item.block}
    {tr}{$item.name}{/tr}
    {* added to close the anchor in the menu list item -- g_c-l *} {else} {tr}{$item.name}{/tr} {/if}
  • {/if}