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