19fa6ab69SGreg Roach<?php 29fa6ab69SGreg Roach 3*10e06497SGreg Roachdeclare(strict_types=1); 4*10e06497SGreg Roach 57c2c99faSGreg Roachuse Fisharebest\Webtrees\Contracts\UserInterface; 69fa6ab69SGreg Roachuse Fisharebest\Webtrees\I18N; 77c2c99faSGreg Roachuse Fisharebest\Webtrees\Tree; 87c2c99faSGreg Roach 97c2c99faSGreg Roach/** 107c2c99faSGreg Roach * @var string $base_url 117c2c99faSGreg Roach * @var string $comments 127c2c99faSGreg Roach * @var Tree|null $tree 137c2c99faSGreg Roach * @var UserInterface $user 147c2c99faSGreg Roach */ 159fa6ab69SGreg Roach 169fa6ab69SGreg Roach?> 1765cf5706SGreg Roach<div dir="<?= I18N::locale()->direction() ?>" lang="<?= I18N::locale()->languageTag() ?>"> 18dd6b2bfcSGreg Roach <p> 19dd6b2bfcSGreg Roach <?= I18N::translate('Hello administrator…') ?> 20dd6b2bfcSGreg Roach </p> 21dd6b2bfcSGreg Roach 22dd6b2bfcSGreg Roach <p> 23fd5f2920SGreg Roach <?= /* I18N: %s is a server name/URL */ 24f2de5656SGreg Roach I18N::translate('A prospective user has registered with webtrees at %s.', e($base_url)) ?> 25dd6b2bfcSGreg Roach </p> 26dd6b2bfcSGreg Roach 27dd6b2bfcSGreg Roach <dl> 28dd6b2bfcSGreg Roach <dt><?= I18N::translate('Username') ?></dt> 29c65e00b4SGreg Roach <dd><?= e($user->userName()) ?></dd> 30dd6b2bfcSGreg Roach <dt><?= I18N::translate('Real name') ?></dt> 31e5a6b4d4SGreg Roach <dd><?= e($user->realName()) ?></dd> 32dd6b2bfcSGreg Roach <dt><?= I18N::translate('Email address') ?></dt> 33e5a6b4d4SGreg Roach <dd><?= e($user->email()) ?></dd> 34dd6b2bfcSGreg Roach <dt><?= I18N::translate('Comments') ?></dt> 35dd6b2bfcSGreg Roach <dd><?= e($comments) ?></dd> 369fa6ab69SGreg Roach <dt><?= I18N::translate('Tree') ?></dt> 379fa6ab69SGreg Roach <dd><?= e($tree ? $tree->name() : '') ?></dd> 38dd6b2bfcSGreg Roach </dl> 39dd6b2bfcSGreg Roach 40dd6b2bfcSGreg Roach <p> 41dd6b2bfcSGreg Roach <?= I18N::translate('The user has been sent an email with the information necessary to confirm the access request.') ?> 42dd6b2bfcSGreg Roach </p> 43dd6b2bfcSGreg Roach 44dd6b2bfcSGreg Roach <p> 45dd6b2bfcSGreg 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.') ?> 46dd6b2bfcSGreg Roach </p> 47fd5f2920SGreg Roach</div> 48