- {* @@todo fix display current languages, removing the first foreach loop *} {foreach from=$languages key=k item=language name="languages"} {if $language.iso_code == $lang_iso} {if isset($showLabel) && $showLabel}{l s='Language'}: {/if} {if $textType eq 'noText'} {elseif $textType eq 'short'} {$language.iso_code} {elseif $textType eq 'full'} {$language.name} {/if} {if isset($showArrow) && $showArrow}{/if} {/if} {/foreach} {if isset($submenu)}{$submenu}{/if}