From 403241baa34c75ed4942926cf667094f6036b773 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Tue, 7 Feb 2017 08:44:14 +0100 Subject: 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 --- web/html/pkgreq.php | 1 + web/template/pkgreq_results.php | 12 ++++++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/web/html/pkgreq.php b/web/html/pkgreq.php index e0ef6cfd..f981c25d 100644 --- a/web/html/pkgreq.php +++ b/web/html/pkgreq.php @@ -78,6 +78,7 @@ if (isset($base_id)) { html_header(__("Requests")); echo '
'; + $show_headers = true; include('pkgreq_results.php'); echo '
'; } diff --git a/web/template/pkgreq_results.php b/web/template/pkgreq_results.php index bd4fc6b9..74fcb10d 100644 --- a/web/template/pkgreq_results.php +++ b/web/template/pkgreq_results.php @@ -1,3 +1,4 @@ +

@@ -17,6 +18,7 @@

+ @@ -67,7 +69,7 @@ class="flagged"> - + - - + + + @@ -99,13 +102,13 @@ -
@@ -89,8 +91,9 @@
+

@@ -125,3 +128,4 @@

+ -- cgit v1.2.3-24-g4f1b