[ Index ]
 

Code source de eZ Publish 3.9.0

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/design/standard/templates/toolbar/full/ -> preferred_currency.tpl (source)

   1  {* DO NOT EDIT THIS FILE! Use an override template instead. *}
   2  <div class="toolbar-item {$placement}">
   3      <div class="toolbox">
   4      <div class="toolbox-design">
   5  
   6      {def $currency_list = fetch( 'shop', 'currency_list', hash( 'status', 'active' ) )
   7           $preferred_currency_code = fetch( 'shop', 'preferred_currency_code' )}
   8          <h2>{"Preferred currency"|i18n("design/standard/toolbar")}</h2>
   9          <div class="toolbox-content">
  10          {if count( $currency_list )}
  11              <form action={'shop/setpreferredcurrency'|ezurl} method="post">
  12                  <select name="Currency" title="Select currency">
  13                      {foreach $currency_list as $Currency}
  14                          <option value="{$Currency.code}" {if eq( $Currency.code, $preferred_currency_code )}selected="selected"{/if}>{$Currency.code}</option>
  15                      {/foreach}
  16                  </select>
  17                  {* Set button *}
  18                  <input class="button" type="submit" name="SetButton" value="{'Set'|i18n( 'design/standard/toolbar' )}" title="{'Set the selected currency as preferred.'|i18n( 'design/standard/toolbar' )}" />
  19              </form>
  20          {else}
  21              <p>{"There are no available currencies"|i18n("design/standard/toolbar")}</p>
  22          {/if}
  23          </div>
  24      {undef}
  25  
  26      </div>
  27      </div>
  28  </div>


Généré le : Sat Feb 24 10:30:04 2007 par Balluche grâce à PHPXref 0.7