summaryrefslogtreecommitdiffstats
path: root/web/html/packages.php
diff options
context:
space:
mode:
Diffstat (limited to 'web/html/packages.php')
-rw-r--r--web/html/packages.php15
1 files changed, 12 insertions, 3 deletions
diff --git a/web/html/packages.php b/web/html/packages.php
index 210f135..604ba72 100644
--- a/web/html/packages.php
+++ b/web/html/packages.php
@@ -372,7 +372,11 @@ if (isset($_REQUEST["do_Flag"])) {
print "</p>\n";
}
- pkgsearch_results_link();
+ if (isset($_REQUEST["ID"])) {
+ pkgdetails_link($_REQUEST["ID"]);
+ } else {
+ pkgsearch_results_link();
+ }
}
@@ -425,7 +429,11 @@ if (isset($_REQUEST["do_Flag"])) {
print "</p>\n";
}
- pkgsearch_results_link();
+ if (isset($_REQUEST["ID"])) {
+ pkgdetails_link($_REQUEST["ID"]);
+ } else {
+ pkgsearch_results_link();
+ }
}
@@ -436,10 +444,11 @@ if (isset($_REQUEST["do_Flag"])) {
print __("Error trying to retrieve package details.")."<br />\n";
} else {
- package_details($_REQUEST["ID"]);
+ package_details($_REQUEST["ID"], $_COOKIE["AURSID"]);
}
print "<br />\n";
+ # FIXME: If someone hits the detail page's vote button, this link dies
pkgsearch_results_link();