diff --git a/templates/_header.html.php b/templates/_header.html.php index d1297c9..dfec0fe 100644 --- a/templates/_header.html.php +++ b/templates/_header.html.php @@ -1,32 +1,24 @@ - - Address Book - <?php if (!empty($user)): ?> +<head> + <title>Address Book + <?php if (!empty($user->getNick())): ?>  - <?= $user->getNick() ?> - <?php endif; ?> - - - + + + -

Address Book

- 🏠 Home - ⚙ Admin - getAuth() == \App\Enums\UserAuth::AUTH_ANONYMOUS): ?> - 🚪Login - - 🚪Logout - - getAuth() == \App\Enums\UserAuth::AUTH_ANONYMOUS) { - echo "no"; - } else { - echo "yes"; - } - ?> - getAuth() == \App\Enums\UserAuth::AUTH_ANONYMOUS): ?> -
- Welcome back, getNick(); ?> - +

Address Book

+🏠 Home +⚙ Admin +getAuth() == \App\Enums\UserAuth::AUTH_ANONYMOUS): ?> + 🚪Login + + 🚪Logout + +getNick())): ?> +
+ Welcome back, getNick(); ?> +