xref: /webtrees/resources/views/emails/register-notify-html.phtml (revision 10e0649788c8d7d4974d81c048ca2b225df8f22e)
1<?php
2
3declare(strict_types=1);
4
5use Fisharebest\Webtrees\Contracts\UserInterface;
6use Fisharebest\Webtrees\I18N;
7use Fisharebest\Webtrees\Tree;
8
9/**
10 * @var string        $base_url
11 * @var string        $comments
12 * @var Tree|null     $tree
13 * @var UserInterface $user
14 */
15
16?>
17<div dir="<?= I18N::locale()->direction() ?>" lang="<?= I18N::locale()->languageTag() ?>">
18    <p>
19        <?= I18N::translate('Hello administrator…') ?>
20    </p>
21
22    <p>
23        <?= /* I18N: %s is a server name/URL */
24        I18N::translate('A prospective user has registered with webtrees at %s.', e($base_url)) ?>
25    </p>
26
27    <dl>
28        <dt><?= I18N::translate('Username') ?></dt>
29        <dd><?= e($user->userName()) ?></dd>
30        <dt><?= I18N::translate('Real name') ?></dt>
31        <dd><?= e($user->realName()) ?></dd>
32        <dt><?= I18N::translate('Email address') ?></dt>
33        <dd><?= e($user->email()) ?></dd>
34        <dt><?= I18N::translate('Comments') ?></dt>
35        <dd><?= e($comments) ?></dd>
36        <dt><?= I18N::translate('Tree') ?></dt>
37        <dd><?= e($tree ? $tree->name() : '') ?></dd>
38    </dl>
39
40    <p>
41        <?= I18N::translate('The user has been sent an email with the information necessary to confirm the access request.') ?>
42    </p>
43
44    <p>
45        <?= I18N::translate('You will be informed by email when this prospective user has confirmed the request. You can then complete the process by activating the username. The new user will not be able to sign in until you activate the account.') ?>
46    </p>
47</div>
48