xref: /webtrees/resources/views/emails/register-notify-html.phtml (revision 7c2c99fad7cacd17c98be88238ff735d82c6351b)
19fa6ab69SGreg Roach<?php
29fa6ab69SGreg Roach
3*7c2c99faSGreg Roachuse Fisharebest\Webtrees\Contracts\UserInterface;
49fa6ab69SGreg Roachuse Fisharebest\Webtrees\I18N;
5*7c2c99faSGreg Roachuse Fisharebest\Webtrees\Tree;
6*7c2c99faSGreg Roach
7*7c2c99faSGreg Roach/**
8*7c2c99faSGreg Roach * @var string        $base_url
9*7c2c99faSGreg Roach * @var string        $comments
10*7c2c99faSGreg Roach * @var Tree|null     $tree
11*7c2c99faSGreg Roach * @var UserInterface $user
12*7c2c99faSGreg Roach */
139fa6ab69SGreg Roach
149fa6ab69SGreg Roach?>
1565cf5706SGreg Roach<div dir="<?= I18N::locale()->direction() ?>" lang="<?= I18N::locale()->languageTag() ?>">
16dd6b2bfcSGreg Roach    <p>
17dd6b2bfcSGreg Roach        <?= I18N::translate('Hello administrator…') ?>
18dd6b2bfcSGreg Roach    </p>
19dd6b2bfcSGreg Roach
20dd6b2bfcSGreg Roach    <p>
21fd5f2920SGreg Roach        <?= /* I18N: %s is a server name/URL */
22f2de5656SGreg Roach        I18N::translate('A prospective user has registered with webtrees at %s.', e($base_url)) ?>
23dd6b2bfcSGreg Roach    </p>
24dd6b2bfcSGreg Roach
25dd6b2bfcSGreg Roach    <dl>
26dd6b2bfcSGreg Roach        <dt><?= I18N::translate('Username') ?></dt>
27c65e00b4SGreg Roach        <dd><?= e($user->userName()) ?></dd>
28dd6b2bfcSGreg Roach        <dt><?= I18N::translate('Real name') ?></dt>
29e5a6b4d4SGreg Roach        <dd><?= e($user->realName()) ?></dd>
30dd6b2bfcSGreg Roach        <dt><?= I18N::translate('Email address') ?></dt>
31e5a6b4d4SGreg Roach        <dd><?= e($user->email()) ?></dd>
32dd6b2bfcSGreg Roach        <dt><?= I18N::translate('Comments') ?></dt>
33dd6b2bfcSGreg Roach        <dd><?= e($comments) ?></dd>
349fa6ab69SGreg Roach        <dt><?= I18N::translate('Tree') ?></dt>
359fa6ab69SGreg Roach        <dd><?= e($tree ? $tree->name() : '') ?></dd>
36dd6b2bfcSGreg Roach    </dl>
37dd6b2bfcSGreg Roach
38dd6b2bfcSGreg Roach    <p>
39dd6b2bfcSGreg Roach        <?= I18N::translate('The user has been sent an email with the information necessary to confirm the access request.') ?>
40dd6b2bfcSGreg Roach    </p>
41dd6b2bfcSGreg Roach
42dd6b2bfcSGreg Roach    <p>
43dd6b2bfcSGreg Roach        <?= 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.') ?>
44dd6b2bfcSGreg Roach    </p>
45fd5f2920SGreg Roach</div>
46