From d8b74761c6cefdd83360d3f2add0e9ccdc6064c7 Mon Sep 17 00:00:00 2001 From: Jonas Kohl Date: Sat, 14 Sep 2024 17:59:13 +0200 Subject: Even more changes (devel commit messages are useless) --- src/application/mystic/forum/orm/Post.php | 1 + src/application/views/form_login.php | 4 +- src/application/views/form_newtopic.php | 34 +- src/application/views/form_register.php | 40 +- src/application/views/nav_logged_in.php | 4 +- src/application/views/template_end.php | 25 +- .../views/template_navigation_start.php | 2 +- src/application/views/template_start.php | 14 +- src/application/views/view_post.php | 32 +- src/application/views/view_topic_start.php | 96 +- src/application/views/view_user.php | 29 +- src/composer.json | 4 + src/composer.lock | 1151 ++++++++++++++++++++ src/index.php | 166 ++- src/themes/default/theme.css | 10 + src/themes/slate/theme.css | 15 + src/ui/site.css | 2 +- src/ui/theme-default.css | 3 - src/ui/theme-slate.css | 8 - 19 files changed, 1541 insertions(+), 99 deletions(-) create mode 100644 src/composer.lock create mode 100644 src/themes/default/theme.css create mode 100644 src/themes/slate/theme.css delete mode 100644 src/ui/theme-default.css delete mode 100644 src/ui/theme-slate.css (limited to 'src') diff --git a/src/application/mystic/forum/orm/Post.php b/src/application/mystic/forum/orm/Post.php index becbb9d..186ea61 100644 --- a/src/application/mystic/forum/orm/Post.php +++ b/src/application/mystic/forum/orm/Post.php @@ -16,4 +16,5 @@ class Post extends Entity { public \DateTimeImmutable $postDate; #[References("public.topics", onDelete: References::CASCADE)] public string $topicId; #[DefaultValue("false")] public bool $deleted; + #[DefaultValue("false")] public bool $edited; } diff --git a/src/application/views/form_login.php b/src/application/views/form_login.php index 8ddb22e..27924e8 100644 --- a/src/application/views/form_login.php +++ b/src/application/views/form_login.php @@ -9,7 +9,9 @@ if ($lastFormUri !== $_SERVER["REQUEST_URI"]) $lastForm = []; RequestUtils::clearLastForm(); ?> -