You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
virt/web/resources/email/auth/verify.tpl

32 lines
4.5 KiB
Smarty

{extends file='layout.tpl'}
{block name='email_title'}
{if $language == 'true'}{if !empty($scene) && $scene == 'login'}Login verification{elseif !empty($scene) && $scene == 'password_change'}Password change verification{elseif !empty($scene) && $scene == 'email_change'}Email change verification{else}Email verification{/if} | {$config["appName"]|escape:"html"}{else}{if !empty($scene) && $scene == 'login'}登录安全验证{elseif !empty($scene) && $scene == 'password_change'}修改密码验证{elseif !empty($scene) && $scene == 'email_change'}修改邮箱验证{else}注册邮箱验证{/if} | {$config["appName"]|escape:"html"}{/if}
{/block}
{block name='preheader'}{if $language == 'true'}Your verification code is {$code|escape:"html"}.{else}您的验证码是 {$code|escape:"html"}。{/if}{/block}
{block name='content'}
<p style="margin:0 0 10px; color:#159da9; font-size:11px; line-height:16px; font-weight:800; letter-spacing:1.8px; text-transform:uppercase;">{if !empty($scene) && $scene == 'login'}ACCOUNT SECURITY{elseif !empty($scene) && $scene == 'registration'}WELCOME TO THE CLOUD{elseif !empty($scene) && ($scene == 'password_change' || $scene == 'email_change')}ACCOUNT SECURITY{else}EMAIL VERIFICATION{/if}</p>
<h1 class="email-title" style="margin:0 0 14px; color:#15243a; font-size:28px; line-height:36px; font-weight:800; letter-spacing:-.5px;">
{if $language == 'true'}{if !empty($scene) && $scene == 'login'}Confirm your sign-in{elseif !empty($scene) && $scene == 'password_change'}Confirm your password change{elseif !empty($scene) && $scene == 'email_change'}Confirm your email change{else}Verify your email address{/if}{else}{if !empty($scene) && $scene == 'login'}确认本次登录{elseif !empty($scene) && $scene == 'password_change'}确认修改密码{elseif !empty($scene) && $scene == 'email_change'}确认修改邮箱{else}验证您的注册邮箱{/if}{/if}
</h1>
<p class="email-copy" style="margin:0 0 24px; color:#53647a; font-size:15px; line-height:25px;">
{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.{elseif !empty($scene) && $scene == 'email_change'}Enter the code below in account settings to verify this new email address before using it to sign in.{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'}请在账户设置页面输入下方验证码,确认修改密码。{elseif !empty($scene) && $scene == 'email_change'}请在账户设置中输入下方验证码,验证此新邮箱后再将其设为登录邮箱。{else}请在注册页面输入下方验证码,完成邮箱验证并继续创建账户。{/if}{/if}
</p>
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" border="0" style="margin:0 0 22px;">
<tr><td class="email-panel" align="center" bgcolor="#eaf8f8" style="padding:22px 16px; background-color:#eaf8f8; border-radius:12px; text-align:center;">
<span style="display:block; margin:0 0 7px; color:#708396; font-size:11px; line-height:16px; font-weight:700;">{if $language == 'true'}VERIFICATION CODE{else}邮箱验证码{/if}</span>
<strong class="email-code" style="display:block; color:#0f8f9a; font-family:'SFMono-Regular',Consolas,'Liberation Mono',monospace; font-size:32px; line-height:40px; font-weight:800; letter-spacing:7px;">{$code|escape:"html"}</strong>
</td></tr>
</table>
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" border="0" style="margin:0 0 20px;">
<tr><td class="email-panel" bgcolor="#f2f6f9" style="padding:14px 16px; background-color:#f2f6f9; border-radius:9px; color:#53647a; font-size:12px; line-height:20px;">
{if $language == 'true'}This code is valid until <strong style="color:#34445a;">{$expire|escape:"html"}</strong>.{else}本验证码将在 <strong style="color:#34445a;">{$expire|escape:"html"}</strong> 失效。{/if}
</td></tr>
</table>
<p style="margin:0; color:#8390a2; font-size:12px; line-height:21px;">{if $language == 'true'}Never share this code with anyone. If you did not request it, you can safely ignore this email.{else}请勿向任何人泄露此验证码。如果并非您本人操作,可以安全地忽略此邮件。{/if}</p>
{/block}