{if $totaltabs-1 < $active} {*//Last selected tab is not available in this view. eg. Child tasks*} {assign var=active value=0} {/if}
{foreach from=$tabs item=v key=k} {/foreach}
{$v.name} shim