mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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:
parent
c751921aff
commit
41b6cff7c0
1 changed files with 1 additions and 3 deletions
|
@ -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>
|
||||||
|
|
Loading…
Add table
Reference in a new issue