From a430a7f2c477de0e9952384e896e7c78cea3f32f Mon Sep 17 00:00:00 2001 From: Frank Lichtenheld Date: Fri, 3 Mar 2006 02:39:54 +0000 Subject: [PATCH] Small adjustments --- lib/Packages/DoSearchContents.pm | 4 ++-- static/packages.css | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Packages/DoSearchContents.pm b/lib/Packages/DoSearchContents.pm index bf0b435..b1057f8 100644 --- a/lib/Packages/DoSearchContents.pm +++ b/lib/Packages/DoSearchContents.pm @@ -44,7 +44,7 @@ sub do_search_contents { $$menu = ""; my $keyword = $opts->{keywords}; - my $mode = $opts->{mode}; + my $mode = $opts->{mode} || ''; my $suite = $opts->{suite}[0]; my $archive = $opts->{archive}[0] ||''; $Packages::Search::too_many_hits = 0; @@ -193,7 +193,7 @@ sub do_search_contents { ."\n"; foreach my $file (sort keys %results) { my $file_enc = encode_entities($file); - $file_enc =~ s#(\Q$keyword_enc\E)#$1#g; + $file_enc =~ s#(\Q$keyword_enc\E)#$1#g; $$page_content .= "/$file_enc"; my @pkgs; foreach my $pkg (sort keys %{$results{$file}}) { diff --git a/static/packages.css b/static/packages.css index 017ab8f..7deb83d 100644 --- a/static/packages.css +++ b/static/packages.css @@ -167,5 +167,5 @@ table#pdeplegend, #pdownload table { padding: .5em; } .keyword { - background-color: #bdf; + font-weight: bold; } -- 2.39.2