From 4aad42d993619d03040d1a96d133c7784aa4bc28 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Wed, 19 Sep 2012 02:42:01 +0200 Subject: Sync search result statistics with archweb * Use archweb classes for search result statistics. * Add some space between page numbers. * Display current page number instead of current item range. * Hide page numbers if the result fits into a single page. Signed-off-by: Lukas Fleischer --- web/template/pkg_search_form.php | 4 ++-- web/template/pkg_search_results.php | 13 ++++++++----- 2 files changed, 10 insertions(+), 7 deletions(-) (limited to 'web/template') diff --git a/web/template/pkg_search_form.php b/web/template/pkg_search_form.php index 3f900882..49ca876f 100644 --- a/web/template/pkg_search_form.php +++ b/web/template/pkg_search_form.php @@ -30,7 +30,7 @@ $orderby = array( 'd' => __('Descending') ); -$pages = array(50, 100, 250); +$per_page = array(50, 100, 250); ?>