pkgreq_results.php: Add a flag to hide headers

Introduce a new boolean flag that can be used to disable extended
headers, pagination and forms.

Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
Lukas Fleischer 2017-02-07 08:44:14 +01:00
parent 05007d8b1a
commit 403241baa3
2 changed files with 9 additions and 4 deletions

View file

@ -78,6 +78,7 @@ if (isset($base_id)) {
html_header(__("Requests"));
echo '<div id="pkglist-results" class="box">';
$show_headers = true;
include('pkgreq_results.php');
echo '</div>';
}