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