xref: /webtrees/resources/views/emails/message-copy-text.phtml (revision 090a06287954f43677f06ea778b3f67c029de8fe)
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