- if ($mode ne 'filename') {
- msg( '<a href="'.make_search_url('',"keywords=$keyword_esc",{mode=>'filename'}).
- "\">"._g("Search within filenames")."</a>");
- }
- if ($mode ne 'exactfilename') {
- msg( '<a href="'.make_search_url('',"keywords=$keyword_esc",{mode=>'exactfilename'}).
- "\">"._g("Search exact filename")."</a>");
- }
- if ($mode eq 'exactfilename' || $mode eq 'filename') {
- msg( '<a href="'.make_search_url('',"keywords=$keyword_esc",{mode=>undef}).
- "\">"._g("Search for paths ending with")."</a>");
- }
-
- msg( _g("Search in other suite:")." ".
- join( ' ', map { '[<a href="'.make_search_url('',"keywords=$keyword_esc",{suite=>$_}).
- "\">$_</a>]" } @SUITES ) );
-
- if ($Packages::Search::too_many_hits) {
- error( _g( "Your search was too wide so we will only display only the first about 100 matches. Please consider using a longer keyword or more keywords." ) );
- }
-
- %$html_header = ( title => _g( 'Package Contents Search Results' ),
- lang => $opts->{lang},
- title_tag => _g( 'Debian Package Contents Search Results' ),
- print_title => 1,
- print_search_field => 'packages',
- search_field_values => {
- keywords => $keyword_enc,
- searchon => 'contents',
- arch => $archs_enc,
- suite => $suites_enc,
- section => $sections_enc,
- exact => $opts->{exact},
- debug => $opts->{debug},
- },
- );
-
- $$page_content = '';