{assign var=currencySign value='not-defined'} {assign var=currencyName value='not-defined'} {assign var=currencyIsoCode value='not-defined'} {* for debug *} {foreach from=$currencies key=k item=f_currency} {if $cookie->id_currency eq $f_currency.id_currency} {assign var=currencySign value={$f_currency.sign}} {assign var=currencyName value={$f_currency.name}} {assign var=currencyIsoCode value={$f_currency.iso_code}} {* for debug *} {/if} {/foreach} {assign var=currencyText value=''} {if $textType eq 'noText'} {assign var=currencyText value=$currencySign} {elseif $textType eq 'short'} {assign var=currencyText value=$currencyIsoCode} {elseif $textType eq 'full'} {assign var=currencyText value="$currencySign $currencyName"} {/if}
- {if isset($showLabel) && $showLabel}{l s='Currency' mod='blockcurrencies'}: {/if} {$currencyText} {if isset($showArrow) && $showArrow}{/if} {if isset($smarty.capture.currency_submenu)}{$smarty.capture.currency_submenu}{/if}