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