From 6f6e53a483bbee4aa8358333108844f5a45791c5 Mon Sep 17 00:00:00 2001 From: Caroline Schulte Date: Mon, 15 Jun 2026 22:32:00 +0200 Subject: [PATCH] =?UTF-8?q?Antwortm=C3=B6glichkeit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- content/showArticle.php | 44 +++++++++-- js/comments.js | 106 +++++++++++++++++++++++++-- php/ajax/add-comment.php | 13 +++- php/model/Comment.php | 31 +++++++- php/model/CommentManagerDAO.php | 9 ++- php/model/DatabaseCommentManager.php | 39 ++++++++-- 6 files changed, 213 insertions(+), 29 deletions(-) diff --git a/content/showArticle.php b/content/showArticle.php index 3feb0bf..dbd4082 100644 --- a/content/showArticle.php +++ b/content/showArticle.php @@ -104,14 +104,38 @@ if (isset($_GET["id"])) {
-
-

- getAuthor()); ?> - getCreated()); ?> -

+ isReply()): ?> +
+

+ getAuthor()); ?> + getCreated()); ?> +

-

getContent())); ?>

-
+

getContent())); ?>

+ + + +
+ + getParentCommentId() === $comment->getId()): ?> +
+

+ getAuthor()); ?> + getCreated()); ?> +

+ +

getContent())); ?>

+
+ + +
+
+

@@ -125,6 +149,12 @@ if (isset($_GET["id"])) { "> + + +