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 +++++-- 11 files changed, 207 insertions(+), 74 deletions(-) (limited to 'src/application') 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(); ?> -