{:input_token()}
{foreach $addon.config as $item} {/foreach}
{:lang($item.title)}
{switch $item.type} {case string} {/case} {case select} {/case} {case checkbox} {php}$__vals = is_array($item['value']) ? $item['value'] : explode(',', (string)$item['value']);{/php} {foreach name="item.content" item="vo"} {/foreach} {/case} {case image} {:build_upload_field('c-'.$item.name, 'row['.$item.name.']', (string)$item.value, ['mode'=>'image'])} {/case} {default /} {/switch} {if $item.tip}{:lang($item.tip)}{/if}