{foreach item=navItem from=$loopNav}
  • {if $navItem.unlink == 0} {$navItem.text} {else} {$navItem.text} {/if}
  • {/foreach}