From db8c1969afc8e5a844b16a9e06f50eb59764a787 Mon Sep 17 00:00:00 2001 From: laoyang Date: Tue, 3 Nov 2026 09:00:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E6=A1=88=EF=BC=9A=E5=85=A8=E7=AB=99?= =?UTF-8?q?=E3=80=8C=E4=BD=A0=E3=80=8D=E6=94=B9=E4=B8=BA=E3=80=8C=E6=82=A8?= =?UTF-8?q?=E3=80=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 用户要求邮件模板统一用敬语,确认后网页也一并改。 范围: - lib/mailer.php 61 处(全部邮件模板:回执/回复/状态/审核/关闭/不公开/新反馈) - new.php 6 处(提交页提示、占位文字) - thread.php 4 处(提交成功提示、回复框占位) - lib/layout.php 1 处(页脚隐私说明) - admin.php 5 处(测试邮件正文、关闭邮件主题模板、通知规则说明、 先审后显说明) 已核查无「您们」等机械替换产生的别扭表达; 邮件模板渲染后「你」零残留、「您」77 处,文案通顺。 线上四个页面可见文字均无「你」,全站路由 200。 --- admin.php | 10 ++-- lib/layout.php | 2 +- lib/mailer.php | 122 ++++++++++++++++++++++++------------------------- new.php | 12 ++--- thread.php | 8 ++-- 5 files changed, 77 insertions(+), 77 deletions(-) diff --git a/admin.php b/admin.php index c452e81..f629b5d 100644 --- a/admin.php +++ b/admin.php @@ -302,7 +302,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_POST['act'])) { 'id' => 0, 'software_id' => $swRow ? (int)$swRow['id'] : 0, 'title' => '这是一封测试邮件,用来检查排版与配色', - 'body' => "这是测试用的反馈正文。\n如果你收到这封信,说明 SMTP 配置正确,配色与图标也应当对应「" + 'body' => "这是测试用的反馈正文。\n如果您收到这封信,说明 SMTP 配置正确,配色与图标也应当对应「" . ($swRow ? (string)$swRow['name'] : '默认软件') . "」。\n\n发送时间:" . date('Y-m-d H:i:s'), 'author_name' => '测试', 'author_email' => $to, @@ -1157,11 +1157,11 @@ fb_layout_head('管理后台', ['robots' => 'noindex,nofollow']);

审核

- +
@@ -1284,7 +1284,7 @@ fb_layout_head('管理后台', ['robots' => 'noindex,nofollow']); $smVerify= (bool)fb_cfg('smtp.verify_ssl', true); ?> + 开启后,有人回复您反馈的问题会发信通知提交人。填好下方参数并用「发送测试邮件」验证通了再勾。