* Add a CSS id to the table
* Use proper XML function
This commit is contained in:
parent
25c1001413
commit
3bb84dca38
1 changed files with 2 additions and 2 deletions
|
|
@ -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' ) )
|
||||
|
|
|
|||
Loading…
Reference in a new issue