From: Frank Lichtenheld Date: Fri, 3 Mar 2006 02:39:54 +0000 (+0000) Subject: Small adjustments X-Git-Tag: switch-to-templates~15 X-Git-Url: https://git.deb.at/?a=commitdiff_plain;h=a430a7f2c477de0e9952384e896e7c78cea3f32f;p=deb%2Fpackages.git Small adjustments --- 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; }