更新至V1.70,更新内容在笔记中查看

This commit is contained in:
小胡
2023-01-18 13:34:42 +08:00
Unverified
parent 9b7037ef9f
commit 1c98f32d5d
2 changed files with 6 additions and 6 deletions

View File

@@ -11,7 +11,6 @@
if(!defined('IN_DZZ')) {
exit('Access Denied');
}
class dzz_notification {
@@ -56,7 +55,8 @@ class dzz_notification {
$setarr['authorid'] = 0;
$setarr['author'] = '';
}*/
if($_G['setting']['tzxxyjtz']) {
$_G['setting']['mail'] = dunserialize($_G['setting']['mail']);
if($_G['setting']['mail']['tzxxyjtz']) {
//发送邮件
require_once libfile('function/mail');
$member = C::t('user')->fetch_by_uid($touid);
@@ -65,7 +65,7 @@ class dzz_notification {
<p style="font-size:14px;color:#333; line-height:24px; margin:0;">尊敬的用户$member[username],您好!</p>
<p style="line-height: 24px; margin: 6px 0px 0px; overflow-wrap: break-word; word-break: break-all;"><span style="color: rgb(51, 51, 51); font-size: 14px;">$notestring</span></p>
<p style="line-height: 24px; margin: 6px 0px 0px; overflow-wrap: break-word; word-break: break-all;"><span style="color: rgb(51, 51, 51); font-size: 14px;">链接:</span></p>
<p style="line-height: 24px; margin: 6px 0px 0px; overflow-wrap: break-word; word-break: break-all;"><span style="color: rgb(51, 51, 51); font-size: 12px;"><a href="$_G[siteurl].$redirect" title="$_G[siteurl].$redirect" style="text-decoration-line: none; word-break: break-all; overflow-wrap: normal; color: rgb(51, 51, 51); font-size: 12px;" rel="noopener" target="_blank"><span style="color: rgb(0, 164, 255);">$_G[siteurl].$redirect</span></a><span style="font-size: 12px; color: rgb(51, 51, 51);">,(如果上面不是链接形式,请将该地址手工粘贴到浏览器地址栏再访问)</span></p>
<p style="line-height: 24px; margin: 6px 0px 0px; overflow-wrap: break-word; word-break: break-all;"><span style="color: rgb(51, 51, 51); font-size: 12px;"><a href="$_G[siteurl]$redirect" title="$_G[siteurl]$redirect" style="text-decoration-line: none; word-break: break-all; overflow-wrap: normal; color: rgb(51, 51, 51); font-size: 12px;" rel="noopener" target="_blank"><span style="color: rgb(0, 164, 255);">$_G[siteurl]$redirect</span></a><span style="font-size: 12px; color: rgb(51, 51, 51);">,(如果上面不是链接形式,请将该地址手工粘贴到浏览器地址栏再访问)</span></p>
EOT;
;
if(!sendmail("$member[username] <$member[email]>", $title, $youjiantz)) {

View File

@@ -14,7 +14,7 @@ if(!defined('CORE_VERSION')) {
define('CORE_VERSION', '2.02');
define('CORE_RELEASE', '20180909');
define('CORE_FIXBUG' , '20000000');
define('CORE_XHVERSION', '1.69');
define('CORE_XHRELEASE', '20220116');
define('CORE_XHFIXBUG' , '20220116');
define('CORE_XHVERSION', '1.70');
define('CORE_XHRELEASE', '20230118');
define('CORE_XHFIXBUG' , '20230118');
}