{* * 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$ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *}
{foreach $optionsList AS $category => $categoryData} {if isset($categoryData['top'])}{$categoryData['top']}{/if}
{* Options category title *} {if isset($categoryData['title'])}{$categoryData['title']}{else}{l s='Options'}{/if} {* Category description *} {if (isset($categoryData['description']) && $categoryData['description'])}

{$categoryData['description']}

{/if} {foreach $categoryData['fields'] AS $key => $field}
{if $field['title']} {/if}
{if $field['type'] == 'select'} {elseif $field['type'] == 'bool'} {elseif $field['type'] == 'radio'} {foreach $field['choices'] AS $k => $v}
{/foreach}
{*{elseif $field['type'] == 'checkbox'} {foreach $field['choices'] AS $k => $v}
{/foreach}
*} {elseif $field['type'] == 'text'} {if isset($field['next'])} {$field['next']|strval}{/if} {elseif $field['type'] == 'password'} {if isset($field['next'])} {$field['next']|strval}{/if} {elseif $field['type'] == 'textarea'} {elseif $field['type'] == 'file'} {if isset($field['thumb']) && $field['thumb'] && $field['thumb']['pos'] == 'before'} {$field['title']}
{/if} {* {elseif $field['type'] == 'image'} $i = 0; foreach ($field['list'] as $theme) { '; if (isset($field['max']) && ($i +1 ) % $field['max'] == 0) echo ''; $i++; } echo ''; echo '
'; echo ''; echo '
'; echo ''; echo '
'; *} {elseif $field['type'] == 'textLang'} {foreach $field['languages'] AS $id_lang => $value}
{/foreach} {$field['flags']} {elseif $field['type'] == 'textareaLang'} {foreach $field['languages'] AS $id_lang => $value}
{/foreach} {$field['flags']}
{/if} {if isset($field['method'])}$field['method']{/if} {if ($field['multishop_default'])}
{/if} {if isset($field['desc'])}

{$field['desc']}

{/if} {if $field['is_invisible']}

{l s='You can\'t change the value of this configuration field in this shop context'}

{/if}
{/foreach}
{if $field['required']}
* {l s='Required field'}
{/if}

{if isset($categoryData['bottom'])}{$categoryData['bottom']}{/if} {/foreach}