156f9a9c1SGreg Roach<?php 20d7461faSGreg Roach 3*7c2c99faSGreg Roachuse Fisharebest\Webtrees\Contracts\UserInterface; 4ea101122SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\HomePage; 556f9a9c1SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\Logout; 656f9a9c1SGreg Roachuse Fisharebest\Webtrees\I18N; 70d7461faSGreg Roach 8*7c2c99faSGreg Roach/** 9*7c2c99faSGreg Roach * @var UserInterface $user 10*7c2c99faSGreg Roach */ 11*7c2c99faSGreg Roach 1256f9a9c1SGreg Roach?> 13dd6b2bfcSGreg Roach 14dd6b2bfcSGreg Roach<p> 15c65e00b4SGreg Roach <?= I18N::translate('You are signed in as %s.', e($user->userName())) ?> 16dd6b2bfcSGreg Roach</p> 17dd6b2bfcSGreg Roach 180d7461faSGreg Roach<p> 19ea101122SGreg Roach <a href="#" class="btn btn-primary" data-post-url="<?= e(route(Logout::class)) ?>" data-reload-url="<?= e(route(HomePage::class)) ?>"> 20dd6b2bfcSGreg Roach <?= /* I18N: A button label. */ I18N::translate('sign out') ?> 210d7461faSGreg Roach </a> 220d7461faSGreg Roach</p> 23