Add a new table which shows all package requests affecting the currently
logged in user.

Signed-off-by: Lukas Fleischer <[email protected]>
---
 web/html/home.php | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/web/html/home.php b/web/html/home.php
index 62409af..381cb71 100644
--- a/web/html/home.php
+++ b/web/html/home.php
@@ -33,6 +33,12 @@ if (isset($_COOKIE["AURSID"])) {
                        );
                        pkg_search_page($params, false, $_COOKIE["AURSID"]);
                        ?>
+                       <h3><?= __("My Requests"); ?></h3>
+                       <?php
+                       $results = pkgreq_list(0, 50, 
uid_from_sid($_COOKIE["AURSID"]));
+                       $show_headers = false;
+                       include('pkgreq_results.php');
+                       ?>
                        <h3><?= __("My Packages"); ?> <span class="more">(<a 
href="<?= get_uri('/packages/') ?>?SeB=m&amp;K=<?= 
username_from_sid($_COOKIE["AURSID"]); ?>"><?= __('more') ?></a>)</span></h3>
                        <?php
                        $params = array(
-- 
2.11.1

Reply via email to