From 82ce984dd6680a5d571423683845433ac758a0bb Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Sat, 25 Apr 2009 09:28:44 +0000 Subject: [PATCH] r1813@llin: dpavlin | 2009-04-25 11:28:36 +0200 use bold for quick glance git-svn-id: svn+ssh://mjesec/home/dpavlin/svn/webpac2/trunk@1153 07558da8-63fa-0310-ba24-9fe276d99e06 --- vhost/style.css | 9 +++++---- vhost/webpac2.cgi | 4 ++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/vhost/style.css b/vhost/style.css index dacb270..9250ee8 100644 --- a/vhost/style.css +++ b/vhost/style.css @@ -75,12 +75,13 @@ ul.pager li { width: 3em; } -.pager .current_page { - font-weight: bold; +ul.pager li.skip { + color: #888; } -.pager .skip { - color: #888; +ul.pager li.current_page { + font-weight: bold; + color: #000; } pre { diff --git a/vhost/webpac2.cgi b/vhost/webpac2.cgi index 02a4b3c..7b3341d 100755 --- a/vhost/webpac2.cgi +++ b/vhost/webpac2.cgi @@ -178,8 +178,8 @@ if ( my $search = param('search') ) { printf qq|
$no_results
\n\n|, $search; } else { - my $results = "%d results for search '%s' showing results %d - %d on page %d"; - printf qq|
$results
\n\n|, $pager->total_entries, $search, $pager->first, $pager->last, $pager->current_page; + my $results = "%d results for search %s showing results %d - %d"; + printf qq|
$results
\n\n|, $pager->total_entries, $search, $pager->first, $pager->last; my $pager_html = join("\n", show_pager( $pager )); -- 2.20.1