From 38f03c375eafdb6b95190729479c6fa0d721b400 Mon Sep 17 00:00:00 2001 From: Jonas Kohl Date: Mon, 16 Sep 2024 11:31:53 +0200 Subject: More i18n --- src/application/views/view_topic_start.php | 43 +++++++++++++----------------- 1 file changed, 19 insertions(+), 24 deletions(-) (limited to 'src/application/views/view_topic_start.php') diff --git a/src/application/views/view_topic_start.php b/src/application/views/view_topic_start.php index fc54623..35befc7 100644 --- a/src/application/views/view_topic_start.php +++ b/src/application/views/view_topic_start.php @@ -16,17 +16,15 @@ $canDelete = ($GLOBALS["currentUser"]?->id === $topicAuthor->id && $topicAuthor- @@ -37,14 +35,14 @@ $canDelete = ($GLOBALS["currentUser"]?->id === $topicAuthor->id && $topicAuthor- @@ -65,37 +63,34 @@ $canDelete = ($GLOBALS["currentUser"]?->id === $topicAuthor->id && $topicAuthor- title) ?>
- + - +
- +

- Started by - - displayName) ?> - - (deleted) - - on creationDate->format("c")) ?> + ($topicAuthor !== null) ? ('' . htmlentities($topicAuthor->displayName) . '') : __("(deleted)"), + "date" => '' . htmlentities($topic->creationDate->format("c")) . '', + ]); ?> - -- cgit v1.2.3