Browse Source

修正句子

develop
叙述、别离 6 months ago
parent
commit
b332920b01
3 changed files with 4 additions and 4 deletions
  1. +2
    -2
      src/admin/member_pmall.php
  2. +1
    -1
      src/admin/sys_group_edit.php
  3. +1
    -1
      src/system/libraries/dedehttpdown.class.php

+ 2
- 2
src/admin/member_pmall.php View File

@@ -21,10 +21,10 @@ if ($action == "post") {
$subject = cn_substrR(HtmlReplace($subject), 70);
$message = cn_substrR(HtmlReplace($message), 1000);
if (!isset($subject) || empty($subject)) {
ShowMsg('短信标题不能为空!', '-1');
ShowMsg('短信标题不能为空', '-1');
exit();
} else if (!isset($message) || empty($message)) {
ShowMsg('请填写短信文档!', '-1');
ShowMsg('请填写短信文档', '-1');
exit();
}
$rs = $dsql->ExecuteNoneQuery("INSERT INTO `#@__member_pms` (floginid,fromid,toid,tologinid,folder,hasview,subject,sendtime,writetime,message,isadmin) VALUES ('$floginid','$fromid','$toid','$tologinid','outbox','0','$subject','$sendtime','$writetime','$message','1');");


+ 1
- 1
src/admin/sys_group_edit.php View File

@@ -13,7 +13,7 @@ CheckPurview('sys_Group');
if (empty($dopost)) $dopost = '';
if ($dopost == 'save') {
if ($rank == 10) {
ShowMsg('超级管理员的权限不允许修改!', 'sys_group.php');
ShowMsg('超级管理员的权限不允许修改', 'sys_group.php');
exit();
}
$purview = '';


+ 1
- 1
src/system/libraries/dedehttpdown.class.php View File

@@ -379,7 +379,7 @@ class DedeHttpDown
return TRUE;
}
if (!$this->PrivateOpenHost()) {
$this->m_error .= "打开远程主机出错!";
$this->m_error .= "打开远程主机出错";
return FALSE;
}
$this->reTry++;


Loading…
Cancel
Save