summaryrefslogtreecommitdiffstats
path: root/web/html
diff options
context:
space:
mode:
authorCallan Barrett <wizzomafizzo@gmail.com>2008-12-22 16:52:09 +0100
committerLoui Chang <louipc.ist@gmail.com>2008-12-29 23:31:55 +0100
commitd62baaecf0aa8eb87776d9de9aa5ee50034613f5 (patch)
treee502735a9ba3ba01b8f4e92410d5c38306c2bb73 /web/html
parent3288805d2ddeb827d3d25a4a62d74bcdbafa4bb9 (diff)
downloadaur-d62baaecf0aa8eb87776d9de9aa5ee50034613f5.tar.gz
aur-d62baaecf0aa8eb87776d9de9aa5ee50034613f5.tar.xz
Add search bar to index and pkg details pages
Also changed it around a little bit so it's not tied down the search results function Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Diffstat (limited to 'web/html')
-rw-r--r--web/html/index.php2
-rw-r--r--web/html/packages.php1
2 files changed, 3 insertions, 0 deletions
diff --git a/web/html/index.php b/web/html/index.php
index e2c840a6..5511d7e0 100644
--- a/web/html/index.php
+++ b/web/html/index.php
@@ -12,6 +12,8 @@ include_lang('pkgfuncs_po.inc');
html_header( __("Home") );
+include('pkg_search_form.php');
+
$dbh = db_connect();
?>
diff --git a/web/html/packages.php b/web/html/packages.php
index 90ab72cb..9805ee2b 100644
--- a/web/html/packages.php
+++ b/web/html/packages.php
@@ -64,6 +64,7 @@ if ($output):
endif;
if (isset($_GET["ID"])) {
+ include('pkg_search_form.php');
if (!intval($_GET["ID"])) {
print __("Error trying to retrieve package details.")."<br />\n";
} else {