diff --git a/web/resources/email/auth/verify.tpl b/web/resources/email/auth/verify.tpl
index 23d28266..b4040d6e 100644
--- a/web/resources/email/auth/verify.tpl
+++ b/web/resources/email/auth/verify.tpl
@@ -7,22 +7,22 @@
{block name='content'}
{if !empty($scene) && $scene == 'login'}ACCOUNT SECURITY{elseif !empty($scene) && $scene == 'registration'}WELCOME TO THE CLOUD{elseif !empty($scene) && $scene == 'password_change'}ACCOUNT SECURITY{else}EMAIL VERIFICATION{/if}
-
+
{if $language == 'true'}{if !empty($scene) && $scene == 'login'}Confirm your sign-in{elseif !empty($scene) && $scene == 'password_change'}Confirm your password change{else}Verify your email address{/if}{else}{if !empty($scene) && $scene == 'login'}确认本次登录{elseif !empty($scene) && $scene == 'password_change'}确认修改密码{else}验证您的注册邮箱{/if}{/if}
-
+
{if $language == 'true'}{if !empty($scene) && $scene == 'login'}Enter the code below to complete the security check for your sign-in.{elseif !empty($scene) && $scene == 'password_change'}Enter the code below on the account page to confirm your password change.{else}Enter the code below on the registration page to finish creating your account.{/if}{else}{if !empty($scene) && $scene == 'login'}请在登录页面输入下方验证码,完成本次安全验证。{elseif !empty($scene) && $scene == 'password_change'}请在账户设置页面输入下方验证码,确认修改密码。{else}请在注册页面输入下方验证码,完成邮箱验证并继续创建账户。{/if}{/if}
- |
+ |
|
{if $language == 'true'}VERIFICATION CODE{else}邮箱验证码{/if}
- {$code|escape:"html"}
+ {$code|escape:"html"}
|
- |
+ |
|
{if $language == 'true'}This code is valid until {$expire|escape:"html"}.{else}本验证码将在 {$expire|escape:"html"} 失效。{/if}
|
diff --git a/web/resources/email/cloud/invoice.tpl b/web/resources/email/cloud/invoice.tpl
index 27867f63..438a21f7 100644
--- a/web/resources/email/cloud/invoice.tpl
+++ b/web/resources/email/cloud/invoice.tpl
@@ -5,18 +5,18 @@
{block name='content'}
SERVICE RENEWAL
- 续费账单已生成
- 您的云服务器 {$instance_name|escape:"html"} 即将到期。为避免网络服务中断,请在到期前完成账单支付。
+ 续费账单已生成
+ 您的云服务器 {$instance_name|escape:"html"} 即将到期。为避免网络服务中断,请在到期前完成账单支付。
-
+
- | 账单编号#{$invoice_id|escape:"html"} |
- 应付金额${$amount|escape:"html"} |
- 实例到期时间{$due_at|escape:"html"} |
+ 账单编号#{$invoice_id|escape:"html"} |
+ 应付金额${$amount|escape:"html"} |
+ 实例到期时间{$due_at|escape:"html"} |
-
+
- | 重要提醒实例到期后将立即停用网络,续费成功后会自动恢复。到期满 3 天仍未支付,实例及其系统盘将被永久删除,数据无法恢复。 |
+ | 重要提醒实例到期后将立即停用网络,续费成功后会自动恢复。到期满 3 天仍未支付,实例及其系统盘将被永久删除,数据无法恢复。 |
{/block}
diff --git a/web/resources/email/cloud/provision-success.tpl b/web/resources/email/cloud/provision-success.tpl
index 09e90677..f5719ebd 100644
--- a/web/resources/email/cloud/provision-success.tpl
+++ b/web/resources/email/cloud/provision-success.tpl
@@ -5,27 +5,27 @@
{block name='content'}
INSTANCE READY
- 实例已开通
- 您的云服务器 {$instance_name|escape:"html"} 已创建完成,现在可以进入控制台查看状态并进行管理。
+ 实例已开通
+ 您的云服务器 {$instance_name|escape:"html"} 已创建完成,现在可以进入控制台查看状态并进行管理。
-
+
-
+
- | 实例名称{$instance_name|escape:"html"}实例 #{$instance_id|escape:"html"} |
- 地区{$region|default:'—'|escape:"html"} |
+ 实例名称{$instance_name|escape:"html"}实例 #{$instance_id|escape:"html"} |
+ 地区{$region|default:'—'|escape:"html"} |
- | 公网 IP{$public_ip|default:'—'|escape:"html"} |
- 操作系统{$os_name|default:'—'|escape:"html"} |
+ 公网 IP{$public_ip|default:'—'|escape:"html"} |
+ 操作系统{$os_name|default:'—'|escape:"html"} |
- | SSH 登录用户{$login_name|default:'root'|escape:"html"} |
- 开通时间{$created_at|default:'—'|escape:"html"} |
+ SSH 登录用户{$login_name|default:'root'|escape:"html"} |
+ 开通时间{$created_at|default:'—'|escape:"html"} |
- | 服务到期时间{$expires_at|default:'—'|escape:"html"} |
+ | 服务到期时间{$expires_at|default:'—'|escape:"html"} |
-
+
出于安全考虑,本邮件不会展示账户密码、私钥或其他登录凭据。请前往实例详情页面查看面板保存的信息。
{/block}
diff --git a/web/resources/email/layout.tpl b/web/resources/email/layout.tpl
index f76bf72e..46161c94 100644
--- a/web/resources/email/layout.tpl
+++ b/web/resources/email/layout.tpl
@@ -3,68 +3,96 @@
+
{block name='email_title'}{$config["appName"]|escape:"html"}{/block}
-
+
{block name='preheader'}{$config["appName"]|escape:"html"}{/block}
-