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.
32 lines
3.9 KiB
Smarty
32 lines
3.9 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{else}Email verification{/if} | {$config["appName"]|escape:"html"}{else}{if !empty($scene) && $scene == 'login'}登录安全验证{elseif !empty($scene) && $scene == 'password_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'}ACCOUNT SECURITY{else}EMAIL VERIFICATION{/if}</p>
|
|
<h1 class="email-title" style="margin:0 0 14px; color:#15243a; font-size:30px; line-height:39px; font-weight:800; letter-spacing:-.6px;">
|
|
{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}
|
|
</h1>
|
|
<p style="margin:0 0 25px; color:#53647a; font-size:14px; line-height:24px;">
|
|
{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}
|
|
</p>
|
|
|
|
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" border="0" style="margin:0 0 22px;">
|
|
<tr><td align="center" bgcolor="#eef9fa" style="padding:23px 16px; background-color:#eef9fa; border:1px solid #ccebed; border-radius:11px; 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 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 bgcolor="#f7f9fb" style="padding:13px 15px; background-color:#f7f9fb; border-left:3px solid #159da9; border-radius:7px; 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}
|