From 800aca0eeba1de4c5406eb3f5251748cd50464ba Mon Sep 17 00:00:00 2001 From: Callan Barrett Date: Fri, 6 Jun 2008 00:20:01 +0800 Subject: Rewrite pkg_search_form.php Adds back sort by options and cleans up html and php everywhere Signed-off-by: Callan Barrett --- web/template/pkg_search_form.php | 299 ++++++++++++++++++++++++--------------- 1 file changed, 183 insertions(+), 116 deletions(-) (limited to 'web/template/pkg_search_form.php') diff --git a/web/template/pkg_search_form.php b/web/template/pkg_search_form.php index 05b2da7..5478cdb 100644 --- a/web/template/pkg_search_form.php +++ b/web/template/pkg_search_form.php @@ -1,123 +1,190 @@ - -
- - -
- - - - - - + +
- -
+ + + +
+ + + + + + + + + + - +
+ +
- - - + + \n"; - - print "\n"; - - print "\n"; - - print "\n"; - - print "\n"; - - // Added to break put the buttons in a new line + } +} ?> -
- -
-
+ + + + + +
+ +
+ + + + + +
+ \n"; - print "
\n"; - print " ".__("Category"); - print "
\n"; - print " \n"; - print "
\n"; - print " ".__("Keywords"); - print "
\n"; - print " \n"; - print "
\n"; - print " ".__("Search by"); - print "
\n"; - - print " \n"; - print "
\n"; - print " ".__("Per page"); - print "
\n"; - print " \n"; - print "
- - - - + + + + -
  - '> -   - '> - + + + + + +
+ " maxlength='35' /> +
+ + + + + +
+
+foreach ($searchby as $k => $v) { + if ($_REQUEST['SeB'] == $k) { +?> + + + + + +
+ + + + + +
+ +
+ + + + + +
+ +
+ + + + + +
+
-
- -
- +
+ + + + + +
+ + + +
+
+
+
+ +
-- cgit v1.2.3-54-g00ecf