xref: /webtrees/resources/views/emails/register-user-html.phtml (revision 10e0649788c8d7d4974d81c048ca2b225df8f22e)
156f9a9c1SGreg Roach<?php
265cf5706SGreg Roach
3*10e06497SGreg Roachdeclare(strict_types=1);
4*10e06497SGreg Roach
57c2c99faSGreg Roachuse Fisharebest\Webtrees\Contracts\UserInterface;
656f9a9c1SGreg Roachuse Fisharebest\Webtrees\I18N;
77c4add84SGreg Roach
87c2c99faSGreg Roach/**
97c2c99faSGreg Roach * @var string        $base_url
107c2c99faSGreg Roach * @var UserInterface $user
117c2c99faSGreg Roach * @var string        $verify_url
127c2c99faSGreg Roach */
137c2c99faSGreg Roach
1456f9a9c1SGreg Roach?>
1565cf5706SGreg Roach<div dir="<?= I18N::locale()->direction() ?>" lang="<?= I18N::locale()->languageTag() ?>">
16dd6b2bfcSGreg Roach    <p>
17e5a6b4d4SGreg Roach        <?= I18N::translate('Hello %s…', e($user->realName())) ?>
18dd6b2bfcSGreg Roach    </p>
19dd6b2bfcSGreg Roach
20dd6b2bfcSGreg Roach    <p>
21fd5f2920SGreg Roach        <?= /* I18N: %1$s is the site URL and %2$s is an email address */
22fd5f2920SGreg 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())) ?>
23dd6b2bfcSGreg Roach    </p>
24dd6b2bfcSGreg Roach
25dd6b2bfcSGreg Roach    <p>
26dd6b2bfcSGreg Roach        <?= I18N::translate('Follow this link to verify your email address.') ?>
27dd6b2bfcSGreg Roach    </p>
28dd6b2bfcSGreg Roach
29dd6b2bfcSGreg Roach    <p>
30f917a287SGreg Roach        <a href="<?= e($verify_url) ?>">
31f917a287SGreg Roach            <?= e($verify_url) ?>
32dd6b2bfcSGreg Roach        </a>
33dd6b2bfcSGreg Roach    </p>
34dd6b2bfcSGreg Roach
35dd6b2bfcSGreg Roach    <p>
36dd6b2bfcSGreg Roach        <?= I18N::translate('If you didn’t request an account, you can just delete this message.') ?>
37dd6b2bfcSGreg Roach    </p>
38fd5f2920SGreg Roach</div>
39