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