{foreach $fields as $item}
{$item.title}
{switch $item.type} {case string}
{/case} {case password}
{/case} {case value="text" break="0"}{/case} {case editor}
{$item.value|htmlentities}
{/case} {case array} {if $item.name=='downloadurl'} {php}$item['value']=isset($values[$item['name']])?$item['value']:$item['download_list'];{/php}
来源
地址
密码(可为空)
{:__('Append')}
{$item.value|htmlentities}
{else /} {php}$arrList=isset($values[$item['name']])?(array)json_decode($item['value'],true):$item['content_list'];{/php}
{:isset($item["setting"]["key"])&&$item["setting"]["key"]?$item["setting"]["key"]:__('Array key')}
{:isset($item["setting"]["value"])&&$item["setting"]["value"]?$item["setting"]["value"]:__('Array value')}
{:__('Append')}
{$arrList|json_encode=###,JSON_UNESCAPED_UNICODE|htmlentities}
{/if} {/case} {case date}
{/case} {case time}
{/case} {case datetime}
{/case} {case datetimerange}
{/case} {case number}
{/case} {case checkbox} {foreach name="item.content_list" item="vo"}
{$vo}
{/foreach}
{/case} {case radio} {foreach name="item.content_list" item="vo"}
{$vo}
{/foreach}
{/case} {case value="select" break="0"}{/case} {case value="selects"}
{foreach name="item.content_list" item="vo"}
{$vo}
{/foreach}
{/case} {case value="image" break="0"}{/case} {case value="images"}
{:__('Upload')}
{:__('Choose')}
{/case} {case value="file" break="0"}{/case} {case value="files"}
{:__('Upload')}
{:__('Choose')}
{/case} {case switch}
{/case} {case bool}
{:__('Yes')}
{:__('No')}
{/case} {case city}
{/case} {case value="selectpage" break="0"}{/case} {case value="selectpages"}
{/case} {case custom} {$item.extend_html} {/case} {/switch}
{/foreach}