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