Search & replace war on old wf* xml functions

This commit is contained in:
Aaron Schulz 2008-12-20 09:32:47 +00:00
parent a4bd412bc6
commit e26669a126

View file

@ -56,7 +56,7 @@ class CiteForm {
global $wgOut, $wgTitle;
$wgOut->addHTML(
wfElement( 'form',
Xml::element( 'form',
array(
'id' => 'specialcite',
'method' => 'get',
@ -64,9 +64,9 @@ class CiteForm {
),
null
) .
wfOpenElement( 'label' ) .
Xml::openElement( 'label' ) .
wfMsgHtml( 'cite_page' ) . ' ' .
wfElement( 'input',
Xml::element( 'input',
array(
'type' => 'text',
'size' => 30,
@ -76,15 +76,15 @@ class CiteForm {
''
) .
' ' .
wfElement( 'input',
Xml::element( 'input',
array(
'type' => 'submit',
'value' => wfMsgHtml( 'cite_submit' )
),
''
) .
wfCloseElement( 'label' ) .
wfCloseElement( 'form' )
Xml::closeElement( 'label' ) .
Xml::closeElement( 'form' )
);
}