r75777 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r75776‎ | r75777 | r75778 >
Date:02:53, 1 November 2010
Author:yaron
Status:deferred
Tags:
Comment:
Added "formInput" class to text input created by #forminput function
Modified paths:
  • /trunk/extensions/SemanticForms/includes/SF_ParserFunctions.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticForms/includes/SF_ParserFunctions.php
@@ -281,13 +281,13 @@
282282 if ( empty( $inAutocompletionSource ) ) {
283283 $str = <<<END
284284 <form action="$fs_url" method="get">
285 - <p><input type="text" name="page_name" size="$inSize" value="$inValue" />
 285+ <p><input type="text" name="page_name" size="$inSize" value="$inValue" class="formInput" />
286286
287287 END;
288288 } else {
289289 $str = <<<END
290290 <form name="createbox" action="$fs_url" method="get">
291 - <p><input type="text" name="page_name" id="input_$input_num" size="$inSize" value="$inValue" class="autocompleteInput createboxInput" />
 291+ <p><input type="text" name="page_name" id="input_$input_num" size="$inSize" value="$inValue" class="autocompleteInput createboxInput formInput" />
292292
293293 END;
294294 }

Status & tagging log