summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Korpel <marcel.korpel@gmail.com>2015-07-10 18:47:35 +0200
committerLukas Fleischer <lfleischer@archlinux.org>2015-08-08 12:59:24 +0200
commit67cff2cd5ac67d16c7934d95391518836acd1a36 (patch)
tree004153b7f7190cd337a17222fa5064044d6d2f1e
parent4c5a299e8078f357b14246c268e8793b27bd5679 (diff)
downloadaurweb-67cff2cd5ac67d16c7934d95391518836acd1a36.tar.xz
Add IDs to comments
Signed-off-by: Marcel Korpel <marcel.korpel@gmail.com> Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
-rw-r--r--web/template/pkg_comments.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/template/pkg_comments.php b/web/template/pkg_comments.php
index 8650db2..26fddfd 100644
--- a/web/template/pkg_comments.php
+++ b/web/template/pkg_comments.php
@@ -41,7 +41,7 @@ $count = pkgbase_comments_count($base_id, $include_deleted);
$row['DelUserName'] = html_format_username($row['DelUserName']);
$row['EditUserName'] = html_format_username($row['EditUserName']);
?>
- <h4<?php if ($row['DelUsersID']): ?> class="comment-deleted"<?php endif; ?>>
+ <h4 id="comment-<?= $row['ID'] ?>"<?php if ($row['DelUsersID']): ?> class="comment-deleted"<?php endif; ?>>
<?= $heading ?>
<?php if (!$row['DelUsersID'] && can_delete_comment_array($row)): ?>
<form class="delete-comment-form" method="post" action="<?= htmlspecialchars(get_pkgbase_uri($pkgbase_name), ENT_QUOTES); ?>">