同步插件源代码并补齐标准项目文件
This commit is contained in:
29
.gitignore
vendored
Normal file
29
.gitignore
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
# Dependencies and build output
|
||||
node_modules/
|
||||
vendor/
|
||||
dist/
|
||||
build/
|
||||
out/
|
||||
main.js
|
||||
*.apk
|
||||
|
||||
# Build tools and IDE
|
||||
.gradle/
|
||||
.idea/
|
||||
*.iml
|
||||
gradle/
|
||||
gradlew
|
||||
gradlew.bat
|
||||
|
||||
# Environment and secrets
|
||||
.env
|
||||
.env.*
|
||||
keystore.properties
|
||||
*.jks
|
||||
credentials*.json
|
||||
|
||||
# Runtime data and backups
|
||||
data/
|
||||
备份/
|
||||
*.log
|
||||
.DS_Store
|
||||
148
Action.php
Normal file
148
Action.php
Normal file
@@ -0,0 +1,148 @@
|
||||
<?php
|
||||
/**
|
||||
* MailNotifier 邮件通知插件 - 邮件发送 Action
|
||||
*
|
||||
* @package MailNotifier
|
||||
* @author 石头厝
|
||||
*/
|
||||
if (!defined('__TYPECHO_ROOT_DIR__')) {
|
||||
exit;
|
||||
}
|
||||
|
||||
if (!class_exists('MailNotifier_Plugin')) {
|
||||
require_once dirname(__FILE__) . '/Plugin.php';
|
||||
}
|
||||
|
||||
class MailNotifier_Action extends Typecho_Widget implements Widget_Interface_Do
|
||||
{
|
||||
public function execute() {}
|
||||
|
||||
public function action()
|
||||
{
|
||||
$this->test();
|
||||
}
|
||||
|
||||
public function test()
|
||||
{
|
||||
$auth = isset($_REQUEST['auth']) ? trim((string) $_REQUEST['auth']) : '';
|
||||
$savedAuth = MailNotifier_Plugin::configStr('auth', '');
|
||||
header('Content-Type: text/html; charset=UTF-8');
|
||||
|
||||
if ($savedAuth === '' || !hash_equals($savedAuth, $auth)) {
|
||||
$this->renderResult(false, '测试密钥不正确,请从插件设置页点击“测试发送”。');
|
||||
return;
|
||||
}
|
||||
|
||||
$to = isset($_REQUEST['to']) ? trim((string) $_REQUEST['to']) : '';
|
||||
$result = MailNotifier_Plugin::sendTest($to);
|
||||
$this->renderResult(!empty($result['ok']), isset($result['message']) ? $result['message'] : '');
|
||||
}
|
||||
|
||||
/**
|
||||
* 插件设置备份 / 恢复
|
||||
*
|
||||
* 入口在「插件设置」页顶部,但动作不能交给 options-plugin.php:
|
||||
* 那页的表单是 Typecho 自己的保存表单,里面再嵌一个 form 属于非法 HTML,
|
||||
* 浏览器会把内层 form 丢掉,点备份反而触发一次「保存设置」。
|
||||
* 所以走独立路由,处理完 302 回设置页,用 _cnot 参数把结果带回去。
|
||||
*/
|
||||
public function settings()
|
||||
{
|
||||
if (!class_exists('MailNotifier_Settings')) {
|
||||
require_once dirname(__FILE__) . '/Settings.php';
|
||||
}
|
||||
|
||||
$user = null;
|
||||
try {
|
||||
$user = Typecho_Widget::widget('Widget_User');
|
||||
} catch (Exception $e) {
|
||||
$user = null;
|
||||
} catch (Throwable $e) {
|
||||
$user = null;
|
||||
}
|
||||
|
||||
$isAdmin = false;
|
||||
try {
|
||||
$isAdmin = $user && $user->pass('administrator', true);
|
||||
} catch (Exception $e) {
|
||||
$isAdmin = false;
|
||||
} catch (Throwable $e) {
|
||||
$isAdmin = false;
|
||||
}
|
||||
|
||||
if (!$isAdmin) {
|
||||
$this->redirectTo(MailNotifier_Plugin::configUrl('_cnot=auth'));
|
||||
return;
|
||||
}
|
||||
|
||||
if (!MailNotifier_Plugin::checkMailLogToken(isset($_GET['_']) ? (string) $_GET['_'] : '')) {
|
||||
$this->redirectTo(MailNotifier_Plugin::configUrl('_cnot=token'));
|
||||
return;
|
||||
}
|
||||
|
||||
$action = isset($_GET['do']) ? trim((string) $_GET['do']) : '';
|
||||
|
||||
if ($action === 'backup') {
|
||||
$result = MailNotifier_Settings::backup();
|
||||
if (!empty($result['ok'])) {
|
||||
$this->redirectTo(MailNotifier_Plugin::configUrl(
|
||||
'_cnot=backup_ok&n=' . intval($result['count'])
|
||||
. '&t=' . intval($result['created'])
|
||||
. '&f=' . intval(isset($result['total']) ? $result['total'] : 0)
|
||||
. '&k=' . intval(isset($result['keep']) ? $result['keep'] : 0)
|
||||
));
|
||||
return;
|
||||
}
|
||||
$this->redirectTo(MailNotifier_Plugin::configUrl(
|
||||
'_cnot=backup_fail&detail=' . rawurlencode((string) $result['message'])
|
||||
));
|
||||
return;
|
||||
}
|
||||
|
||||
if ($action === 'restore') {
|
||||
/* 不传 file 就是恢复最新一份;传了走文件名白名单校验(restoreLatest 内部
|
||||
还会再 basename + isBackupName 校验一次,这里只挡住数组之类的怪值) */
|
||||
$file = isset($_GET['file']) && is_scalar($_GET['file']) ? trim((string) $_GET['file']) : '';
|
||||
$result = MailNotifier_Settings::restoreLatest($file);
|
||||
if (!empty($result['ok'])) {
|
||||
$this->redirectTo(MailNotifier_Plugin::configUrl(
|
||||
'_cnot=restore_ok&n=' . intval($result['count']) . '&t=' . intval($result['created'])
|
||||
));
|
||||
return;
|
||||
}
|
||||
$this->redirectTo(MailNotifier_Plugin::configUrl(
|
||||
'_cnot=restore_fail&detail=' . rawurlencode((string) $result['message'])
|
||||
));
|
||||
return;
|
||||
}
|
||||
|
||||
$this->redirectTo(MailNotifier_Plugin::configUrl('_cnot=unknown'));
|
||||
}
|
||||
|
||||
/**
|
||||
* 跳转(优先走 Typecho 的 Response,它会正确记下 302)
|
||||
*/
|
||||
private function redirectTo($url)
|
||||
{
|
||||
try {
|
||||
if (isset($this->response) && is_object($this->response) && method_exists($this->response, 'redirect')) {
|
||||
$this->response->redirect($url);
|
||||
exit;
|
||||
}
|
||||
} catch (Exception $e) {
|
||||
} catch (Throwable $e) {
|
||||
}
|
||||
|
||||
header('Location: ' . $url, true, 302);
|
||||
exit;
|
||||
}
|
||||
|
||||
private function renderResult($ok, $message)
|
||||
{
|
||||
$title = $ok ? '测试邮件发送成功' : '测试邮件发送失败';
|
||||
$badge = $ok ? '成功' : '失败';
|
||||
$color = $ok ? '#2f8a57' : '#b4503f';
|
||||
$bg = $ok ? 'rgba(47,138,87,.10)' : 'rgba(180,80,63,.10)';
|
||||
echo '<!doctype html><html><head><meta charset="utf-8"><title>' . MailNotifier_Plugin::e($title) . '</title><meta name="viewport" content="width=device-width,initial-scale=1"><style>body{margin:0;background:#f7f1e8;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:#332b24}.wrap{max-width:620px;margin:9vh auto;padding:0 18px}.card{border:1px solid rgba(126,96,60,.16);border-radius:22px;background:rgba(255,255,255,.92);box-shadow:0 18px 46px rgba(74,54,34,.10);overflow:hidden}.head{padding:26px 28px;background:linear-gradient(135deg,#fffdf8,#f5eadc);border-bottom:1px solid rgba(126,96,60,.12)}.badge{display:inline-flex;align-items:center;height:28px;padding:0 13px;border-radius:999px;font-size:12px;font-weight:800;letter-spacing:.08em}.body{padding:24px 28px 28px}.body p{margin:0;color:#7d6b5a;line-height:1.8}.btn{margin-top:20px;display:inline-flex;height:40px;padding:0 18px;align-items:center;border-radius:999px;text-decoration:none;color:#fff;background:linear-gradient(135deg,#8b633b,#a77b4c);font-size:13px;font-weight:800}@media (prefers-color-scheme:dark){body{background:#0f1725;color:#e8eef7}.card{background:#1b2635;border-color:rgba(255,255,255,.10);box-shadow:0 18px 46px rgba(0,0,0,.5)}.head{background:linear-gradient(135deg,#202c3d,#1a2434);border-bottom-color:rgba(255,255,255,.10)}.body p{color:#9aa8bb}}</style></head><body><div class="wrap"><div class="card"><div class="head"><span class="badge" style="color:' . $color . ';background:' . $bg . '">' . $badge . '</span><h1 style="margin:16px 0 0;font-size:24px;line-height:1.35">' . MailNotifier_Plugin::e($title) . '</h1></div><div class="body"><p>' . MailNotifier_Plugin::e($message) . '</p><a class="btn" href="javascript:window.close();">关闭页面</a></div></div></div></body></html>';
|
||||
}
|
||||
}
|
||||
38
CHANGELOG.md
Normal file
38
CHANGELOG.md
Normal file
@@ -0,0 +1,38 @@
|
||||
# MailNotifier 更新日志
|
||||
|
||||
> 本文件记录本插件的所有修改与变化。本次整理(2026-11-22)为规范化记录起点。
|
||||
|
||||
## 插件信息
|
||||
|
||||
- 名称:MailNotifier
|
||||
- 版本:2.0.3
|
||||
- 作者:石头厝
|
||||
- 说明:邮件通知插件
|
||||
|
||||
## 记录格式约定
|
||||
|
||||
每次修改按如下格式在**最上方**追加一条记录(新的在上):
|
||||
|
||||
```
|
||||
## YYYY-MM-DD · 版本号 —— 一句话概述
|
||||
|
||||
- 改动点 1
|
||||
- 改动点 2
|
||||
- 影响范围 / 注意事项(若有)
|
||||
- 对应备份:备份/YYYY-MM-DD-修改内容简短说明修改前/
|
||||
```
|
||||
|
||||
## 2026-11-22 · 2.0.3 —— 统一作者与链接
|
||||
|
||||
- `Plugin.php` 头部 `@author` 统一为「石头厝」
|
||||
- `@link` 统一为 `https://www.shitoucuo.com/`
|
||||
- 影响范围:仅头部元信息,不涉及功能代码
|
||||
- 对应备份:`备份/2026-11-22-统一作者和链接修改前/`
|
||||
|
||||
---
|
||||
|
||||
## 2026-11-22 · 2.0.3 —— 建立规范化备份与更新日志
|
||||
|
||||
- 建立 `备份/` 文件夹并生成本次整理前全量备份 `备份/2026-11-22-规范化整理修改前/`
|
||||
- 创建本更新日志,作为后续所有修改的记录起点
|
||||
- 说明:本次仅做规范化整理,未改动插件功能代码
|
||||
19
CONTRIBUTING.md
Normal file
19
CONTRIBUTING.md
Normal file
@@ -0,0 +1,19 @@
|
||||
# 贡献指南
|
||||
|
||||
欢迎对本插件提出改进建议或提交代码。
|
||||
|
||||
## 提交前检查
|
||||
|
||||
- 仅提交插件实现代码、资源与必要文档,不提交依赖目录、编译产物、运行时数据或备份文件。
|
||||
- 保持现有目录结构;如新增平台适配代码,请在 `README.md` 的目录结构中说明。
|
||||
- 涉及对外服务或凭据的配置不要写入代码或文档。
|
||||
|
||||
## 提交流程
|
||||
|
||||
1. Fork 仓库并创建功能分支。
|
||||
2. 完成修改后提交 Pull Request,说明改动目的与影响范围。
|
||||
3. 重要功能变更请同步更新 `CHANGELOG.md`。
|
||||
|
||||
## 问题反馈
|
||||
|
||||
请通过仓库 Issue 反馈问题,并尽可能提供插件类型、版本与复现步骤。
|
||||
21
LICENSE
Normal file
21
LICENSE
Normal file
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2026 石头厝
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
813
MailLog.php
Normal file
813
MailLog.php
Normal file
File diff suppressed because it is too large
Load Diff
916
Manage.php
Normal file
916
Manage.php
Normal file
File diff suppressed because it is too large
Load Diff
1897
Plugin.php
Normal file
1897
Plugin.php
Normal file
File diff suppressed because it is too large
Load Diff
31
README.md
31
README.md
@@ -1,2 +1,33 @@
|
||||
# MailNotifier
|
||||
|
||||
> 仓库:`MailNotifier` · 类型:Typecho 插件 · 版本:`2.0.3` · 作者:石头厝
|
||||
|
||||
Typecho 邮件通知插件。
|
||||
|
||||
本仓库同步自本地插件源码,**仅包含插件实现代码与必要资源**;不包含依赖、构建工具、编译产物、环境配置或备份数据。
|
||||
|
||||
## 目录结构
|
||||
|
||||
- `Action.php`
|
||||
- `MailLog.php`
|
||||
- `Manage.php`
|
||||
- `Plugin.php`
|
||||
- `Settings.php`
|
||||
- `template/`
|
||||
|
||||
## 安装与使用
|
||||
|
||||
1. 将本仓库目录复制到 Typecho 站点的 `usr/plugins/<仓库名>/`。
|
||||
2. 在 Typecho 后台「插件」管理中启用并按站点配置。
|
||||
|
||||
## 开发与贡献
|
||||
|
||||
详见 [CONTRIBUTING.md](CONTRIBUTING.md)。
|
||||
|
||||
## 授权
|
||||
|
||||
授权条款见 [LICENSE](LICENSE)(MIT License)。第三方组件版权归各自作者所有。
|
||||
|
||||
## 变更记录
|
||||
|
||||
详见 [CHANGELOG.md](CHANGELOG.md)。
|
||||
|
||||
722
Settings.php
Normal file
722
Settings.php
Normal file
File diff suppressed because it is too large
Load Diff
25
template/bamboo/guest.html
Normal file
25
template/bamboo/guest.html
Normal file
@@ -0,0 +1,25 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="format-detection" content="telephone=no,date=no,address=no,email=no"><title>评论回复通知</title></head>
|
||||
<body style="margin:0;background-color:#f8f8f8;padding:100px 0;font-family:'lucida Grande',Verdana,'Microsoft YaHei';font-size:13px;line-height:1.7;word-wrap:break-word;overflow:auto;color:#253827;">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation" style="width:100%;background-color:#f8f8f8;"><tr><td align="center" style="padding:0 12px;">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation" style="width:100%;max-width:640px;margin:0 auto;background-color:#fffefb;border:1px solid #dbe9dc;border-radius:10px;box-shadow:0 12px 28px rgba(45,89,50,.10);">
|
||||
<tr><td height="10" bgcolor="#6a9b70" style="height:10px;background-color:#6a9b70;border-radius:10px 10px 0 0;font-size:0;line-height:0;"> </td></tr>
|
||||
<tr><td style="padding:30px 24px 28px;">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation">
|
||||
<tr><td align="center" style="font-size:12px;color:#6a9b70;font-weight:bold;padding:0 0 8px;">回复通知</td></tr>
|
||||
<tr><td align="center" style="font-size:23px;line-height:1.35;font-weight:bold;color:#2f4d34;padding:0 0 6px;">你的评论收到了回复</td></tr>
|
||||
<tr><td align="center" style="font-size:13px;color:#69786b;padding:0 0 24px;">你在文章《{title}》下的评论有了新回复。</td></tr>
|
||||
</table>
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation" style="background-color:#f6fbf6;border:1px solid #d7ead9;border-radius:8px;"><tr><td style="padding:14px 16px;color:#344a36;font-size:13px;line-height:1.7;word-break:break-word;"><strong>你的评论:</strong><br>{Ptext}<br style="line-height:8px;"><span style="display:block;height:12px;line-height:12px;font-size:0;"> </span><strong>新的回复:</strong><br>{commentText}</td></tr></table>
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation" style="margin-top:22px;border-top:1px solid #e2eee3;border-collapse:collapse;">
|
||||
<tr><td width="78" valign="top" style="width:78px;padding:11px 10px 11px 0;color:#718874;border-bottom:1px solid #e2eee3;font-size:13px;white-space:nowrap;">回复人:</td><td valign="top" style="padding:11px 0;color:#253827;font-weight:bold;border-bottom:1px solid #e2eee3;font-size:13px;word-break:break-all;">{author}</td></tr>
|
||||
<tr><td width="78" valign="top" style="width:78px;padding:11px 10px 11px 0;color:#718874;border-bottom:1px solid #e2eee3;font-size:13px;white-space:nowrap;">邮箱:</td><td valign="top" style="padding:11px 0;border-bottom:1px solid #e2eee3;font-size:13px;word-break:break-all;"><a href="mailto:{mail}" style="color:#40835a;text-decoration:underline;font-weight:bold;">{mail}</a></td></tr>
|
||||
<tr><td width="78" valign="top" style="width:78px;padding:11px 10px 11px 0;color:#718874;border-bottom:1px solid #e2eee3;font-size:13px;white-space:nowrap;">IP 地址:</td><td valign="top" style="padding:11px 0;color:#253827;font-weight:bold;border-bottom:1px solid #e2eee3;font-size:13px;word-break:break-all;">{ip}</td></tr>
|
||||
<tr><td width="78" valign="top" style="width:78px;padding:11px 10px 11px 0;color:#718874;border-bottom:1px solid #e2eee3;font-size:13px;white-space:nowrap;">时间:</td><td valign="top" style="padding:11px 0;color:#253827;font-weight:bold;border-bottom:1px solid #e2eee3;font-size:13px;word-break:break-all;">{time}</td></tr>
|
||||
</table>
|
||||
<table align="center" cellpadding="0" cellspacing="0" border="0" role="presentation" style="margin:24px auto 0;"><tr><td bgcolor="#47794b" align="center" style="background-color:#47794b;border-radius:5px;"><a href="{permalink}" style="display:block;width:190px;max-width:100%;padding:10px 0;color:#ffffff;text-decoration:none;font-size:13px;font-weight:bold;">查看回复内容</a></td></tr></table>
|
||||
</td></tr>
|
||||
</table>
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation" style="width:100%;max-width:640px;margin:0 auto;"><tr><td align="center" style="padding:18px 10px 0;color:#8c9b8e;font-size:12px;">此邮件由 <strong>{siteTitle}</strong> 自动发送,请勿直接回复。</td></tr></table>
|
||||
</td></tr></table></body></html>
|
||||
25
template/bamboo/notice.html
Normal file
25
template/bamboo/notice.html
Normal file
@@ -0,0 +1,25 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>待审核评论</title></head>
|
||||
<body style="margin:0;background-color:#f8f8f8;padding:100px 0;font-family:'lucida Grande',Verdana,'Microsoft YaHei';font-size:13px;line-height:1.7;word-wrap:break-word;overflow:auto;color:#253827;">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation" style="width:100%;background-color:#f8f8f8;"><tr><td align="center" style="padding:0 12px;">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation" style="width:100%;max-width:640px;margin:0 auto;background-color:#fffefb;border:1px solid #dbe9dc;border-radius:10px;box-shadow:0 12px 28px rgba(45,89,50,.10);">
|
||||
<tr><td height="10" bgcolor="#6a9b70" style="height:10px;background-color:#6a9b70;border-radius:10px 10px 0 0;font-size:0;line-height:0;"> </td></tr>
|
||||
<tr><td style="padding:30px 24px 28px;">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation">
|
||||
<tr><td align="center" style="font-size:12px;color:#6a9b70;font-weight:bold;padding:0 0 8px;">评论通知</td></tr>
|
||||
<tr><td align="center" style="font-size:23px;line-height:1.35;font-weight:bold;color:#2f4d34;padding:0 0 6px;">有一条评论等待审核</td></tr>
|
||||
<tr><td align="center" style="font-size:13px;color:#69786b;padding:0 0 24px;">文章《{title}》收到待审核评论。</td></tr>
|
||||
</table>
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation" style="background-color:#f6fbf6;border:1px solid #d7ead9;border-radius:8px;"><tr><td style="padding:14px 16px;color:#344a36;font-size:13px;line-height:1.8;word-break:break-word;">{commentText}</td></tr></table>
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation" style="margin-top:22px;border-top:1px solid #e2eee3;border-collapse:collapse;">
|
||||
<tr><td width="78" valign="top" style="width:78px;padding:11px 10px 11px 0;color:#718874;border-bottom:1px solid #e2eee3;font-size:13px;white-space:nowrap;">评论人:</td><td valign="top" style="padding:11px 0;color:#253827;font-weight:bold;border-bottom:1px solid #e2eee3;font-size:13px;word-break:break-all;">{author}</td></tr>
|
||||
<tr><td width="78" valign="top" style="width:78px;padding:11px 10px 11px 0;color:#718874;border-bottom:1px solid #e2eee3;font-size:13px;white-space:nowrap;">邮箱:</td><td valign="top" style="padding:11px 0;border-bottom:1px solid #e2eee3;font-size:13px;word-break:break-all;"><a href="mailto:{mail}" style="color:#40835a;text-decoration:underline;font-weight:bold;">{mail}</a></td></tr>
|
||||
<tr><td width="78" valign="top" style="width:78px;padding:11px 10px 11px 0;color:#718874;border-bottom:1px solid #e2eee3;font-size:13px;white-space:nowrap;">IP 地址:</td><td valign="top" style="padding:11px 0;color:#253827;font-weight:bold;border-bottom:1px solid #e2eee3;font-size:13px;word-break:break-all;">{ip}</td></tr>
|
||||
<tr><td width="78" valign="top" style="width:78px;padding:11px 10px 11px 0;color:#718874;border-bottom:1px solid #e2eee3;font-size:13px;white-space:nowrap;">时间:</td><td valign="top" style="padding:11px 0;color:#253827;font-weight:bold;border-bottom:1px solid #e2eee3;font-size:13px;word-break:break-all;">{time}</td></tr>
|
||||
</table>
|
||||
<table align="center" cellpadding="0" cellspacing="0" border="0" role="presentation" style="margin:24px auto 0;"><tr><td bgcolor="#47794b" align="center" style="background-color:#47794b;border-radius:5px;"><a href="{manageurl}" style="display:block;width:190px;max-width:100%;padding:10px 0;color:#ffffff;text-decoration:none;font-size:13px;font-weight:bold;">立即前往审核</a></td></tr></table>
|
||||
</td></tr>
|
||||
</table>
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation" style="width:100%;max-width:640px;margin:0 auto;"><tr><td align="center" style="padding:18px 10px 0;color:#8c9b8e;font-size:12px;">此邮件由 <strong>{siteTitle}</strong> 自动发送,请勿直接回复。</td></tr></table>
|
||||
</td></tr></table></body></html>
|
||||
25
template/bamboo/owner.html
Normal file
25
template/bamboo/owner.html
Normal file
@@ -0,0 +1,25 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>新评论通知</title></head>
|
||||
<body style="margin:0;background-color:#f8f8f8;padding:100px 0;font-family:'lucida Grande',Verdana,'Microsoft YaHei';font-size:13px;line-height:1.7;word-wrap:break-word;overflow:auto;color:#253827;">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation" style="width:100%;background-color:#f8f8f8;"><tr><td align="center" style="padding:0 12px;">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation" style="width:100%;max-width:640px;margin:0 auto;background-color:#fffefb;border:1px solid #dbe9dc;border-radius:10px;box-shadow:0 12px 28px rgba(45,89,50,.10);">
|
||||
<tr><td height="10" bgcolor="#6a9b70" style="height:10px;background-color:#6a9b70;border-radius:10px 10px 0 0;font-size:0;line-height:0;"> </td></tr>
|
||||
<tr><td style="padding:30px 24px 28px;">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation">
|
||||
<tr><td align="center" style="font-size:12px;color:#6a9b70;font-weight:bold;padding:0 0 8px;">评论通知</td></tr>
|
||||
<tr><td align="center" style="font-size:23px;line-height:1.35;font-weight:bold;color:#2f4d34;padding:0 0 6px;">你的文章收到新评论</td></tr>
|
||||
<tr><td align="center" style="font-size:13px;color:#69786b;padding:0 0 24px;">文章《{title}》收到一条新评论。</td></tr>
|
||||
</table>
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation" style="background-color:#f6fbf6;border:1px solid #d7ead9;border-radius:8px;"><tr><td style="padding:14px 16px;color:#344a36;font-size:13px;line-height:1.8;word-break:break-word;">{commentText}</td></tr></table>
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation" style="margin-top:22px;border-top:1px solid #e2eee3;border-collapse:collapse;">
|
||||
<tr><td width="78" valign="top" style="width:78px;padding:11px 10px 11px 0;color:#718874;border-bottom:1px solid #e2eee3;font-size:13px;white-space:nowrap;">评论人:</td><td valign="top" style="padding:11px 0;color:#253827;font-weight:bold;border-bottom:1px solid #e2eee3;font-size:13px;word-break:break-all;">{author}</td></tr>
|
||||
<tr><td width="78" valign="top" style="width:78px;padding:11px 10px 11px 0;color:#718874;border-bottom:1px solid #e2eee3;font-size:13px;white-space:nowrap;">邮箱:</td><td valign="top" style="padding:11px 0;border-bottom:1px solid #e2eee3;font-size:13px;word-break:break-all;"><a href="mailto:{mail}" style="color:#40835a;text-decoration:underline;font-weight:bold;">{mail}</a></td></tr>
|
||||
<tr><td width="78" valign="top" style="width:78px;padding:11px 10px 11px 0;color:#718874;border-bottom:1px solid #e2eee3;font-size:13px;white-space:nowrap;">IP 地址:</td><td valign="top" style="padding:11px 0;color:#253827;font-weight:bold;border-bottom:1px solid #e2eee3;font-size:13px;word-break:break-all;">{ip}</td></tr>
|
||||
<tr><td width="78" valign="top" style="width:78px;padding:11px 10px 11px 0;color:#718874;border-bottom:1px solid #e2eee3;font-size:13px;white-space:nowrap;">时间:</td><td valign="top" style="padding:11px 0;color:#253827;font-weight:bold;border-bottom:1px solid #e2eee3;font-size:13px;word-break:break-all;">{time}</td></tr>
|
||||
</table>
|
||||
<table align="center" cellpadding="0" cellspacing="0" border="0" role="presentation" style="margin:24px auto 0;"><tr><td bgcolor="#47794b" align="center" style="background-color:#47794b;border-radius:5px;"><a href="{permalink}" style="display:block;width:190px;max-width:100%;padding:10px 0;color:#ffffff;text-decoration:none;font-size:13px;font-weight:bold;">查看评论详情</a></td></tr></table>
|
||||
</td></tr>
|
||||
</table>
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation" style="width:100%;max-width:640px;margin:0 auto;"><tr><td align="center" style="padding:18px 10px 0;color:#8c9b8e;font-size:12px;">此邮件由 <strong>{siteTitle}</strong> 自动发送,请勿直接回复。</td></tr></table>
|
||||
</td></tr></table></body></html>
|
||||
40
template/inkcard/guest.html
Normal file
40
template/inkcard/guest.html
Normal file
@@ -0,0 +1,40 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
<meta name="format-detection" content="telephone=no,date=no,address=no,email=no">
|
||||
<title>评论回复通知</title>
|
||||
</head>
|
||||
<body style="margin:0;background-color:#f8f8f8;padding:100px 0;font-family:'lucida Grande',Verdana,'Microsoft YaHei';font-size:13px;line-height:1.7;word-wrap:break-word;overflow:auto;color:#332b24;">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation" style="width:100%;background-color:#f8f8f8;">
|
||||
<tr>
|
||||
<td align="center" style="padding:0 12px;">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation" style="width:100%;max-width:640px;margin:0 auto;">
|
||||
<tr>
|
||||
<td style="background-color:#fffdf9;border:1px solid #eadfce;border-radius:10px;padding:28px 22px 28px;box-shadow:0 12px 28px rgba(91,68,42,.10);">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation">
|
||||
<tr><td align="center" style="padding:0 0 12px;"><span style="display:inline-block;background-color:#f2eadf;color:#956330;border-radius:16px;padding:4px 13px;font-size:12px;font-weight:bold;line-height:1.4;">回复通知</span></td></tr>
|
||||
<tr><td align="center" style="font-size:23px;line-height:1.35;font-weight:bold;color:#33251d;padding:0 0 6px;">你的评论收到了回复</td></tr>
|
||||
<tr><td align="center" style="font-size:13px;color:#66584b;padding:0 0 12px;">你在文章《{title}》下的评论有了新回复。</td></tr>
|
||||
<tr><td align="center" style="padding:0 0 24px;"><table cellpadding="0" cellspacing="0" border="0" role="presentation"><tr><td width="34" height="3" style="background-color:#9b6a37;font-size:0;line-height:0;"> </td></tr></table></td></tr>
|
||||
</table>
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation" style="width:100%;background-color:#fffaf4;border:1px solid #ead8c4;border-radius:9px;">
|
||||
<tr><td style="padding:14px 18px;color:#44382e;font-size:13px;line-height:1.7;word-break:break-word;"><strong>你的评论:</strong><br>{Ptext}<br style="line-height:8px;"><span style="display:block;height:12px;line-height:12px;font-size:0;"> </span><strong>新的回复:</strong><br>{commentText}</td></tr>
|
||||
</table>
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation" style="width:100%;margin-top:24px;border-top:1px dashed #eaddcc;border-collapse:collapse;">
|
||||
<tr><td width="72" valign="top" style="width:72px;padding:11px 10px 11px 0;color:#7e7063;border-bottom:1px dashed #eaddcc;font-size:13px;white-space:nowrap;">回复人:</td><td valign="top" style="padding:11px 0;color:#2e2823;font-weight:bold;border-bottom:1px dashed #eaddcc;font-size:13px;word-break:break-all;">{author}</td></tr>
|
||||
<tr><td width="72" valign="top" style="width:72px;padding:11px 10px 11px 0;color:#7e7063;border-bottom:1px dashed #eaddcc;font-size:13px;white-space:nowrap;">邮箱:</td><td valign="top" style="padding:11px 0;border-bottom:1px dashed #eaddcc;font-size:13px;word-break:break-all;"><a href="mailto:{mail}" style="color:#2f6fb3;text-decoration:underline;font-weight:bold;">{mail}</a></td></tr>
|
||||
<tr><td width="72" valign="top" style="width:72px;padding:11px 10px 11px 0;color:#7e7063;border-bottom:1px dashed #eaddcc;font-size:13px;white-space:nowrap;">IP:</td><td valign="top" style="padding:11px 0;color:#2e2823;font-weight:bold;border-bottom:1px dashed #eaddcc;font-size:13px;word-break:break-all;">{ip}</td></tr>
|
||||
<tr><td width="72" valign="top" style="width:72px;padding:11px 10px 11px 0;color:#7e7063;border-bottom:1px dashed #eaddcc;font-size:13px;white-space:nowrap;">时间:</td><td valign="top" style="padding:11px 0;color:#2e2823;font-weight:bold;border-bottom:1px dashed #eaddcc;font-size:13px;word-break:break-all;">{time}</td></tr>
|
||||
</table>
|
||||
<table align="center" cellpadding="0" cellspacing="0" border="0" role="presentation" style="margin:24px auto 0;"><tr><td align="center" bgcolor="#956330" style="border-radius:6px;background-color:#956330;"><a href="{permalink}" style="display:block;width:180px;max-width:100%;padding:10px 0;color:#ffffff;text-decoration:none;font-size:13px;font-weight:bold;line-height:1.4;">查看回复内容</a></td></tr></table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="center" style="padding:18px 10px 0;color:#9a9087;font-size:12px;">此邮件由 <strong style="color:#8f663b;">{siteTitle}</strong> 自动发送,请勿直接回复。</td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
39
template/inkcard/notice.html
Normal file
39
template/inkcard/notice.html
Normal file
@@ -0,0 +1,39 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
<title>待审核评论</title>
|
||||
</head>
|
||||
<body style="margin:0;background-color:#f8f8f8;padding:100px 0;font-family:'lucida Grande',Verdana,'Microsoft YaHei';font-size:13px;line-height:1.7;word-wrap:break-word;overflow:auto;color:#332b24;">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation" style="width:100%;background-color:#f8f8f8;">
|
||||
<tr>
|
||||
<td align="center" style="padding:0 12px;">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation" style="width:100%;max-width:640px;margin:0 auto;">
|
||||
<tr>
|
||||
<td style="background-color:#fffdf9;border:1px solid #eadfce;border-radius:10px;padding:28px 22px 28px;box-shadow:0 12px 28px rgba(91,68,42,.10);">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation">
|
||||
<tr><td align="center" style="padding:0 0 12px;"><span style="display:inline-block;background-color:#f2eadf;color:#956330;border-radius:16px;padding:4px 13px;font-size:12px;font-weight:bold;line-height:1.4;">评论通知</span></td></tr>
|
||||
<tr><td align="center" style="font-size:23px;line-height:1.35;font-weight:bold;color:#33251d;padding:0 0 6px;">有一条评论等待审核</td></tr>
|
||||
<tr><td align="center" style="font-size:13px;color:#66584b;padding:0 0 12px;">文章《{title}》收到待审核评论。</td></tr>
|
||||
<tr><td align="center" style="padding:0 0 24px;"><table cellpadding="0" cellspacing="0" border="0" role="presentation"><tr><td width="34" height="3" style="background-color:#9b6a37;font-size:0;line-height:0;"> </td></tr></table></td></tr>
|
||||
</table>
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation" style="width:100%;background-color:#fffaf4;border:1px solid #ead8c4;border-radius:9px;">
|
||||
<tr><td style="padding:16px 18px;color:#44382e;font-size:13px;line-height:1.8;word-break:break-word;">{commentText}</td></tr>
|
||||
</table>
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation" style="width:100%;margin-top:24px;border-top:1px dashed #eaddcc;border-collapse:collapse;">
|
||||
<tr><td width="72" valign="top" style="width:72px;padding:11px 10px 11px 0;color:#7e7063;border-bottom:1px dashed #eaddcc;font-size:13px;white-space:nowrap;">评论人:</td><td valign="top" style="padding:11px 0;color:#2e2823;font-weight:bold;border-bottom:1px dashed #eaddcc;font-size:13px;word-break:break-all;">{author}</td></tr>
|
||||
<tr><td width="72" valign="top" style="width:72px;padding:11px 10px 11px 0;color:#7e7063;border-bottom:1px dashed #eaddcc;font-size:13px;white-space:nowrap;">邮箱:</td><td valign="top" style="padding:11px 0;border-bottom:1px dashed #eaddcc;font-size:13px;word-break:break-all;"><a href="mailto:{mail}" style="color:#2f6fb3;text-decoration:underline;font-weight:bold;">{mail}</a></td></tr>
|
||||
<tr><td width="72" valign="top" style="width:72px;padding:11px 10px 11px 0;color:#7e7063;border-bottom:1px dashed #eaddcc;font-size:13px;white-space:nowrap;">IP:</td><td valign="top" style="padding:11px 0;color:#2e2823;font-weight:bold;border-bottom:1px dashed #eaddcc;font-size:13px;word-break:break-all;">{ip}</td></tr>
|
||||
<tr><td width="72" valign="top" style="width:72px;padding:11px 10px 11px 0;color:#7e7063;border-bottom:1px dashed #eaddcc;font-size:13px;white-space:nowrap;">时间:</td><td valign="top" style="padding:11px 0;color:#2e2823;font-weight:bold;border-bottom:1px dashed #eaddcc;font-size:13px;word-break:break-all;">{time}</td></tr>
|
||||
</table>
|
||||
<table align="center" cellpadding="0" cellspacing="0" border="0" role="presentation" style="margin:24px auto 0;"><tr><td align="center" bgcolor="#956330" style="border-radius:6px;background-color:#956330;"><a href="{manageurl}" style="display:block;width:180px;max-width:100%;padding:10px 0;color:#ffffff;text-decoration:none;font-size:13px;font-weight:bold;line-height:1.4;">立即前往审核</a></td></tr></table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="center" style="padding:18px 10px 0;color:#9a9087;font-size:12px;">此邮件由 <strong style="color:#8f663b;">{siteTitle}</strong> 自动发送,请勿直接回复。</td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
39
template/inkcard/owner.html
Normal file
39
template/inkcard/owner.html
Normal file
@@ -0,0 +1,39 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
<title>新评论通知</title>
|
||||
</head>
|
||||
<body style="margin:0;background-color:#f8f8f8;padding:100px 0;font-family:'lucida Grande',Verdana,'Microsoft YaHei';font-size:13px;line-height:1.7;word-wrap:break-word;overflow:auto;color:#332b24;">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation" style="width:100%;background-color:#f8f8f8;">
|
||||
<tr>
|
||||
<td align="center" style="padding:0 12px;">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation" style="width:100%;max-width:640px;margin:0 auto;">
|
||||
<tr>
|
||||
<td style="background-color:#fffdf9;border:1px solid #eadfce;border-radius:10px;padding:28px 22px 28px;box-shadow:0 12px 28px rgba(91,68,42,.10);">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation">
|
||||
<tr><td align="center" style="padding:0 0 12px;"><span style="display:inline-block;background-color:#f2eadf;color:#956330;border-radius:16px;padding:4px 13px;font-size:12px;font-weight:bold;line-height:1.4;">评论通知</span></td></tr>
|
||||
<tr><td align="center" style="font-size:23px;line-height:1.35;font-weight:bold;color:#33251d;padding:0 0 6px;">你的文章收到新评论</td></tr>
|
||||
<tr><td align="center" style="font-size:13px;color:#66584b;padding:0 0 12px;">文章《{title}》收到一条新评论。</td></tr>
|
||||
<tr><td align="center" style="padding:0 0 24px;"><table cellpadding="0" cellspacing="0" border="0" role="presentation"><tr><td width="34" height="3" style="background-color:#9b6a37;font-size:0;line-height:0;"> </td></tr></table></td></tr>
|
||||
</table>
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation" style="width:100%;background-color:#fffaf4;border:1px solid #ead8c4;border-radius:9px;">
|
||||
<tr><td style="padding:16px 18px;color:#44382e;font-size:13px;line-height:1.8;word-break:break-word;">{commentText}</td></tr>
|
||||
</table>
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation" style="width:100%;margin-top:24px;border-top:1px dashed #eaddcc;border-collapse:collapse;">
|
||||
<tr><td width="72" valign="top" style="width:72px;padding:11px 10px 11px 0;color:#7e7063;border-bottom:1px dashed #eaddcc;font-size:13px;white-space:nowrap;">评论人:</td><td valign="top" style="padding:11px 0;color:#2e2823;font-weight:bold;border-bottom:1px dashed #eaddcc;font-size:13px;word-break:break-all;">{author}</td></tr>
|
||||
<tr><td width="72" valign="top" style="width:72px;padding:11px 10px 11px 0;color:#7e7063;border-bottom:1px dashed #eaddcc;font-size:13px;white-space:nowrap;">邮箱:</td><td valign="top" style="padding:11px 0;border-bottom:1px dashed #eaddcc;font-size:13px;word-break:break-all;"><a href="mailto:{mail}" style="color:#2f6fb3;text-decoration:underline;font-weight:bold;">{mail}</a></td></tr>
|
||||
<tr><td width="72" valign="top" style="width:72px;padding:11px 10px 11px 0;color:#7e7063;border-bottom:1px dashed #eaddcc;font-size:13px;white-space:nowrap;">IP:</td><td valign="top" style="padding:11px 0;color:#2e2823;font-weight:bold;border-bottom:1px dashed #eaddcc;font-size:13px;word-break:break-all;">{ip}</td></tr>
|
||||
<tr><td width="72" valign="top" style="width:72px;padding:11px 10px 11px 0;color:#7e7063;border-bottom:1px dashed #eaddcc;font-size:13px;white-space:nowrap;">时间:</td><td valign="top" style="padding:11px 0;color:#2e2823;font-weight:bold;border-bottom:1px dashed #eaddcc;font-size:13px;word-break:break-all;">{time}</td></tr>
|
||||
</table>
|
||||
<table align="center" cellpadding="0" cellspacing="0" border="0" role="presentation" style="margin:24px auto 0;"><tr><td align="center" bgcolor="#956330" style="border-radius:6px;background-color:#956330;"><a href="{permalink}" style="display:block;width:180px;max-width:100%;padding:10px 0;color:#ffffff;text-decoration:none;font-size:13px;font-weight:bold;line-height:1.4;">查看评论详情</a></td></tr></table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td align="center" style="padding:18px 10px 0;color:#9a9087;font-size:12px;">此邮件由 <strong style="color:#8f663b;">{siteTitle}</strong> 自动发送,请勿直接回复。</td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
25
template/landscape/guest.html
Normal file
25
template/landscape/guest.html
Normal file
@@ -0,0 +1,25 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="format-detection" content="telephone=no,date=no,address=no,email=no"><title>评论回复通知</title></head>
|
||||
<body style="margin:0;background-color:#f8f8f8;padding:100px 0;font-family:'lucida Grande',Verdana,'Microsoft YaHei';font-size:13px;line-height:1.7;word-wrap:break-word;overflow:auto;color:#1f2937;">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation" style="width:100%;background-color:#f8f8f8;"><tr><td align="center" style="padding:0 12px;">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation" style="width:100%;max-width:640px;margin:0 auto;">
|
||||
<tr><td height="4" bgcolor="#2f73d9" style="height:4px;background-color:#2f73d9;border-radius:10px 10px 0 0;font-size:0;line-height:0;"> </td></tr>
|
||||
<tr><td style="background-color:#ffffff;border:1px solid #dce8fb;border-top:0;border-radius:0 0 10px 10px;padding:30px 24px 28px;box-shadow:0 12px 28px rgba(36,91,170,.12);">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation">
|
||||
<tr><td align="center" style="padding:0 0 12px;"><span style="display:inline-block;width:44px;height:44px;line-height:44px;border-radius:22px;background-color:#2f73d9;color:#ffffff;font-size:20px;font-weight:bold;">!</span></td></tr>
|
||||
<tr><td align="center" style="font-size:12px;color:#2f73d9;font-weight:bold;padding:0 0 8px;">回复通知</td></tr>
|
||||
<tr><td align="center" style="font-size:23px;line-height:1.35;font-weight:bold;color:#1f2937;padding:0 0 6px;">你的评论收到了回复</td></tr>
|
||||
<tr><td align="center" style="font-size:13px;color:#5b6778;padding:0 0 12px;">你在文章《{title}》下的评论有了新回复。</td></tr>
|
||||
<tr><td align="center" style="padding:0 0 24px;"><table cellpadding="0" cellspacing="0" border="0" role="presentation"><tr><td width="34" height="3" bgcolor="#2f73d9" style="background-color:#2f73d9;font-size:0;line-height:0;"> </td></tr></table></td></tr>
|
||||
</table>
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation" style="background-color:#f4f8ff;border:1px solid #cfe0fb;border-radius:8px;"><tr><td style="padding:14px 16px;color:#344054;font-size:13px;line-height:1.7;word-break:break-word;"><strong>你的评论:</strong><br>{Ptext}<br style="line-height:8px;"><span style="display:block;height:12px;line-height:12px;font-size:0;"> </span><strong>新的回复:</strong><br>{commentText}</td></tr></table>
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation" style="margin-top:22px;border-top:1px solid #e5edf8;border-collapse:collapse;">
|
||||
<tr><td width="78" valign="top" style="width:78px;padding:11px 10px 11px 0;color:#667085;border-bottom:1px solid #e5edf8;font-size:13px;white-space:nowrap;">回复人</td><td valign="top" style="padding:11px 0;color:#1f2937;font-weight:bold;border-bottom:1px solid #e5edf8;font-size:13px;word-break:break-all;">{author}</td></tr>
|
||||
<tr><td width="78" valign="top" style="width:78px;padding:11px 10px 11px 0;color:#667085;border-bottom:1px solid #e5edf8;font-size:13px;white-space:nowrap;">邮箱</td><td valign="top" style="padding:11px 0;border-bottom:1px solid #e5edf8;font-size:13px;word-break:break-all;"><a href="mailto:{mail}" style="color:#2f73d9;text-decoration:underline;font-weight:bold;">{mail}</a></td></tr>
|
||||
<tr><td width="78" valign="top" style="width:78px;padding:11px 10px 11px 0;color:#667085;border-bottom:1px solid #e5edf8;font-size:13px;white-space:nowrap;">IP 地址</td><td valign="top" style="padding:11px 0;color:#1f2937;font-weight:bold;border-bottom:1px solid #e5edf8;font-size:13px;word-break:break-all;">{ip}</td></tr>
|
||||
<tr><td width="78" valign="top" style="width:78px;padding:11px 10px 11px 0;color:#667085;border-bottom:1px solid #e5edf8;font-size:13px;white-space:nowrap;">回复时间</td><td valign="top" style="padding:11px 0;color:#1f2937;font-weight:bold;border-bottom:1px solid #e5edf8;font-size:13px;word-break:break-all;">{time}</td></tr>
|
||||
</table>
|
||||
<table align="center" cellpadding="0" cellspacing="0" border="0" role="presentation" style="margin:24px auto 0;"><tr><td bgcolor="#2f73d9" align="center" style="background-color:#2f73d9;border-radius:5px;"><a href="{permalink}" style="display:block;width:190px;max-width:100%;padding:10px 0;color:#ffffff;text-decoration:none;font-size:13px;font-weight:bold;">查看回复内容</a></td></tr></table>
|
||||
</td></tr><tr><td align="center" style="padding:18px 10px 0;color:#98a2b3;font-size:12px;">此邮件由 <strong>{siteTitle}</strong> 自动发送,请勿直接回复。</td></tr>
|
||||
</table></td></tr></table></body></html>
|
||||
24
template/landscape/notice.html
Normal file
24
template/landscape/notice.html
Normal file
@@ -0,0 +1,24 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>待审核评论</title></head>
|
||||
<body style="margin:0;background-color:#f8f8f8;padding:100px 0;font-family:'lucida Grande',Verdana,'Microsoft YaHei';font-size:13px;line-height:1.7;word-wrap:break-word;overflow:auto;color:#1f2937;">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation" style="width:100%;background-color:#f8f8f8;"><tr><td align="center" style="padding:0 12px;">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation" style="width:100%;max-width:640px;margin:0 auto;">
|
||||
<tr><td height="4" bgcolor="#2f73d9" style="height:4px;background-color:#2f73d9;border-radius:10px 10px 0 0;font-size:0;line-height:0;"> </td></tr>
|
||||
<tr><td style="background-color:#ffffff;border:1px solid #dce8fb;border-top:0;border-radius:0 0 10px 10px;padding:30px 24px 28px;box-shadow:0 12px 28px rgba(36,91,170,.12);">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation">
|
||||
<tr><td align="center" style="font-size:12px;color:#2f73d9;font-weight:bold;padding:0 0 8px;">评论通知</td></tr>
|
||||
<tr><td align="center" style="font-size:23px;line-height:1.35;font-weight:bold;color:#1f2937;padding:0 0 6px;">有一条评论等待审核</td></tr>
|
||||
<tr><td align="center" style="font-size:13px;color:#5b6778;padding:0 0 12px;">文章《{title}》收到待审核评论。</td></tr>
|
||||
<tr><td align="center" style="padding:0 0 24px;"><table cellpadding="0" cellspacing="0" border="0" role="presentation"><tr><td width="34" height="3" bgcolor="#2f73d9" style="background-color:#2f73d9;font-size:0;line-height:0;"> </td></tr></table></td></tr>
|
||||
</table>
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation" style="background-color:#f4f8ff;border:1px solid #cfe0fb;border-radius:8px;"><tr><td style="padding:14px 16px;color:#344054;font-size:13px;line-height:1.8;word-break:break-word;">{commentText}</td></tr></table>
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation" style="margin-top:22px;border-top:1px solid #e5edf8;border-collapse:collapse;">
|
||||
<tr><td width="78" valign="top" style="width:78px;padding:11px 10px 11px 0;color:#667085;border-bottom:1px solid #e5edf8;font-size:13px;white-space:nowrap;">评论人</td><td valign="top" style="padding:11px 0;color:#1f2937;font-weight:bold;border-bottom:1px solid #e5edf8;font-size:13px;word-break:break-all;">{author}</td></tr>
|
||||
<tr><td width="78" valign="top" style="width:78px;padding:11px 10px 11px 0;color:#667085;border-bottom:1px solid #e5edf8;font-size:13px;white-space:nowrap;">邮箱</td><td valign="top" style="padding:11px 0;border-bottom:1px solid #e5edf8;font-size:13px;word-break:break-all;"><a href="mailto:{mail}" style="color:#2f73d9;text-decoration:underline;font-weight:bold;">{mail}</a></td></tr>
|
||||
<tr><td width="78" valign="top" style="width:78px;padding:11px 10px 11px 0;color:#667085;border-bottom:1px solid #e5edf8;font-size:13px;white-space:nowrap;">IP 地址</td><td valign="top" style="padding:11px 0;color:#1f2937;font-weight:bold;border-bottom:1px solid #e5edf8;font-size:13px;word-break:break-all;">{ip}</td></tr>
|
||||
<tr><td width="78" valign="top" style="width:78px;padding:11px 10px 11px 0;color:#667085;border-bottom:1px solid #e5edf8;font-size:13px;white-space:nowrap;">评论时间</td><td valign="top" style="padding:11px 0;color:#1f2937;font-weight:bold;border-bottom:1px solid #e5edf8;font-size:13px;word-break:break-all;">{time}</td></tr>
|
||||
</table>
|
||||
<table align="center" cellpadding="0" cellspacing="0" border="0" role="presentation" style="margin:24px auto 0;"><tr><td bgcolor="#2f73d9" align="center" style="background-color:#2f73d9;border-radius:5px;"><a href="{manageurl}" style="display:block;width:190px;max-width:100%;padding:10px 0;color:#ffffff;text-decoration:none;font-size:13px;font-weight:bold;">立即前往审核</a></td></tr></table>
|
||||
</td></tr><tr><td align="center" style="padding:18px 10px 0;color:#98a2b3;font-size:12px;">此邮件由 <strong>{siteTitle}</strong> 自动发送,请勿直接回复。</td></tr>
|
||||
</table></td></tr></table></body></html>
|
||||
24
template/landscape/owner.html
Normal file
24
template/landscape/owner.html
Normal file
@@ -0,0 +1,24 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>新评论通知</title></head>
|
||||
<body style="margin:0;background-color:#f8f8f8;padding:100px 0;font-family:'lucida Grande',Verdana,'Microsoft YaHei';font-size:13px;line-height:1.7;word-wrap:break-word;overflow:auto;color:#1f2937;">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation" style="width:100%;background-color:#f8f8f8;"><tr><td align="center" style="padding:0 12px;">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation" style="width:100%;max-width:640px;margin:0 auto;">
|
||||
<tr><td height="4" bgcolor="#2f73d9" style="height:4px;background-color:#2f73d9;border-radius:10px 10px 0 0;font-size:0;line-height:0;"> </td></tr>
|
||||
<tr><td style="background-color:#ffffff;border:1px solid #dce8fb;border-top:0;border-radius:0 0 10px 10px;padding:30px 24px 28px;box-shadow:0 12px 28px rgba(36,91,170,.12);">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation">
|
||||
<tr><td align="center" style="font-size:12px;color:#2f73d9;font-weight:bold;padding:0 0 8px;">评论通知</td></tr>
|
||||
<tr><td align="center" style="font-size:23px;line-height:1.35;font-weight:bold;color:#1f2937;padding:0 0 6px;">你的文章收到新评论</td></tr>
|
||||
<tr><td align="center" style="font-size:13px;color:#5b6778;padding:0 0 12px;">文章《{title}》收到一条新评论。</td></tr>
|
||||
<tr><td align="center" style="padding:0 0 24px;"><table cellpadding="0" cellspacing="0" border="0" role="presentation"><tr><td width="34" height="3" bgcolor="#2f73d9" style="background-color:#2f73d9;font-size:0;line-height:0;"> </td></tr></table></td></tr>
|
||||
</table>
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation" style="background-color:#f4f8ff;border:1px solid #cfe0fb;border-radius:8px;"><tr><td style="padding:14px 16px;color:#344054;font-size:13px;line-height:1.8;word-break:break-word;">{commentText}</td></tr></table>
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation" style="margin-top:22px;border-top:1px solid #e5edf8;border-collapse:collapse;">
|
||||
<tr><td width="78" valign="top" style="width:78px;padding:11px 10px 11px 0;color:#667085;border-bottom:1px solid #e5edf8;font-size:13px;white-space:nowrap;">评论人</td><td valign="top" style="padding:11px 0;color:#1f2937;font-weight:bold;border-bottom:1px solid #e5edf8;font-size:13px;word-break:break-all;">{author}</td></tr>
|
||||
<tr><td width="78" valign="top" style="width:78px;padding:11px 10px 11px 0;color:#667085;border-bottom:1px solid #e5edf8;font-size:13px;white-space:nowrap;">邮箱</td><td valign="top" style="padding:11px 0;border-bottom:1px solid #e5edf8;font-size:13px;word-break:break-all;"><a href="mailto:{mail}" style="color:#2f73d9;text-decoration:underline;font-weight:bold;">{mail}</a></td></tr>
|
||||
<tr><td width="78" valign="top" style="width:78px;padding:11px 10px 11px 0;color:#667085;border-bottom:1px solid #e5edf8;font-size:13px;white-space:nowrap;">IP 地址</td><td valign="top" style="padding:11px 0;color:#1f2937;font-weight:bold;border-bottom:1px solid #e5edf8;font-size:13px;word-break:break-all;">{ip}</td></tr>
|
||||
<tr><td width="78" valign="top" style="width:78px;padding:11px 10px 11px 0;color:#667085;border-bottom:1px solid #e5edf8;font-size:13px;white-space:nowrap;">评论时间</td><td valign="top" style="padding:11px 0;color:#1f2937;font-weight:bold;border-bottom:1px solid #e5edf8;font-size:13px;word-break:break-all;">{time}</td></tr>
|
||||
</table>
|
||||
<table align="center" cellpadding="0" cellspacing="0" border="0" role="presentation" style="margin:24px auto 0;"><tr><td bgcolor="#2f73d9" align="center" style="background-color:#2f73d9;border-radius:5px;"><a href="{permalink}" style="display:block;width:190px;max-width:100%;padding:10px 0;color:#ffffff;text-decoration:none;font-size:13px;font-weight:bold;">查看评论详情</a></td></tr></table>
|
||||
</td></tr><tr><td align="center" style="padding:18px 10px 0;color:#98a2b3;font-size:12px;">此邮件由 <strong>{siteTitle}</strong> 自动发送,请勿直接回复。</td></tr>
|
||||
</table></td></tr></table></body></html>
|
||||
BIN
template/seal/1.webp
Normal file
BIN
template/seal/1.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 41 KiB |
BIN
template/seal/2.webp
Normal file
BIN
template/seal/2.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 34 KiB |
BIN
template/seal/3.webp
Normal file
BIN
template/seal/3.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 35 KiB |
BIN
template/seal/4.webp
Normal file
BIN
template/seal/4.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 35 KiB |
25
template/seal/guest.html
Normal file
25
template/seal/guest.html
Normal file
@@ -0,0 +1,25 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="format-detection" content="telephone=no,date=no,address=no,email=no"><title>评论回复通知</title></head>
|
||||
<body style="margin:0;background-color:#f8f8f8;padding:100px 0;font-family:'lucida Grande',Verdana,'Microsoft YaHei';font-size:13px;line-height:1.7;word-wrap:break-word;overflow:auto;color:#2f2650;">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation" style="width:100%;background-color:#f8f8f8;"><tr><td align="center" style="padding:0 12px;">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation" style="width:100%;max-width:640px;margin:0 auto;">
|
||||
<tr><td bgcolor="#7a49d8" style="background-color:#7a49d8;border-radius:10px 10px 0 0;padding:28px 24px 74px;">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation">
|
||||
<tr><td align="center" style="font-size:12px;color:#e9ddff;font-weight:bold;padding:0 0 8px;">回复通知</td></tr>
|
||||
<tr><td align="center" style="font-size:23px;line-height:1.35;font-weight:bold;color:#ffffff;padding:0 0 6px;">你的评论收到了回复</td></tr>
|
||||
<tr><td align="center" style="font-size:13px;color:#efe8ff;">你在文章《{title}》下的评论有了新回复。</td></tr>
|
||||
</table>
|
||||
</td></tr>
|
||||
<tr><td style="padding:0 20px;"><table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation" style="width:100%;margin-top:-48px;background-color:#ffffff;border:1px solid #e8defb;border-radius:9px;box-shadow:0 12px 28px rgba(71,43,128,.14);"><tr><td style="padding:24px 22px 26px;">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation" style="background-color:#fbf8ff;border:1px solid #eadffd;border-radius:8px;"><tr><td style="padding:14px 16px;color:#40355f;font-size:13px;line-height:1.7;word-break:break-word;"><strong>你的评论:</strong><br>{Ptext}<br style="line-height:8px;"><span style="display:block;height:12px;line-height:12px;font-size:0;"> </span><strong>新的回复:</strong><br>{commentText}</td></tr></table>
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation" style="margin-top:20px;border-top:1px solid #ece5f8;border-collapse:collapse;">
|
||||
<tr><td width="78" valign="top" style="width:78px;padding:11px 10px 11px 0;color:#756793;border-bottom:1px solid #ece5f8;font-size:13px;white-space:nowrap;">回复人</td><td valign="top" style="padding:11px 0;color:#2f2650;font-weight:bold;border-bottom:1px solid #ece5f8;font-size:13px;word-break:break-all;">{author}</td></tr>
|
||||
<tr><td width="78" valign="top" style="width:78px;padding:11px 10px 11px 0;color:#756793;border-bottom:1px solid #ece5f8;font-size:13px;white-space:nowrap;">邮箱</td><td valign="top" style="padding:11px 0;border-bottom:1px solid #ece5f8;font-size:13px;word-break:break-all;"><a href="mailto:{mail}" style="color:#7a49d8;text-decoration:underline;font-weight:bold;">{mail}</a></td></tr>
|
||||
<tr><td width="78" valign="top" style="width:78px;padding:11px 10px 11px 0;color:#756793;border-bottom:1px solid #ece5f8;font-size:13px;white-space:nowrap;">IP 地址</td><td valign="top" style="padding:11px 0;color:#2f2650;font-weight:bold;border-bottom:1px solid #ece5f8;font-size:13px;word-break:break-all;">{ip}</td></tr>
|
||||
<tr><td width="78" valign="top" style="width:78px;padding:11px 10px 11px 0;color:#756793;border-bottom:1px solid #ece5f8;font-size:13px;white-space:nowrap;">回复时间</td><td valign="top" style="padding:11px 0;color:#2f2650;font-weight:bold;border-bottom:1px solid #ece5f8;font-size:13px;word-break:break-all;">{time}</td></tr>
|
||||
</table>
|
||||
<table align="center" cellpadding="0" cellspacing="0" border="0" role="presentation" style="margin:24px auto 0;"><tr><td bgcolor="#7a49d8" align="center" style="background-color:#7a49d8;border-radius:5px;"><a href="{permalink}" style="display:block;width:190px;max-width:100%;padding:10px 0;color:#ffffff;text-decoration:none;font-size:13px;font-weight:bold;">查看回复内容</a></td></tr></table>
|
||||
</td></tr></table></td></tr>
|
||||
<tr><td align="center" style="padding:18px 10px 0;color:#9b8db7;font-size:12px;">此邮件由 <strong>{siteTitle}</strong> 自动发送,请勿直接回复。</td></tr>
|
||||
</table></td></tr></table></body></html>
|
||||
25
template/seal/notice.html
Normal file
25
template/seal/notice.html
Normal file
@@ -0,0 +1,25 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>待审核评论</title></head>
|
||||
<body style="margin:0;background-color:#f8f8f8;padding:100px 0;font-family:'lucida Grande',Verdana,'Microsoft YaHei';font-size:13px;line-height:1.7;word-wrap:break-word;overflow:auto;color:#2f2650;">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation" style="width:100%;background-color:#f8f8f8;"><tr><td align="center" style="padding:0 12px;">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation" style="width:100%;max-width:640px;margin:0 auto;">
|
||||
<tr><td bgcolor="#7a49d8" style="background-color:#7a49d8;border-radius:10px 10px 0 0;padding:28px 24px 74px;">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation">
|
||||
<tr><td align="center" style="font-size:12px;color:#e9ddff;font-weight:bold;padding:0 0 8px;">评论通知</td></tr>
|
||||
<tr><td align="center" style="font-size:23px;line-height:1.35;font-weight:bold;color:#ffffff;padding:0 0 6px;">有一条评论等待审核</td></tr>
|
||||
<tr><td align="center" style="font-size:13px;color:#efe8ff;">文章《{title}》收到待审核评论。</td></tr>
|
||||
</table>
|
||||
</td></tr>
|
||||
<tr><td style="padding:0 20px;"><table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation" style="width:100%;margin-top:-48px;background-color:#ffffff;border:1px solid #e8defb;border-radius:9px;box-shadow:0 12px 28px rgba(71,43,128,.14);"><tr><td style="padding:24px 22px 26px;">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation" style="background-color:#fbf8ff;border:1px solid #eadffd;border-radius:8px;"><tr><td style="padding:14px 16px;color:#40355f;font-size:13px;line-height:1.8;word-break:break-word;">{commentText}</td></tr></table>
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation" style="margin-top:20px;border-top:1px solid #ece5f8;border-collapse:collapse;">
|
||||
<tr><td width="78" valign="top" style="width:78px;padding:11px 10px 11px 0;color:#756793;border-bottom:1px solid #ece5f8;font-size:13px;white-space:nowrap;">评论人</td><td valign="top" style="padding:11px 0;color:#2f2650;font-weight:bold;border-bottom:1px solid #ece5f8;font-size:13px;word-break:break-all;">{author}</td></tr>
|
||||
<tr><td width="78" valign="top" style="width:78px;padding:11px 10px 11px 0;color:#756793;border-bottom:1px solid #ece5f8;font-size:13px;white-space:nowrap;">邮箱</td><td valign="top" style="padding:11px 0;border-bottom:1px solid #ece5f8;font-size:13px;word-break:break-all;"><a href="mailto:{mail}" style="color:#7a49d8;text-decoration:underline;font-weight:bold;">{mail}</a></td></tr>
|
||||
<tr><td width="78" valign="top" style="width:78px;padding:11px 10px 11px 0;color:#756793;border-bottom:1px solid #ece5f8;font-size:13px;white-space:nowrap;">IP 地址</td><td valign="top" style="padding:11px 0;color:#2f2650;font-weight:bold;border-bottom:1px solid #ece5f8;font-size:13px;word-break:break-all;">{ip}</td></tr>
|
||||
<tr><td width="78" valign="top" style="width:78px;padding:11px 10px 11px 0;color:#756793;border-bottom:1px solid #ece5f8;font-size:13px;white-space:nowrap;">评论时间</td><td valign="top" style="padding:11px 0;color:#2f2650;font-weight:bold;border-bottom:1px solid #ece5f8;font-size:13px;word-break:break-all;">{time}</td></tr>
|
||||
</table>
|
||||
<table align="center" cellpadding="0" cellspacing="0" border="0" role="presentation" style="margin:24px auto 0;"><tr><td bgcolor="#7a49d8" align="center" style="background-color:#7a49d8;border-radius:5px;"><a href="{manageurl}" style="display:block;width:190px;max-width:100%;padding:10px 0;color:#ffffff;text-decoration:none;font-size:13px;font-weight:bold;">立即前往审核</a></td></tr></table>
|
||||
</td></tr></table></td></tr>
|
||||
<tr><td align="center" style="padding:18px 10px 0;color:#9b8db7;font-size:12px;">此邮件由 <strong>{siteTitle}</strong> 自动发送,请勿直接回复。</td></tr>
|
||||
</table></td></tr></table></body></html>
|
||||
25
template/seal/owner.html
Normal file
25
template/seal/owner.html
Normal file
@@ -0,0 +1,25 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>新评论通知</title></head>
|
||||
<body style="margin:0;background-color:#f8f8f8;padding:100px 0;font-family:'lucida Grande',Verdana,'Microsoft YaHei';font-size:13px;line-height:1.7;word-wrap:break-word;overflow:auto;color:#2f2650;">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation" style="width:100%;background-color:#f8f8f8;"><tr><td align="center" style="padding:0 12px;">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation" style="width:100%;max-width:640px;margin:0 auto;">
|
||||
<tr><td bgcolor="#7a49d8" style="background-color:#7a49d8;border-radius:10px 10px 0 0;padding:28px 24px 74px;">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation">
|
||||
<tr><td align="center" style="font-size:12px;color:#e9ddff;font-weight:bold;padding:0 0 8px;">评论通知</td></tr>
|
||||
<tr><td align="center" style="font-size:23px;line-height:1.35;font-weight:bold;color:#ffffff;padding:0 0 6px;">你的文章收到新评论</td></tr>
|
||||
<tr><td align="center" style="font-size:13px;color:#efe8ff;">文章《{title}》收到一条新评论。</td></tr>
|
||||
</table>
|
||||
</td></tr>
|
||||
<tr><td style="padding:0 20px;"><table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation" style="width:100%;margin-top:-48px;background-color:#ffffff;border:1px solid #e8defb;border-radius:9px;box-shadow:0 12px 28px rgba(71,43,128,.14);"><tr><td style="padding:24px 22px 26px;">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation" style="background-color:#fbf8ff;border:1px solid #eadffd;border-radius:8px;"><tr><td style="padding:14px 16px;color:#40355f;font-size:13px;line-height:1.8;word-break:break-word;">{commentText}</td></tr></table>
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation" style="margin-top:20px;border-top:1px solid #ece5f8;border-collapse:collapse;">
|
||||
<tr><td width="78" valign="top" style="width:78px;padding:11px 10px 11px 0;color:#756793;border-bottom:1px solid #ece5f8;font-size:13px;white-space:nowrap;">评论人</td><td valign="top" style="padding:11px 0;color:#2f2650;font-weight:bold;border-bottom:1px solid #ece5f8;font-size:13px;word-break:break-all;">{author}</td></tr>
|
||||
<tr><td width="78" valign="top" style="width:78px;padding:11px 10px 11px 0;color:#756793;border-bottom:1px solid #ece5f8;font-size:13px;white-space:nowrap;">邮箱</td><td valign="top" style="padding:11px 0;border-bottom:1px solid #ece5f8;font-size:13px;word-break:break-all;"><a href="mailto:{mail}" style="color:#7a49d8;text-decoration:underline;font-weight:bold;">{mail}</a></td></tr>
|
||||
<tr><td width="78" valign="top" style="width:78px;padding:11px 10px 11px 0;color:#756793;border-bottom:1px solid #ece5f8;font-size:13px;white-space:nowrap;">IP 地址</td><td valign="top" style="padding:11px 0;color:#2f2650;font-weight:bold;border-bottom:1px solid #ece5f8;font-size:13px;word-break:break-all;">{ip}</td></tr>
|
||||
<tr><td width="78" valign="top" style="width:78px;padding:11px 10px 11px 0;color:#756793;border-bottom:1px solid #ece5f8;font-size:13px;white-space:nowrap;">评论时间</td><td valign="top" style="padding:11px 0;color:#2f2650;font-weight:bold;border-bottom:1px solid #ece5f8;font-size:13px;word-break:break-all;">{time}</td></tr>
|
||||
</table>
|
||||
<table align="center" cellpadding="0" cellspacing="0" border="0" role="presentation" style="margin:24px auto 0;"><tr><td bgcolor="#7a49d8" align="center" style="background-color:#7a49d8;border-radius:5px;"><a href="{permalink}" style="display:block;width:190px;max-width:100%;padding:10px 0;color:#ffffff;text-decoration:none;font-size:13px;font-weight:bold;">查看评论详情</a></td></tr></table>
|
||||
</td></tr></table></td></tr>
|
||||
<tr><td align="center" style="padding:18px 10px 0;color:#9b8db7;font-size:12px;">此邮件由 <strong>{siteTitle}</strong> 自动发送,请勿直接回复。</td></tr>
|
||||
</table></td></tr></table></body></html>
|
||||
Reference in New Issue
Block a user