Files
2026-06-24 13:46:03 +02:00

40 lines
1.4 KiB
PHP

<?php
/******************************************************************************
* YMS - Yacht Management Software
* Copyright (C) 2024-2026 Thomas Hooge
*
* SPDX-License-Identifier: WTFPL
******************************************************************************/
require 'globals.inc';
$user->logout();
?>
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="noindex,nofollow">
<title><?=APP_TITLE_SHORT?> - Login</title>
<link href="bootstrap/css/bootstrap.min.css" rel="stylesheet">
<script src="bootstrap/js/bootstrap.bundle.min.js"></script>
</head>
<body>
<div class="container">
<section class="mx-auto my-5" style="max-width:23rem;">
<div class="card">
<div class="card-header">
<?=_('Logout')?>
</div>
<div class="card-body">
<h5 class="card-title"><?=sprintf(_('<b>%s</b> is now logged out'), $user->displayname)?></h5>
<p class="card-text"><?=sprintf(_('Thank you for using %s.'), APP_TITLE_SHORT)?></p>
<p class="card-text"><?=sprintf(_('Always feel free to send improvements, suggestions, error messages or anything else to %s.'), $g_mailto_webmaster)?></p>
<a class="btn btn-primary" href="login.php"><?=_('New login')?></a>
</div>
</div>
</section>
</div>
</body>
</html>