{foreach from=$admin.groups item=g} {if $g == $smarty.const.AC_GROUP_ADMIN} {assign var="showgroupdropdown" value="1"} {/if} {/foreach}