* Add a CSS id to the table

* Use proper XML function
This commit is contained in:
Raimond Spekking 2008-03-14 10:27:19 +00:00
parent 25c1001413
commit 3bb84dca38

View file

@ -104,7 +104,7 @@ function wfSpecialImport( $page = '' ) {
Xml::openElement( 'form', array( 'enctype' => 'multipart/form-data', 'method' => 'post', 'action' => $action ) ) .
Xml::hidden( 'action', 'submit' ) .
Xml::hidden( 'source', 'upload' ) .
"<input type='file' name='xmlimport' value='' size='30' />" . // No Xml function for type=file? Todo?
Xml::input( 'xmlimport', 50, '', array( 'type' => 'file' ) ) . ' ' .
Xml::submitButton( wfMsg( 'uploadbtn' ) ) .
Xml::closeElement( 'form' ) .
Xml::closeElement( 'fieldset' )
@ -123,7 +123,7 @@ function wfSpecialImport( $page = '' ) {
wfMsgExt( 'import-interwiki-text', array( 'parse' ) ) .
Xml::hidden( 'action', 'submit' ) .
Xml::hidden( 'source', 'interwiki' ) .
Xml::openElement( 'table' ) .
Xml::openElement( 'table', array( 'id' => 'mw-import-table' ) ) .
"<tr>
<td>" .
Xml::openElement( 'select', array( 'name' => 'interwiki' ) )