xref: /webtrees/resources/views/emails/message-copy-html.phtml (revision ba1d7494e9648df5a87aaa3fece3e098e5ce26b1)
1<?php use Fisharebest\Webtrees\I18N; ?>
2<div <?= I18N::htmlAttributes() ?>>
3    <p>
4        <?= I18N::translate('Hello %s…', '<span dir="auto">' . e($sender->realName()) . '</span>') ?>
5    </p>
6
7    <p>
8        <?= I18N::translate('You sent the following message to a webtrees user:') ?><?= e($recipient->realName()) ?>
9    </p>
10
11    <hr>
12
13    <p>
14        <?= nl2br(e($message), false) ?>
15    </p>
16
17    <hr>
18
19    <?php if ($url !== '') : ?>
20        <p>
21            <?= I18N::translate('This message was sent while viewing the following URL: ') ?>
22            <?= e($url) ?>
23        </p>
24    <?php endif ?>
25</div>
26