Added vote button to detail page (bug#2638)

X's only show up if user can delete comment
This commit is contained in:
simo 2005-05-06 03:58:26 +00:00
parent 90eadf0252
commit ed17d0f69e
2 changed files with 34 additions and 8 deletions

View file

@ -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();