{empty name="custom_config"} {foreach name="data['config']" item="config" key="o_key"}
{notempty name="config.title"} {$config.title|default=''} {/notempty} {switch name="config.type"} {case value="text"}
{notempty name="config.tip"}
{$config.tip}
{/notempty}
{/case} {case value="password"}
{notempty name="config.tip"}
{$config.tip}
{/notempty}
{/case} {case value="radio"}
{foreach name="config['options']" key="opt_k" item="vo"} {/foreach} {notempty name="config.tip"}
{$config.tip}
{/notempty}
{/case} {case value="checkbox"}
{foreach name="config['options']" key="opt_k" item="vo"} {/foreach} {notempty name="config.tip"}
{$config.tip}
{/notempty}
{/case} {case value="select"}
{notempty name="config.tip"}
{$config.tip}
{/notempty} {/case} {case value="textarea"}
{$config.value} {notempty name="config.tip"}
{$config.tip}
{/notempty}
{/case} {case value="copy"}
{notempty name="config.tip"}
{$config.tip}
{/notempty}
{/case} {case value="hidden"} {/case} {case value="picture"}
{notempty name="config.tip"}
{$config.tip}
{/notempty}
{/case} {case value="group"}

{volist name="config.options" id="li"}
- {$li.title}
{/volist}

{volist name="config.options" id="tab"}
{foreach name="tab['options']" item="tab_form" key="o_tab_key"}
{$tab_form.title|default=''} {switch name="tab_form.type"} {case value="text"}
{notempty name="tab_form.tip"}
{$tab_form.tip}
{/notempty}
{/case} {case value="password"}
{notempty name="tab_form.tip"}
{$tab_form.tip}
{/notempty}
{/case} {case value="radio"}
{foreach name="tab_form['options']" key="opt_k" item="vo"} {/foreach} {notempty name="tab_form.tip"}
{$tab_form.tip}
{/notempty}
{/case} {case value="checkbox"}
{foreach name="tab_form['options']" key="opt_k" item="vo"} {/foreach} {notempty name="tab_form.tip"}
{$tab_form.tip}
{/notempty}
{/case} {case value="select"}
{notempty name="tab_form.tip"}
{$tab_form.tip}
{/notempty} {/case} {case value="textarea"}
{$tab_form.value} {notempty name="tab_form.tip"}
{$tab_form.tip}
{/notempty}
{/case} {case value="copy"}
{notempty name="tab_form.tip"}
{$tab_form.tip}
{/notempty}
{/case} {case value="hidden"} {/case} {case value="picture"}
{notempty name="tab_form.tip"}
{$tab_form.tip}
{/notempty}
{/case} {/switch}
{/foreach}
{/volist}
{/case} {/switch}
{/foreach} {else/} {$custom_config} {/empty}