From 4a6e12bf1fc7837699f780674c33cba5f2b1223c Mon Sep 17 00:00:00 2001 From: Jonas Kohl Date: Thu, 19 Sep 2024 16:32:18 +0200 Subject: Add log messages --- src/application/views/view_topiclog.php | 67 +++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 src/application/views/view_topiclog.php (limited to 'src/application/views') diff --git a/src/application/views/view_topiclog.php b/src/application/views/view_topiclog.php new file mode 100644 index 0000000..be3f78d --- /dev/null +++ b/src/application/views/view_topiclog.php @@ -0,0 +1,67 @@ +id)) . '">' . htmlentities($postAuthor->displayName) . ''; +} + +?> +
+ +
+ type === TopicLogMessage::LOCKED): ?> +
+ + $user, + ]) ?> +
+ postDate->format("c") ?> +
+ type === TopicLogMessage::UNLOCKED): ?> +
+ + $user, + ]) ?> +
+ postDate->format("c") ?> +
+ type === TopicLogMessage::TITLE_CHANGED): ?> +
+ + $user, + "old_title" => '' . htmlentities($logMessage->params["old_value"] ?? __("unknown")) . '', + "new_title" => '' . htmlentities($logMessage->params["new_value"] ?? __("unknown")) . '', + ]) ?> +
+ postDate->format("c") ?> +
+ + + +
+
-- cgit v1.2.3