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…', $recipient->realName()) ?> 15 16<?= /* I18N: %s is a person's name */ I18N::translate('%s sent you the following message.', $sender->realName()) ?> 17 18------------------------------------------------------------ 19<?= $message ?> 20 21------------------------------------------------------------ 22 23<?php if ($url !== '') : ?> 24 <?= I18N::translate('This message was sent while viewing the following URL: ') ?> 25 <?= $url ?> 26<?php endif ?> 27