Index: trunk/phase3/maintenance/language/messages.inc |
— | — | @@ -707,6 +707,7 @@ |
708 | 708 | 'powersearch', |
709 | 709 | 'powersearch-legend', |
710 | 710 | 'powersearchtext', |
| 711 | + 'search-external', |
711 | 712 | 'searchdisabled', |
712 | 713 | 'googlesearch', |
713 | 714 | ), |
Index: trunk/phase3/includes/SpecialSearch.php |
— | — | @@ -143,13 +143,16 @@ |
144 | 144 | return; |
145 | 145 | } |
146 | 146 | global $wgInputEncoding; |
147 | | - $wgOut->addHTML( wfMsg( 'searchdisabled' ) ); |
148 | | - $wgOut->addHTML( |
| 147 | + $wgOut->addHTML( |
| 148 | + Xml::openElement( 'fieldset' ) . |
| 149 | + Xml::element( 'legend', null, wfMsg( 'search-external' ) ) . |
| 150 | + Xml::element( 'p', array( 'class' => 'mw-searchdisabled' ), wfMsg( 'searchdisabled' ) ) . |
149 | 151 | wfMsg( 'googlesearch', |
150 | 152 | htmlspecialchars( $term ), |
151 | 153 | htmlspecialchars( $wgInputEncoding ), |
152 | 154 | htmlspecialchars( wfMsg( 'searchbutton' ) ) |
153 | | - ) |
| 155 | + ) . |
| 156 | + Xml::closeElement( 'fieldset' ) |
154 | 157 | ); |
155 | 158 | wfProfileOut( $fname ); |
156 | 159 | return; |
Index: trunk/phase3/languages/messages/MessagesEn.php |
— | — | @@ -1300,6 +1300,7 @@ |
1301 | 1301 | 'powersearch' => 'Advanced search', |
1302 | 1302 | 'powersearch-legend' => 'Advanced search', |
1303 | 1303 | 'powersearchtext' => 'Search in namespaces:<br />$1<br />$2 List redirects<br />Search for $3 $9', |
| 1304 | +'search-external' => 'External search', |
1304 | 1305 | 'searchdisabled' => '{{SITENAME}} search is disabled. |
1305 | 1306 | You can search via Google in the meantime. |
1306 | 1307 | Note that their indexes of {{SITENAME}} content may be out of date.', |