summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorMarcel Korpel <marcel.korpel@gmail.com>2015-07-21 22:53:54 +0200
committerLukas Fleischer <lfleischer@archlinux.org>2015-08-08 12:59:24 +0200
commit41b6cff7c0e8459ef3783b9c3447ff43c0672a13 (patch)
tree11b2f43bdbe0f16a602fe772fe60af6defed3b90 /web
parentc751921affdcc8e67df2c04cb00de2d0c58e1927 (diff)
downloadaurweb-41b6cff7c0e8459ef3783b9c3447ff43c0672a13.tar.xz
pkg_comments.php: Merge two DIVs with same ID
Signed-off-by: Marcel Korpel <marcel.korpel@gmail.com> Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'web')
-rw-r--r--web/template/pkg_comments.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/web/template/pkg_comments.php b/web/template/pkg_comments.php
index 26fddfd..bb006b9 100644
--- a/web/template/pkg_comments.php
+++ b/web/template/pkg_comments.php
@@ -63,12 +63,10 @@ $count = pkgbase_comments_count($base_id, $include_deleted);
</p>
</div>
<?php endwhile; ?>
-</div>
<?php if ($count > 10 && !isset($_GET['comments'])): ?>
-<div id="news">
<h3>
<a href="<?= htmlentities(get_pkgbase_uri($pkgbase_name), ENT_QUOTES) . '?' . mkurl('comments=all') ?>" title="<?= __('View all comments') ?> (<?= $count ?>)"><?= __('All comments', $count) ?></a>
</h3>
-</div>
<?php endif; ?>
+</div>