添加新短信

master
zhanglingsheng 5 years ago
parent def0b2e374
commit 3f8168c11a

@ -125,7 +125,7 @@ class ToolController extends ThinkController {
*/
public function smsset($value='')
{
$this->BaseConfig("sms_set,alidayu,jiguang,alidayunew");
$this->BaseConfig("sms_set,alidayu,jiguang,alidayunew,zhongwang");
$this->meta_title = '短信设置';
$this->m_title = '短信设置';

@ -9,6 +9,7 @@
<li data-tab="tab2"><a href="javascript:void(0);" >阿里大鱼(老)</a></li>
<li data-tab="tab3"><a href="javascript:void(0);" >极光</a></li>
<li data-tab="tab4"><a href="javascript:void(0);" >阿里大鱼(新)</a></li>
<li data-tab="tab5"><a href="javascript:void(0);" >中网</a></li>
</ul>
<h3 class="page_title">{$meta_title}</h3>
<p class="description_text">用于配置短信通知功能相关参数的功能</p>
@ -297,16 +298,65 @@
</div>
</div>
</div>
<div class="tab-content tabcon1711 tabcon17112">
<div id="tab5" class="tab-pane in tab5">
<form action="{:U('saveTool')}" method="post" class="form-horizontal zhongwang form_info_ml">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="l noticeinfo">账号</td>
<td class="r table_radio">
<input name="config[smtp_account]" type="text" value="{$zhongwang['smtp_account']}" class="">
<span class="notice-text">账号</span>
</td>
</tr>
<tr>
<td class="l noticeinfo">密码</td>
<td class="r table_radio">
<input name="config[smtp_password]" type="text" value="{$zhongwang['smtp_password']}" class="">
<span class="notice-text">密码</span>
</td>
</tr>
<tr>
<td class="l noticeinfo">每日IP发送数量</td>
<td class="r table_radio">
<input name="config[limit]" type="text" value="{$zhongwang['limit']}" class="">
<span class="notice-text">0或空则不限制</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="zhongwang_data['status']" value="0">checked="checked"</eq>> 禁用
</label>
<label>
<input type="radio" name="status" value="1" <eq name="zhongwang_data['status']" value="1">checked="checked"</eq>> 启用
</label>
</span>
<span class="notice-text">短信设置启用状态</span>
</td>
</tr>
</tbody>
</table>
<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>
<input type="hidden" name="name" value="zhongwang">
<input type="submit" value="保存" target-form="zhongwang" 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>

Loading…
Cancel
Save