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

30 lines
3.1 KiB
Smarty

{extends file='layout.tpl'}
{block name='email_title'}{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}{/block}
{block name='preheader'}Your verification code is {$code|escape:"html"}.{/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 !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}
</h1>
<p class="email-copy" style="margin:0 0 24px; color:#53647a; font-size:15px; line-height:25px;">
{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}
</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;">VERIFICATION CODE</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;">
This code is valid until <strong style="color:#34445a;">{$expire|escape:"html"}</strong>.
</td></tr>
</table>
<p style="margin:0; color:#8390a2; font-size:12px; line-height:21px;">Never share this code with anyone. If you did not request it, you can safely ignore this email.</p>
{/block}