This commit is contained in:
William 2022-02-02 12:56:17 +01:00
parent 0773afdae5
commit 2063418302
3 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@
<?php if ($this->user->loggedIn): ?> <?php if ($this->user->loggedIn): ?>
<span><?=htmlspecialchars($this->user->username)?></span> <span><?=htmlspecialchars($this->user->username)?></span>
<a href="<?=$this->config['root_url']?>confirm_logout.php">Logg ut</a> <a href="<?=$this->config['root_url']?>confirm-logout.php">Logg ut</a>
<?php else: ?> <?php else: ?>
<span>Ikke pålogget</span> <span>Ikke pålogget</span>
<a href="<?=$this->config['root_url']?>login.php">Logg inn</a> <a href="<?=$this->config['root_url']?>login.php">Logg inn</a>

View File

@ -7,5 +7,5 @@ if (!$app->user->loggedIn)
} }
$app->view('template/header', ["title" => "Bekreft avlogging"]); $app->view('template/header', ["title" => "Bekreft avlogging"]);
$app->view('confirm_logout'); $app->view('confirm-logout');
$app->view('template/footer'); $app->view('template/footer');