From d62baaecf0aa8eb87776d9de9aa5ee50034613f5 Mon Sep 17 00:00:00 2001 From: Callan Barrett Date: Tue, 23 Dec 2008 00:52:09 +0900 Subject: 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 Signed-off-by: Loui Chang --- web/html/index.php | 2 ++ web/html/packages.php | 1 + 2 files changed, 3 insertions(+) (limited to 'web/html') diff --git a/web/html/index.php b/web/html/index.php index e2c840a..5511d7e 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 90ab72c..9805ee2 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.")."
\n"; } else { -- cgit v1.2.3-70-g09d2