From 44abdfff1dffc0cb5bf2bae6d4d30dcaf8ebf222 Mon Sep 17 00:00:00 2001 From: Raimond Spekking Date: Tue, 13 May 2008 15:59:29 +0000 Subject: [PATCH] Add CSS classes to allow easier hiding of elements. Per request of the German screenreader project 'BIENE' --- includes/SpecialSearch.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/includes/SpecialSearch.php b/includes/SpecialSearch.php index e78fcd9ee0..add46da2c8 100644 --- a/includes/SpecialSearch.php +++ b/includes/SpecialSearch.php @@ -212,7 +212,7 @@ class SpecialSearch { } else { $top = wfShowingResultsNum( $this->offset, $this->limit, $num ); } - $wgOut->addHTML( "

{$top}

\n" ); + $wgOut->addHTML( "

{$top}

\n" ); } // prev/next links @@ -223,7 +223,7 @@ class SpecialSearch { $this->powerSearchOptions(), array( 'search' => $term ) ), ($num < $this->limit) ); - $wgOut->addHTML( "

{$prevnext}

\n" ); + $wgOut->addHTML( "

{$prevnext}

\n" ); wfRunHooks( 'SpecialSearchResults', array( $term, $titleMatches, $textMatches ) ); } else { wfRunHooks( 'SpecialSearchNoResults', array( $term ) ); @@ -254,7 +254,7 @@ class SpecialSearch { // show results if( $textMatches->numRows() ) $wgOut->addHTML( $this->showMatches( $textMatches ) ); - + $textMatches->free(); } @@ -262,7 +262,7 @@ class SpecialSearch { $wgOut->addWikiMsg( 'nonefound' ); } if( $num || $this->offset ) { - $wgOut->addHTML( "

{$prevnext}

\n" ); + $wgOut->addHTML( "

{$prevnext}

\n" ); } $wgOut->addHTML( $this->powerSearchBox( $term ) ); wfProfileOut( $fname ); -- 2.20.1