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>
This commit is contained in:
Marcel Korpel 2015-07-21 22:53:54 +02:00 committed by Lukas Fleischer
parent c751921aff
commit 41b6cff7c0

View file

@ -63,12 +63,10 @@ $count = pkgbase_comments_count($base_id, $include_deleted);
</p> </p>
</div> </div>
<?php endwhile; ?> <?php endwhile; ?>
</div>
<?php if ($count > 10 && !isset($_GET['comments'])): ?> <?php if ($count > 10 && !isset($_GET['comments'])): ?>
<div id="news">
<h3> <h3>
<a href="<?= htmlentities(get_pkgbase_uri($pkgbase_name), ENT_QUOTES) . '?' . mkurl('comments=all') ?>" title="<?= __('View all comments') ?> (<?= $count ?>)"><?= __('All comments', $count) ?></a> <a href="<?= htmlentities(get_pkgbase_uri($pkgbase_name), ENT_QUOTES) . '?' . mkurl('comments=all') ?>" title="<?= __('View all comments') ?> (<?= $count ?>)"><?= __('All comments', $count) ?></a>
</h3> </h3>
</div>
<?php endif; ?> <?php endif; ?>
</div>