2019-09-06 23:53:10 +08:00

69 lines
2.9 KiB
HTML
Executable File
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<div class="layui-tab-item layui-form">
<fieldset class="layui-elem-field layui-field-title">
<legend>邮件服务器设置</legend>
<table class='wst-form wst-box-top'>
<tr>
<th width='150'>SMTP服务器</th>
<td><input type="text" id='mailSmtp' class='ipt' maxLength='100' value='{$object["mailSmtp"]}'/></td>
</tr>
<tr>
<th>SMTP端口</th>
<td><input type="text" id='mailPort' class='ipt' maxLength='10' value='{$object["mailPort"]}'/></td>
</tr>
<tr>
<th>是否验证SMTP</th>
<td>
<input type="checkbox" {if $object['mailAuth']==1}checked{/if} class="ipt" id="mailAuth" name="mailAuth" value='1' lay-skin="switch" lay-filter="mailAuth" lay-text="是|否">
</td>
</tr>
<tr>
<th>SMTP发件人邮箱</th>
<td><input type="text" id='mailAddress' class='ipt' value='{$object["mailAddress"]}' maxLength='100'/></td>
</tr>
<tr>
<th>SMTP登录账号</th>
<td><input type="text" id='mailUserName' class='ipt' value='{$object["mailUserName"]}' maxLength='100'/></td>
</tr>
<tr>
<th>SMTP登录密码</th>
<td><input type="text" id='mailPassword' class='ipt' value='{$object["mailPassword"]}' maxLength='100'/></td>
</tr>
<tr>
<th>发件人名称:</th>
<td><input type="text" id='mailSendTitle' class='ipt' value='{$object["mailSendTitle"]}' maxLength='100'/></td>
</tr>
</table>
</fieldset>
<fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
<legend>短信服务器设置</legend>
<table class='wst-form wst-box-top'>
<tr>
<th colspan='2' style='text-align:left;padding-left:40px'><span style='color:gray;'>(请确保在“拓展管理-插件管理"中有安装相应的短信插件”)</span></th>
</tr>
<tr style='display:none'>
<th >开启手机验证:</th>
<td>
<input type="checkbox" checked class="ipt" id="smsOpen" value='1' name="smsOpen" value='1' lay-skin="switch" lay-filter="smsOpen" lay-text="开|关">
</td>
</tr>
<tr>
<th width='150'>每个号码每日发送数:</th>
<td><input type="text" id='smsLimit' class='ipt' value="{$object['smsLimit']}" maxLength='100'/></td>
</tr>
<tr>
<th>开启短信发送验证码:</th>
<td>
<input type="checkbox" {if $object['smsVerfy']==1}checked{/if} class="ipt" id="smsVerfy" value='1' name="smsVerfy" value='1' lay-skin="switch" lay-filter="smsVerfy" lay-text="开|关">
</td>
</tr>
{if ($grant)}
<tr>
<td colspan='2' align='center'>
<button type="button" onclick='javascript:edit()' class='btn btn-primary btn-mright'><i class="fa fa-check"></i>保存</button>
<button type="reset" class='btn'><i class="fa fa-refresh"></i>重置</button>
</td>
</tr>
{/if}
</table>
</fieldset>
</div>