{extend name="base" /} {block name="main"}
插件配置 [ {$data.title} ]
{foreach name="data['config']" item="form" key="o_key"}
{present name="form.title"} {$form.title|default=''} {/present} {switch name="form.type"} {case value="tips"}
{$form.value}
{/case} {case value="text"}
{$form.tips}
{/case} {case value="password"}
{/case} {case value="hidden"} {/case} {case value="radio"}
{foreach name="form.options" item="opt" key="opt_k"} {/foreach}
{/case} {case value="checkbox"}
{foreach name="form.options" item="opt" key="opt_k"} {php} is_null($form["value"]) && $form["value"] = array(); {/php} {$opt} {/foreach}
{/case} {case value="select"}
{/case} {case value="textarea"}
{$form.value}
{/case} {case value="group"}
{volist name="form.options" id="tab"}
{foreach name="tab['options']" item="tab_form" key="o_tab_key"} {$tab_form.title|default=''} {present name="tab_form.tip"} {$tab_form.tip} {/present}
{switch name="tab_form.type"} {case value="tips"}
{$form.value}
{/case} {case value="text"} {/case} {case value="password"} {/case} {case value="hidden"} {/case} {case value="radio"} {foreach name="tab_form.options" item="opt" key="opt_k"} {/foreach} {/case} {case value="checkbox"} {foreach name="tab_form.options" item="opt" key="opt_k"} {php} is_null($tab_form["value"]) && $tab_form["value"] = array(); {/php} {$opt} {/foreach} {/case} {case value="select"}
{/case} {case value="textarea"} {$tab_form.value} {/case} {/switch}
{/foreach}
{/volist}
{/case} {/switch}
{/foreach}
{/block} {block name="js"}
{/block}