<{foreach name="icon_list" item=list from=$block.icon_list}> <{if ($smarty.foreach.icon_list.iteration % $icon_max_col) == 1}>
<{/if}> <{if $list.mod_link }> <{/if}> <{$list.mod_name}> <{if $list.mod_link }> <{/if}> <{assign var="icon_not_close" value="1"}> <{if ($smarty.foreach.icon_list.iteration % $icon_max_col) == 0}>
<{assign var="icon_not_close" value="0"}> <{/if}> <{/foreach}> <{if $icon_not_close}> <{/if}>