### <{t}>添加邮件模板<{/t}>

<{t}>邮件标题：<{/t}> | <{input type="text" name="ec_title" style="width:360px" value=$emailcont.ec_title required='true' vtype="required"}>
<{t}>邮件内容：<{/t}> | <{input type="html" name="ec_content" value=$emailcont.ec_content includeBase=true class="textarea-auto" id='ec_content_textarea'}>

<{button id="emailcont_save_btn" label=$___emailsubs="保存模板"|t:'emailsubs' type="submit"}> <{button id="emailcont_preview_btn" label=$___emailsubs="预览"|t:'emailsubs' type="button" onclick="new Dialog('index.php?app=emailsubs&ctl=admin_emailcont&act=preview&p[0]={$emailcont.ec_id}',{title:'邮件预览',width:800,height:680})"}>
<{input type='hidden' name='ec_id' value=$emailcont.ec_id}>