From 3bb84dca38bc3098ffcf13003b6134589a393f9e Mon Sep 17 00:00:00 2001 From: Raimond Spekking Date: Fri, 14 Mar 2008 10:27:19 +0000 Subject: [PATCH] * Add a CSS id to the table * Use proper XML function --- includes/SpecialImport.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/SpecialImport.php b/includes/SpecialImport.php index ef07c78ca6..ff30f90b96 100644 --- a/includes/SpecialImport.php +++ b/includes/SpecialImport.php @@ -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' ) . - "" . // 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' ) ) . " " . Xml::openElement( 'select', array( 'name' => 'interwiki' ) ) -- 2.20.1