summaryrefslogtreecommitdiffstats
path: root/web/html
diff options
context:
space:
mode:
authoreric <eric>2004-06-25 02:17:17 +0200
committereric <eric>2004-06-25 02:17:17 +0200
commit16a97cf1a38313dbe8cab0f29f1054e61a3964f6 (patch)
treea6e535a9b130f20b204ca860573425a1b99cedb5 /web/html
parent1f62f86af5225643f2a7d72c1a050c46ffc37477 (diff)
downloadaur-16a97cf1a38313dbe8cab0f29f1054e61a3964f6.tar.gz
aur-16a97cf1a38313dbe8cab0f29f1054e61a3964f6.tar.xz
first pass at displaying package search results - still needs Less/More buttons
Diffstat (limited to 'web/html')
-rw-r--r--web/html/pkgsearch.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/web/html/pkgsearch.php b/web/html/pkgsearch.php
index 6b23265d..91a2d58e 100644
--- a/web/html/pkgsearch.php
+++ b/web/html/pkgsearch.php
@@ -29,16 +29,23 @@ if (isset($_COOKIE["AURSID"])) {
if ($atype && $_REQUEST["Action"] == "Something") {
# do something based on what the user specifies
#
+
} elseif ($atype && $_REQUEST["Action"] == "SomethingElse") {
# do something else based on what the user specifies
#
+
+} elseif ($_REQUEST["Action"] == "SearchPkgs") {
+ # do something else based on what the user specifies
+ #
+ pkg_search_page($_REQUEST["L"], $_REQUEST["C"], $_REQUEST["K"],
+ $_REQUEST["SB"], $_REQUEST["O"], $_REQUEST["PP"]);
+
} else {
# do the default thing - give the user a search form that they
# can specify: location, category, maintainer, name, 'my pkgs'
#
pkg_search_page();
}
-print __("Under construction...")."<br />\n";
html_footer("\$Id$");