156f9a9c1SGreg Roach<?php 20d7461faSGreg Roach 3*10e06497SGreg Roachdeclare(strict_types=1); 4*10e06497SGreg Roach 57c2c99faSGreg Roachuse Fisharebest\Webtrees\Contracts\UserInterface; 6ea101122SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\HomePage; 756f9a9c1SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\Logout; 856f9a9c1SGreg Roachuse Fisharebest\Webtrees\I18N; 90d7461faSGreg Roach 107c2c99faSGreg Roach/** 117c2c99faSGreg Roach * @var UserInterface $user 127c2c99faSGreg Roach */ 137c2c99faSGreg Roach 1456f9a9c1SGreg Roach?> 15dd6b2bfcSGreg Roach 16dd6b2bfcSGreg Roach<p> 17c65e00b4SGreg Roach <?= I18N::translate('You are signed in as %s.', e($user->userName())) ?> 18dd6b2bfcSGreg Roach</p> 19dd6b2bfcSGreg Roach 200d7461faSGreg Roach<p> 21d4786c66SGreg Roach <a href="#" class="btn btn-primary" data-wt-post-url="<?= e(route(Logout::class)) ?>" data-wt-reload-url="<?= e(route(HomePage::class)) ?>"> 22dd6b2bfcSGreg Roach <?= /* I18N: A button label. */ I18N::translate('sign out') ?> 230d7461faSGreg Roach </a> 240d7461faSGreg Roach</p> 25