diff --git a/email-templates/base.php b/email-templates/base.php index 4dd46f1..657d974 100644 --- a/email-templates/base.php +++ b/email-templates/base.php @@ -113,44 +113,6 @@ function argon_get_email_types() { 'theme_color' => __('主题色', 'argon'), ), ), - 'user_register' => array( - 'name' => __('用户注册', 'argon'), - 'description' => __('新用户注册成功后发送的欢迎邮件', 'argon'), - 'default_subject' => '[{{blog_name}}] 注册成功', - 'default_content' => '
{{user_name}},您好:
-您的账户已创建成功,现在可以登录使用了。
-- 立即登录 -
', - 'placeholders' => array( - 'blog_name' => __('博客名称', 'argon'), - 'user_name' => __('用户名', 'argon'), - 'user_email' => __('用户邮箱', 'argon'), - 'login_url' => __('登录链接', 'argon'), - 'register_date' => __('注册时间', 'argon'), - 'theme_color' => __('主题色', 'argon'), - ), - ), - 'password_reset' => array( - 'name' => __('密码重置', 'argon'), - 'description' => __('用户请求重置密码时发送的邮件', 'argon'), - 'default_subject' => '[{{blog_name}}] 密码重置请求', - 'default_content' => '{{user_name}},您好:
-我们收到了您的密码重置请求,请点击下方按钮重置密码。如果这不是您本人的操作,请忽略此邮件。
-- 重置密码 -
-此链接将在 24 小时后失效。
', - 'placeholders' => array( - 'blog_name' => __('博客名称', 'argon'), - 'user_name' => __('用户名', 'argon'), - 'user_email' => __('用户邮箱', 'argon'), - 'reset_url' => __('重置链接', 'argon'), - 'theme_color' => __('主题色', 'argon'), - ), - ), 'todo_urge' => array( 'name' => __('TODO 提醒', 'argon'), 'description' => __('访客催促作者完成 TODO 时发送的邮件', 'argon'), @@ -172,20 +134,6 @@ function argon_get_email_types() { 'theme_color' => __('主题色', 'argon'), ), ), - 'general' => array( - 'name' => __('通用邮件', 'argon'), - 'description' => __('其他类型的通用邮件模板', 'argon'), - 'default_subject' => '[{{blog_name}}] {{subject}}', - 'default_content' => '这是通用邮件模板的示例内容。您可以在这里放置任何 HTML 内容。
', - )); + return $common; } } diff --git a/settings.php b/settings.php index aa30fb9..baad97c 100644 --- a/settings.php +++ b/settings.php @@ -6404,7 +6404,7 @@ function argon_update_themeoptions(){ update_option('argon_email_social_links', $social_links); // 保存邮件模板配置 - $email_types = array('comment_notify', 'spam_notify', 'reply_notify', 'user_register', 'password_reset', 'todo_urge', 'general'); + $email_types = array('comment_notify', 'spam_notify', 'reply_notify', 'todo_urge'); foreach ($email_types as $type) { // 保存启用状态 argon_update_option_checkbox('argon_email_template_' . $type . '_enabled'); diff --git a/style.css b/style.css index a32980e..f650373 100644 --- a/style.css +++ b/style.css @@ -6761,48 +6761,6 @@ html.darkmode #post_comment.post-comment-force-privatemode-off .comment-post-pri /*短代码适配*/ -/*短代�?checkbox*/ - -.shortcode-todo { - - cursor: default; - - margin: 3px 0; - -} - -.shortcode-todo .custom-control-input { - - pointer-events: none; - -} - -.shortcode-todo * { - - cursor: default !important; - -} - -.shortcode-todo .custom-control-label span { - - transform: translateY(-2.5px); - - display: block; - - cursor: text !important; - -} - -.shortcode-todo.inline { - - display: inline-block; - - margin-right: 10px; - -} - - - /*短代�?警告与折叠块*/ .admonition,