Refactor pkg_search_page()
commit3b4c6e72a966c5344976990ed3214f2e184c90ad
authorLukas Fleischer <lfleischer@archlinux.org>
Fri, 3 Feb 2017 23:04:22 +0000 (4 00:04 +0100)
committerLukas Fleischer <lfleischer@archlinux.org>
Fri, 3 Feb 2017 23:36:17 +0000 (4 00:36 +0100)
tree9be608ee667633ca6400e8d79c82c8416e8c3cd2
parentac745f656d4c8d19cdcf8d843d6855c6b45a3974
Refactor pkg_search_page()

* Pass search parameters using an associative array instead of $_GET.
* Add a boolean parameter to enable and disable headers/footers.

Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
web/html/packages.php
web/lib/pkgfuncs.inc.php
web/template/pkg_search_results.php