{* * 2007-2011 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/afl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@prestashop.com so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA * @copyright 2007-2011 PrestaShop SA * @version Release: $Revision: 8971 $ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} {if $firstCall} {/if}
{if $form_id} {/if}
{foreach $fields as $key => $field} {if $key == 'legend'} {if isset($field.image)}{$field.title}{/if} {$field.title} {elseif $key == 'input'} {foreach $field as $input} {if $input.name == 'id_state'}
{/if} {if isset($input.label)} {/if}
{if $input.type == 'text'} {if isset($input.lang) && isset($input.attributeLang)} {foreach $languages as $language}
{if isset($input.hint)}{$input.hint} {/if}
{/foreach} {if count($languages) > 1}
{l s='Choose language:'}

{foreach $languages as $language} {$language.name} {/foreach}
{/if} {else} {if isset($input.hint)}{$input.hint} {/if} {/if} {elseif $input.type == 'hidden'} {elseif $input.type == 'select'} {if isset($input.hint)}{$input.hint} {/if} {elseif $input.type == 'radio'} {foreach $input.values as $value} {/foreach} {elseif $input.type == 'textarea'} {if isset($input.lang) && isset($input.attributeLang)} {foreach $languages as $language}
{/foreach} {if count($languages) > 1}
{l s='Choose language:'}

{foreach $languages as $language} {$language.name} {/foreach}
{/if} {else} {/if} {elseif $input.type == 'checkbox'} {elseif $input.type == 'file'} {/if} {if isset($input.required) && $input.required} *{/if} {if isset($input.p)}

{if is_array($input.p)} {foreach $input.p as $p} {if is_array($p)} {$p.text}
{else} {$p}
{/if} {/foreach} {else} {$input.p} {/if}

{/if} {if isset($languages)}
{/if}
{if $input.name == 'id_state'}
{/if} {/foreach} {elseif $key == 'submit'}
{/if} {/foreach} {if $requiredFields}
* {l s ='Required field'}
{/if}


{if $firstCall} {if $back} {l s='Back'} {else} {l s='Back to list'} {/if}
{/if}