xref: /webtrees/resources/views/emails/register-user-html.phtml (revision 10e0649788c8d7d4974d81c048ca2b225df8f22e)
1<?php
2
3declare(strict_types=1);
4
5use Fisharebest\Webtrees\Contracts\UserInterface;
6use Fisharebest\Webtrees\I18N;
7
8/**
9 * @var string        $base_url
10 * @var UserInterface $user
11 * @var string        $verify_url
12 */
13
14?>
15<div dir="<?= I18N::locale()->direction() ?>" lang="<?= I18N::locale()->languageTag() ?>">
16    <p>
17        <?= I18N::translate('Hello %s…', e($user->realName())) ?>
18    </p>
19
20    <p>
21        <?= /* I18N: %1$s is the site URL and %2$s is an email address */
22        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())) ?>
23    </p>
24
25    <p>
26        <?= I18N::translate('Follow this link to verify your email address.') ?>
27    </p>
28
29    <p>
30        <a href="<?= e($verify_url) ?>">
31            <?= e($verify_url) ?>
32        </a>
33    </p>
34
35    <p>
36        <?= I18N::translate('If you didn’t request an account, you can just delete this message.') ?>
37    </p>
38</div>
39