From 84d21e6f30a2f0219f27942998d295d716751bf6 Mon Sep 17 00:00:00 2001 From: canyonknight Date: Wed, 23 May 2012 15:27:53 -0400 Subject: pkg_search_results.php: Pull out DB code * Move DB code from pkg_search_results.php to already existing function in pkgfuncs.inc.php * Centralization of DB code important in a future transition to PDO interface Signed-off-by: canyonknight Signed-off-by: Lukas Fleischer --- web/template/pkg_search_results.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'web/template') diff --git a/web/template/pkg_search_results.php b/web/template/pkg_search_results.php index 95590f7..d676c0a 100644 --- a/web/template/pkg_search_results.php +++ b/web/template/pkg_search_results.php @@ -46,9 +46,8 @@ if (!$result): ?> - - - + + ]" value="1" /> @@ -76,7 +75,7 @@ if (!$result): ?> - + -- cgit v1.2.3-70-g09d2