From e17583fb63983417e79fdba9df7b2d901c8b5079 Mon Sep 17 00:00:00 2001
From: Duncan Cameron <3147688+bramley@users.noreply.github.com>
Date: Sun, 7 Jul 2024 13:49:21 +0100
Subject: [PATCH] Display correct welcome message when hour is exactly 6, 12 or
18
---
bl-kernel/admin/views/dashboard.php | 256 ++++++++++++++--------------
1 file changed, 128 insertions(+), 128 deletions(-)
diff --git a/bl-kernel/admin/views/dashboard.php b/bl-kernel/admin/views/dashboard.php
index c7b5fadb..dc94c9bb 100644
--- a/bl-kernel/admin/views/dashboard.php
+++ b/bl-kernel/admin/views/dashboard.php
@@ -1,140 +1,140 @@
-
-
+
+
-
-
-
- username();
- $user = new User($username);
- $name = '';
- if ($user->nickname()) {
- $name = $user->nickname();
- } elseif ($user->firstName()) {
- $name = $user->firstName();
- }
- ?>
- g('welcome') ?>
-
-
-
+
+
+
+ username();
+ $user = new User($username);
+ $name = '';
+ if ($user->nickname()) {
+ $name = $user->nickname();
+ } elseif ($user->firstName()) {
+ $name = $user->firstName();
+ }
+ ?>
+ g('welcome') ?>
+
+
+
-
-
-
-
-
+
+
+
-
-
- -
-
p('Notifications') ?>
-
- db, 0, NOTIFICATIONS_AMOUNT);
- foreach ($logs as $log) {
- $phrase = $L->g($log['dictionaryKey']);
- echo '- ';
- echo $phrase;
- if (!empty($log['notes'])) {
- echo ' « ' . $log['notes'] . ' »';
- }
- echo '
';
- echo Date::format($log['date'], DB_DATE_FORMAT, NOTIFICATIONS_DATE_FORMAT);
- echo ' [ ' . $log['username'] . ' ]';
- echo '';
- echo ' ';
- }
- ?>
-
+
+
+ -
+
p('Notifications') ?>
+
+ db, 0, NOTIFICATIONS_AMOUNT);
+ foreach ($logs as $log) {
+ $phrase = $L->g($log['dictionaryKey']);
+ echo '- ';
+ echo $phrase;
+ if (!empty($log['notes'])) {
+ echo ' « ' . $log['notes'] . ' »';
+ }
+ echo '
';
+ echo Date::format($log['date'], DB_DATE_FORMAT, NOTIFICATIONS_DATE_FORMAT);
+ echo ' [ ' . $log['username'] . ' ]';
+ echo '';
+ echo ' ';
+ }
+ ?>
+
-
-
+
+