- {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['suffix'])} {$field['suffix']|strval}{/if}
- {elseif $field['type'] == 'password'}
-
- {if isset($field['suffix'])} {$field['suffix']|strval}{/if}
- {elseif $field['type'] == 'textarea'}
-
- {elseif $field['type'] == 'file'}
- {if isset($field['thumb']) && $field['thumb'] && $field['thumb']['pos'] == 'before'}
-
![{$field['title']} {$field['title']}]({$field['thumb']['file']})
- {/if}
-
- {* {elseif $field['type'] == 'image'}
-
';
- *}
- {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}
-
-