156f9a9c1SGreg Roach<?php 2*65cf5706SGreg Roach 356f9a9c1SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\VerifyEmail; 456f9a9c1SGreg Roachuse Fisharebest\Webtrees\I18N; 57c4add84SGreg Roachuse Fisharebest\Webtrees\User; 67c4add84SGreg Roach 756f9a9c1SGreg Roach?> 8*65cf5706SGreg Roach<div dir="<?= I18N::locale()->direction() ?>" lang="<?= I18N::locale()->languageTag() ?>"> 9dd6b2bfcSGreg Roach <p> 10e5a6b4d4SGreg Roach <?= I18N::translate('Hello %s…', e($user->realName())) ?> 11dd6b2bfcSGreg Roach </p> 12dd6b2bfcSGreg Roach 13dd6b2bfcSGreg Roach <p> 14fd5f2920SGreg Roach <?= /* I18N: %1$s is the site URL and %2$s is an email address */ 15fd5f2920SGreg Roach I18N::translate('You (or someone claiming to be you) has requested an account at %1$s using the email address %2$s.', e($base_url), e($user->email())) ?> 16dd6b2bfcSGreg Roach </p> 17dd6b2bfcSGreg Roach 18dd6b2bfcSGreg Roach <p> 19dd6b2bfcSGreg Roach <?= I18N::translate('Follow this link to verify your email address.') ?> 20dd6b2bfcSGreg Roach </p> 21dd6b2bfcSGreg Roach 22dd6b2bfcSGreg Roach <p> 237c4add84SGreg Roach <a href="<?= e(route(VerifyEmail::class, ['username' => $user->userName(), 'token' => $user->getPreference(User::PREF_VERIFICATION_TOKEN), 'tree' => $tree ? $tree->name() : ''])) ?>"> 247c4add84SGreg Roach <?= e(route(VerifyEmail::class, ['username' => $user->userName(), 'token' => $user->getPreference(User::PREF_VERIFICATION_TOKEN), 'tree' => $tree ? $tree->name() : ''])) ?> 25dd6b2bfcSGreg Roach </a> 26dd6b2bfcSGreg Roach </p> 27dd6b2bfcSGreg Roach 28dd6b2bfcSGreg Roach <p> 29dd6b2bfcSGreg Roach <?= I18N::translate('If you didn’t request an account, you can just delete this message.') ?> 30dd6b2bfcSGreg Roach </p> 31fd5f2920SGreg Roach</div> 32