index : website | |
Archlinux32 website - obsolete | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | packages/index.php | 19 |
diff --git a/packages/index.php b/packages/index.php index a4945ff..1347aa9 100644 --- a/packages/index.php +++ b/packages/index.php @@ -3,6 +3,7 @@ require_once "../init.php"; require_once BASE . "/lib/mysql.php"; require_once BASE . "/lib/style.php"; +require_once BASE . "/lib/format.php"; foreach (array("bugs","sort","del","uses_upstream","uses_modification") as $expected_param) @@ -341,6 +342,24 @@ require_once BASE . "/lib/style.php"; }; + if (isset($_GET["exact"])) { + export_as_requested( + array( + "All" => $exact_matches + ) + ); + die(); + }; + + if (isset($_GET["fuzzy"])) { + export_as_requested( + array( + "All" => $fuzzy_matches + ) + ); + die(); + }; + print_header("Package Search"); ?> |