{* * We offer the best and most useful modules PrestaShop and modifications for your online store. * * We are experts and professionals in PrestaShop * * @category PrestaShop * @category Module * @author PresTeamShop.com * @copyright 2011-2017 PresTeamShop * @license see file: LICENSE.txt *} {assign var='is_depend' value=false} {if isset($depend)} {assign var=is_depend value=$depend} {/if} {if $option.type eq $global->type_control->select}
{elseif $option.type eq 'wysiwyg'} {include languages=$paramsBack.LANGUAGES input_name=$option.name file='./wysiwyg_text_lang.tpl' option=$option} {elseif $option.type eq 'hidden'} {elseif $option.type eq 'range'}
{elseif $option.type eq $global->type_control->checkbox}
{elseif $option.type eq $global->type_control->textbox and isset($option.color) and $option.color}
{elseif $option.type eq $global->type_control->textbox}
{if isset($option.multilang) and $option.multilang} {assign var='input_value' value=[]} {if isset($option.input_value)} {assign var='input_value' value=$option.input_value} {/if} {include languages=$paramsBack.LANGUAGES input_name={$option.name} file='./input_text_lang.tpl' input_value=$input_value} {else} {/if}
{elseif $option.type eq $global->type_control->textarea}
{if isset($option.multilang) and $option.multilang} {assign var='input_value' value=[]} {if isset($option.input_value)} {assign var='input_value' value=$option.input_value} {/if} {include languages=$paramsBack.LANGUAGES input_name={$option.name} file='./textarea_lang.tpl' input_value=$input_value} {else} {/if}
{/if} {*{if isset($option.tooltip)}
{include file='./tooltip.tpl' option=$option center=true}
{include file='./tooltip.tpl' option=$option}
{/if}*} {if isset($option.depends) and is_array($option.depends) and count($option.depends)}
{foreach from=$option.depends item='depend'} {*
{*
*} {if isset($depend.label) or isset($depend.tooltip)} {if not isset($depend.label)} {include file='./form.tpl' option=$depend depend=true} {/if}
{if isset($depend.label)} {include file='./form.tpl' option=$depend depend=true} {/if} {else} {include file='./form.tpl' option=$depend depend=true} {/if} {*
*}
{/foreach}
{/if}