pkgreq_results.php: Split out package results box

Do not include the wrapper div container in the template.

Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
Lukas Fleischer 2017-02-07 08:29:53 +01:00
parent ff8eb62a75
commit 05007d8b1a
2 changed files with 126 additions and 126 deletions

View file

@ -77,7 +77,9 @@ if (isset($base_id)) {
$SID = $_COOKIE['AURSID'];
html_header(__("Requests"));
echo '<div id="pkglist-results" class="box">';
include('pkgreq_results.php');
echo '</div>';
}
html_footer(AURWEB_VERSION);

View file

@ -1,4 +1,3 @@
<div id="pkglist-results" class="box">
<div class="pkglist-stats">
<p>
<?= _n('%d package request found.', '%d package requests found.', $total) ?>
@ -126,4 +125,3 @@
</p>
<?php endif; ?>
</div>
</div>