You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

113 lines
5.1 KiB
HTML

5 years ago
<extend name="Public/base"/>
<block name="body">
<div class="cf main-place top_nav_list navtab_list">
<h3 class="page_title">{$meta_title}</h3>
<p class="description_text">用于配置邮件相关参数的功能;此功能为开发者预留功能,----软件系统不提供邮箱注册功能,如需要可自行二次开发</p>
</div>
<div class="tab-wrap">
<div class="tab-content tabcon1711 tabcon17112">
<form action="{:U('saveTool')}" method="post" class="form-horizontal form_info_ml">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="l noticeinfo">SMTP</td>
<td class="r table_radio">
<input name="config[smtp]" type="text" value="{$email_set['smtp']}" class="">
<span class="notice-text">SMTP 服务器</span>
</td>
</tr><tr>
<td class="l noticeinfo">SMTP端口</td>
<td class="r table_radio">
<input name="config[smtp_port]" type="text" value="{$email_set['smtp_port']}" class="">
<span class="notice-text">SMTP服务器端口默认25</span>
</td>
</tr>
<tr>
<td class="l noticeinfo">SMTP用户名</td>
<td class="r table_radio">
<input name="config[smtp_account]" type="text" value="{$email_set['smtp_account']}" class="">
<span class="notice-text">SMTP服务器用户名填写完整用户名</span>
</td>
</tr>
<tr>
<td class="l noticeinfo">SMTP密码</td>
<td class="r table_radio">
<input name="config[smtp_password]" type="text" value="{$email_set['smtp_password']}" class="">
<span class="notice-text">SMTP服务器密码填写您的密码</span>
</td>
</tr>
<tr>
<td class="l noticeinfo">发件人姓名</td>
<td class="r table_radio">
<input name="config[smtp_name]" type="text" value="{$email_set['smtp_name']}" class="">
<span class="notice-text">发件人姓名</span>
</td>
</tr>
<tr>
<td class="l noticeinfo">邮箱标题</td>
<td class="r table_radio">
<input name="config[title]" type="text" value="{$email_set['title']}" class="">
<span class="notice-text">邮箱标题</span>
</td>
</tr>
<tr>
<td class="l noticeinfo">邮件发送测试</td>
<td class="r table_radio">
<input name="config[smtp_test]" type="text" value="{$email_set['smtp_test']}" class="">
<span class="notice-text">填写测试邮件地址</span>
</td>
</tr>
<tr>
<td class="l noticeinfo">启用状态</td>
<td class="r table_radio">
<span class="form_radio">
<label><input type="radio" name="status" value="0" <eq name="email_set_data['status']" value="0">checked="checked"</eq>> 禁用</label>
<label><input type="radio" name="status" value="1" <eq name="email_set_data['status']" value="1">checked="checked"</eq>> 启用
</label></span>
<span class="notice-text">启用状态</span>
</td>
</tr>
<tr>
<td class="l noticeinfo">邮件模板</td>
<td class="r table_radio">
<span class="form_textarea_edit"><textarea name="template">{$email_set_data['template']}</textarea>
{:hook('adminArticleEdit', array('name'=>'template','value'=>$email_set_data['template']))}
</span>
<span class="notice-text"><table border="0" cellspacing="0" cellpadding="0"><tr><td>邮件模板</td></tr></table></span>
</td>
</tr>
</tbody>
</table>
<input type="hidden" name="name" value="email_set">
<input type="submit" id="submit" value="保存" target-form="form-horizontal" class="submit_btn form_btn ajax-post mlspacing">
</form>
</div>
</div>
<div class="common_settings">
<span class="plus_icon"><span><img src="__IMG__/zwmimages/icon_jia.png"></span></span>
<form class="addShortcutIcon">
<input type="hidden" name="title" value="{$m_title}">
<input type="hidden" name="url" value="{$m_url}">
</form>
<a class="ajax-post add-butn <notempty name='commonset'>addSIsetted</notempty>" href="javascript:;" target-form="addShortcutIcon" url="{:U('Think/addShortcutIcon')}"><img src="__IMG__/zwmimages/icon_jia.png"><span><notempty name='commonset'>已添加<else />添加至常用设置</notempty></span></a>
</div>
</block>
<block name="script">
<script type="text/javascript">
//导航高亮
highlight_subnav('{:U('Tool/email')}');
</script>
</block>