Index: trunk/extensions/CodeReview/CodeRevisionListView.php |
— | — | @@ -29,13 +29,13 @@ |
30 | 30 | function showForm( $path = '' ) { |
31 | 31 | global $wgOut, $wgScript; |
32 | 32 | $special = SpecialPage::getTitleFor( 'Code', $this->mRepo->getName().'/path' ); |
33 | | - $action = $wgScript; |
34 | | - $wgOut->addHTML( "<form action=\"$action\" method=\"get\">\n" . |
| 33 | + $wgOut->addHTML( |
| 34 | + Xml::openElement( 'form', array( 'action' => $wgScript, 'method' => 'get' ) ) . |
35 | 35 | "<fieldset><legend>".wfMsgHtml('code-pathsearch-legend')."</legend>" . |
36 | 36 | Xml::hidden( 'title', $special->getPrefixedDBKey() ) . |
37 | 37 | Xml::inputlabel( wfMsg("code-pathsearch-path"), 'path', 'path', 55, $this->mPath ) . |
38 | 38 | ' ' . Xml::submitButton( wfMsg( 'allpagessubmit' ) ) . "\n" . |
39 | | - "</fieldset></form>" |
| 39 | + "</fieldset>" . Xml::closeElement( 'form' ) |
40 | 40 | ); |
41 | 41 | } |
42 | 42 | |