{extends file="admin-layout.tpl"} {block name="page-title"}{intl l='Currencies'}{/block} {block name="check-permissions"}admin.configuration.currencies.view{/block} {block name="after-admin-css"} {stylesheets file='assets/bootstrap-editable/css/bootstrap-editable.css' filters='cssembed'} {/stylesheets} {/block} {block name="main-content"}
{module_include location='currencies_top'}
{module_include location='currencies_table_header'} {loop name="currencies" type="currency" backend_context="1" lang=$lang_id order=$order} {module_include location='currencies_table_row'} {/loop} {elseloop rel="currencies"} {/elseloop}
{intl l='Currencies'} {loop type="auth" name="can_create" roles="ADMIN" permissions="admin.configuration.currencies.create"} {/loop}
{if $order == 'id'} {$order_change = 'id_reverse'} {elseif $order == 'id_reverse'} {$order_change = 'id'} {else} {$order_change = 'id'} {/if} {intl l="ID"} {if $order == 'alpha'} {$order_change = 'alpha_reverse'} {elseif $order == 'alpha_reverse'} {$order_change = 'alpha'} {else} {$order_change = 'alpha'} {/if} {intl l="Name"} {if $order == 'code'} {$order_change = 'code_reverse'} {elseif $order == 'code_reverse'} {$order_change = 'code'} {else} {$order_change = 'code'} {/if} {intl l="ISO 4217 Code"} {if $order == 'symbol'} {$order_change = 'symbol_reverse'} {elseif $order == 'symbol_reverse'} {$order_change = 'symbol'} {else} {$order_change = 'symbol'} {/if} {intl l="Symbol"} {if $order == 'rate'} {$order_change = 'rate_reverse'} {elseif $order == 'rate_reverse'} {$order_change = 'rate'} {else} {$order_change = 'rate'} {/if} {intl l="Rate in €"} {if $order == 'manual'} {$order_change = 'manual_reverse'} {elseif $order == 'manual_reverse'} {$order_change = 'manual'} {else} {$order_change = 'manual'} {/if} {intl l="Position"} {intl l="Default"} 
{$ID} {loop type="auth" name="can_change" roles="ADMIN" permissions="admin.configuration.currencies.change"} {$NAME} {/loop} {elseloop rel="can_change"} {$NAME} {/elseloop} {$ISOCODE} {$SYMBOL} {$RATE|string_format:"%.4f"} {loop type="auth" name="can_change" roles="ADMIN" permissions="admin.category.edit"} {$POSITION} {/loop} {elseloop rel="can_change"} {$POSITION} {/elseloop}
{loop type="auth" name="can_change" roles="ADMIN" permissions="admin.configuration.currencies.change"} {/loop} {loop type="auth" name="can_delete" roles="ADMIN" permissions="admin.configuration.currencies.delete"} {/loop}
{intl l="No currency has been created yet. Click the + button to create one."}
{module_include location='currencies_bottom'}
{* Adding a new currency *} {* Delete confirmation dialog *} {/block} {block name="after-javascript-include"} {javascripts file='assets/bootstrap-editable/js/bootstrap-editable.js'} {/javascripts} {/block} {block name="javascript-initialization"} {/block}