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>
This commit is contained in:
Callan Barrett 2008-12-23 00:52:09 +09:00 committed by Loui Chang
parent 3288805d2d
commit d62baaecf0
3 changed files with 12 additions and 7 deletions

View file

@ -12,6 +12,8 @@ include_lang('pkgfuncs_po.inc');
html_header( __("Home") );
include('pkg_search_form.php');
$dbh = db_connect();
?>

View file

@ -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 {