Verbotene Konzepte in JavaScript entfernt #61

Closed
caroline.slt wants to merge 4 commits from Verbotene_JavaScript_Konzepte into dev
Showing only changes of commit fedb6f59f5 - Show all commits
+10 -22
View File
@@ -237,7 +237,7 @@ if ($replyAuthor === null) {
<form method="post"
action="index.php?pfad=deleteComment"
class="delete-comment-form">
class="delete-comment-form confirm-delete-comment">
<input type="hidden"
name="comment_id"
@@ -251,23 +251,10 @@ if ($replyAuthor === null) {
(string) $comment->getArticleId()
); ?>">
<form method="post"
action="index.php?pfad=deleteComment"
class="delete-comment-form confirm-delete-comment">
<input type="hidden"
name="comment_id"
value="<?php echo htmlspecialchars((string) $comment->getId()); ?>">
<input type="hidden"
name="article_id"
value="<?php echo htmlspecialchars((string) $comment->getArticleId()); ?>">
<button type="submit"
class="delete-comment-button">
Kommentar löschen
</button>
</form>
<button type="submit"
class="delete-comment-button">
Kommentar löschen
</button>
</form>
<?php endif; ?>
@@ -381,7 +368,7 @@ if ($replyAuthor === null) {
<form method="post"
action="index.php?pfad=deleteComment"
class="delete-comment-form">
class="delete-comment-form confirm-delete-comment">
<input type="hidden"
name="comment_id"
@@ -395,9 +382,10 @@ if ($replyAuthor === null) {
(string) $reply->getArticleId()
); ?>">
<form method="post"
action="index.php?pfad=deleteComment"
class="delete-comment-form confirm-delete-comment">
<button type="submit"
class="delete-comment-button">
Antwort löschen
</button>
</form>
<?php endif; ?>