<{capture name="sidebar"}>
<{/capture}> <{foreach from=$sections item=section}>
<{include file=$section.file app=giftpackage}>
<{/foreach}> <{capture name='footbar'}>

<{assign var="___a" value="关 闭"}> <{assign var="___c" value=$___b2c='确定退出?'|t:'b2c'}> <{button label=$___b2c="保存并关闭窗口"|t:'b2c' class="btn-primary" onclick="submitForm(event,2)"}> <{button label=$___content=$___a|t:'content' class="btn-secondary" onclick="if(confirm('{$___c}'))window.close()"}>

<{/capture}>