mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 09:43:03 +00:00
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:
parent
3288805d2d
commit
d62baaecf0
3 changed files with 12 additions and 7 deletions
|
@ -12,6 +12,8 @@ include_lang('pkgfuncs_po.inc');
|
|||
|
||||
html_header( __("Home") );
|
||||
|
||||
include('pkg_search_form.php');
|
||||
|
||||
$dbh = db_connect();
|
||||
|
||||
?>
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue