From 941f310068be4eac7d8a8679944a04495f67461e Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Wed, 23 May 2012 13:46:14 -0400 Subject: Search form layout overhaul * Always show advanced search criteria. * Rearrange filter criteria (list filters first, list sorting and pagination options behind). * HTML cleanup. Signed-off-by: Lukas Fleischer Signed-off-by: canyonknight --- web/template/pkg_search_form.php | 244 ++++++++++++++++++++------------------- 1 file changed, 123 insertions(+), 121 deletions(-) (limited to 'web/template') diff --git a/web/template/pkg_search_form.php b/web/template/pkg_search_form.php index 3e291e13..7997bb1d 100644 --- a/web/template/pkg_search_form.php +++ b/web/template/pkg_search_form.php @@ -1,126 +1,128 @@ - + -
+$searchby = array( + 'nd' => __('Name, Description'), + 'n' => __('Name Only'), + 'x' => __('Exact name'), + 'm' => __('Maintainer'), + 's' => __('Submitter') +); + +$outdated_flags = array( + '' => __('All'), + 'on' => __('Flagged'), + 'off' => __('Not Flagged') +); + +$sortby = array( + 'n' => __('Name'), + 'c' => __('Category'), + 'v' => __('Votes'), + 'w' => __('Voted'), + 'o' => __('Notify'), + 'm' => __('Maintainer'), + 'a' => __('Age') +); + +$orderby = array( + 'a' => __('Ascending'), + 'd' => __('Descending') +); + +$pages = array(50, 100, 250); +?> + +
-- cgit v1.2.3-24-g4f1b