xref: /webtrees/resources/views/emails/message-copy-text.phtml (revision ac71572d8462e396ed5a307f05b29381e49f9e6e)
1<?php
2
3declare(strict_types=1);
4
5use Fisharebest\Webtrees\Contracts\UserInterface;
6use Fisharebest\Webtrees\I18N;
7
8/**
9 * @var string        $message
10 * @var UserInterface $recipient
11 * @var UserInterface $sender
12 * @var string        $url
13 */
14
15?>
16<?= I18N::translate('Hello %s…', $sender->realName()) ?>
17
18<?= I18N::translate('You sent the following message to a webtrees user:') ?><?= $recipient->realName() ?>
19
20------------------------------------------------------------
21<?= $message ?>
22------------------------------------------------------------
23
24<?php if ($url !== '') : ?>
25    <?= I18N::translate('This message was sent while viewing the following URL: ') ?>
26    <?= $url ?>
27<?php endif ?>
28