{* * 2007-2016 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-2016 PrestaShop SA * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} {if isset($fields.title)}

{$fields.title}

{/if} {if isset($tabs) && $tabs|count} {/if} {block name="defaultForm"} {if isset($identifier_bk) && $identifier_bk == $identifier}{capture name='identifier_count'}{counter name='identifier_count'}{/capture}{/if} {assign var='identifier_bk' value=$identifier scope='parent'} {if isset($table_bk) && $table_bk == $table}{capture name='table_count'}{counter name='table_count'}{/capture}{/if} {assign var='table_bk' value=$table scope='parent'}
{if $form_id} {/if} {if !empty($submit_action)} {/if} {foreach $fields as $f => $fieldset} {block name="fieldset"} {capture name='fieldset_name'}{counter name='fieldset_name'}{/capture}
{foreach $fieldset.form as $key => $field} {if $key == 'legend'} {block name="legend"}
{if isset($field.image) && isset($field.title)}{$field.title|escape:'html':'UTF-8'}{/if} {if isset($field.icon)}{/if} {$field.title}
{/block} {elseif $key == 'description' && $field}
{$field}
{elseif $key == 'warning' && $field}
{$field}
{elseif $key == 'success' && $field}
{$field}
{elseif $key == 'error' && $field}
{$field}
{elseif $key == 'input'}
{foreach $field as $input} {block name="input_row"} {/block} {/foreach} {hook h='displayAdminForm' fieldset=$f} {if isset($name_controller)} {capture name=hookName assign=hookName}display{$name_controller|ucfirst}Form{/capture} {hook h=$hookName fieldset=$f} {elseif isset($smarty.get.controller)} {capture name=hookName assign=hookName}display{$smarty.get.controller|ucfirst|htmlentities}Form{/capture} {hook h=$hookName fieldset=$f} {/if}
{elseif $key == 'desc'}
{if is_array($field)} {foreach $field as $k => $p} {if is_array($p)} {$p.text}
{else} {$p} {if isset($field[$k+1])}
{/if} {/if} {/foreach} {else} {$field} {/if}
{/if} {block name="other_input"}{/block} {/foreach} {block name="footer"} {capture name='form_submit_btn'}{counter name='form_submit_btn'}{/capture} {if isset($fieldset['form']['submit']) || isset($fieldset['form']['buttons'])} {/if} {/block}
{/block} {block name="other_fieldsets"}{/block} {/foreach}
{/block} {block name="after"}{/block} {if isset($tinymce) && $tinymce} {/if} {if $firstCall} {/if}