mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
first pass at displaying package search results - still needs Less/More buttons
This commit is contained in:
parent
1f62f86af5
commit
16a97cf1a3
4 changed files with 72 additions and 27 deletions
|
@ -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$");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue