Implement a table that shows all packages which are flagged out-of-date
and either maintained or co-maintained by the currently logged in user.

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

diff --git a/web/html/home.php b/web/html/home.php
index 08ae59f..62409af 100644
--- a/web/html/home.php
+++ b/web/html/home.php
@@ -21,6 +21,18 @@ if (isset($_COOKIE["AURSID"])) {
                <div id="intro" class="box">
                        <?php if (isset($_COOKIE["AURSID"])): ?>
                        <h2><?= __("Dashboard"); ?></h2>
+                       <h3><?= __("My Flagged Packages"); ?></h3>
+                       <?php
+                       $params = array(
+                               'PP' => 50,
+                               'SeB' => 'M',
+                               'K' => username_from_sid($_COOKIE["AURSID"]),
+                               'outdated' => 'on',
+                               'SB' => 'l',
+                               'SO' => 'a'
+                       );
+                       pkg_search_page($params, false, $_COOKIE["AURSID"]);
+                       ?>
                        <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