{literal} {/literal} {if $sm.res}

Config Settings

{capture name=links} Add new Check All Delete {/capture} {$smarty.capture.links}
{section name=setting loop=$sm.res} {assign var=x value=$sm.res[setting]} {if $sm.res[setting.index_prev].name != $x.name}
+
   {$x.name}
{/if} {/section}
{$smarty.capture.links}
{else}
No records found
{/if} {literal} {/literal}