From: Raimond Spekking Date: Tue, 24 Nov 2009 17:31:06 +0000 (+0000) Subject: Followup r59363: Fix wrong syntax for Html::input. It accept other parameters then... X-Git-Tag: 1.31.0-rc.0~38723 X-Git-Url: http://git.cyclocoop.org/%24self?a=commitdiff_plain;h=efdbf8eb1ffc8d4b1497b42ea56e6510b76e2bce;p=lhc%2Fweb%2Fwiklou.git Followup r59363: Fix wrong syntax for Html::input. It accept other parameters then Xml::input. --- diff --git a/includes/EditPage.php b/includes/EditPage.php index 6870153557..dc881aac34 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -1420,12 +1420,13 @@ class EditPage { $commentsubject ); $commentsubject .= ' '; $commentsubject .= Html::input( 'wpSummary', - 60, $summarytext, + 'text', array( 'id' => 'wpSummary', 'maxlength' => '200', 'tabindex' => '1', + 'size' => '60', 'spellcheck' => 'true' ) ); } else { @@ -1448,12 +1449,13 @@ class EditPage { $editsummary ) . ' '; $editsummary .= Html::input( 'wpSummary', - 60, $summarytext, + 'text', array( 'id' => 'wpSummary', 'maxlength' => '200', 'tabindex' => '1', + 'size' => '60', 'spellcheck' => 'true' ) );