From 39f6391243abce42fd3b472fe682a638d700bb37 Mon Sep 17 00:00:00 2001 From: blackcoder87 Date: Sun, 28 Jan 2024 05:47:21 +0100 Subject: [PATCH] Show comments below event details (#910) --- application/modules/events/config/config.php | 7 ++++++- application/modules/events/views/show/event.php | 8 +++++--- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/application/modules/events/config/config.php b/application/modules/events/config/config.php index c7a3b7711..eef4efe6c 100644 --- a/application/modules/events/config/config.php +++ b/application/modules/events/config/config.php @@ -12,7 +12,7 @@ class Config extends \Ilch\Config\Install { public $config = [ 'key' => 'events', - 'version' => '1.22.1', + 'version' => '1.22.2', 'icon_small' => 'fa-solid fa-ticket', 'author' => 'Veldscholten, Kevin', 'link' => 'https://ilch.de', @@ -202,6 +202,11 @@ public function getUpdate($installedVersion) // no break case "1.21.2": $this->db()->query("UPDATE `[prefix]_modules` SET `icon_small` = 'fa-solid fa-ticket' WHERE `key` = 'events';"); + // no break + case "1.22.0": + // no break + case "1.22.1": + // no break } } } diff --git a/application/modules/events/views/show/event.php b/application/modules/events/views/show/event.php index ced596755..8aa3c6148 100644 --- a/application/modules/events/views/show/event.php +++ b/application/modules/events/views/show/event.php @@ -35,7 +35,7 @@
-
+
escape($event->getImage()) != ''): ?> <?=$this->getTrans('headpic') ?> @@ -219,8 +219,10 @@ alwaysPurify($event->getText()) ?>
- -
+
+
+
+
getUser() && (($eventEntrants != '' && $eventEntrants->getUserId() == $this->getUser()->getId()) || $event->getUserId() == $this->getUser()->getId())): ?>