From: Chad Horohoe Date: Thu, 23 Oct 2008 00:28:29 +0000 (+0000) Subject: Throw a fieldset around the new search options. X-Git-Tag: 1.31.0-rc.0~44645 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/comptes/journal.php?a=commitdiff_plain;h=15cab76a4d28105ff35f74351cb2967138086cfc;p=lhc%2Fweb%2Fwiklou.git Throw a fieldset around the new search options. --- diff --git a/includes/specials/SpecialSearch.php b/includes/specials/SpecialSearch.php index c22bccde39..5d034eb2d1 100644 --- a/includes/specials/SpecialSearch.php +++ b/includes/specials/SpecialSearch.php @@ -658,7 +658,8 @@ class SpecialSearch { $searchButton. ""; - return $this->formHeader($term).$out; + return Xml::openElement( 'fieldset', array( 'id' => 'mw-searchoptions' ) ) . $this->formHeader($term) . + $out . Xml::closeElement( 'fieldset' ); } function powerSearchFocus() { @@ -804,7 +805,7 @@ class SpecialSearch { } $out .= Xml::submitButton( wfMsg( 'searchbutton' ), array( 'name' => 'fulltext' ) ); $out .= Xml::closeElement( 'form' ); - - return $this->formHeader($term).$out; + return Xml::openElement( 'fieldset', array( 'id' => 'mw-searchoptions' ) ) . $this->formHeader($term) . + $out . Xml::closeElement( 'fieldset' ); } }