From: Raimond Spekking Date: Thu, 8 May 2008 20:41:20 +0000 (+0000) Subject: Move heading to a more appropriate place, improves navigation for screenreader too. X-Git-Tag: 1.31.0-rc.0~47803 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/modifier.php?a=commitdiff_plain;h=68006fe65e61e059679203b4c78f72a2dc2e1ae9;p=lhc%2Fweb%2Fwiklou.git Move heading to a more appropriate place, improves navigation for screenreader too. --- diff --git a/includes/SpecialSearch.php b/includes/SpecialSearch.php index 2c50b49a3d..ea1532be18 100644 --- a/includes/SpecialSearch.php +++ b/includes/SpecialSearch.php @@ -102,6 +102,8 @@ class SpecialSearch { return; } } + + $wgOut->wrapWikiMsg( "==$1==\n", 'notitlematches' ); if( $t->quickUserCan( 'create' ) && $t->quickUserCan( 'edit' ) ) { $wgOut->addWikiMsg( 'noexactmatch', wfEscapeWikiText( $term ) ); } else { @@ -231,8 +233,6 @@ class SpecialSearch { if( $titleMatches->numRows() ) { $wgOut->wrapWikiMsg( "==$1==\n", 'titlematches' ); $wgOut->addHTML( $this->showMatches( $titleMatches ) ); - } else { - $wgOut->wrapWikiMsg( "==$1==\n", 'notitlematches' ); } $titleMatches->free(); }