r94123 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r94122‎ | r94123 | r94124 >
Date:16:47, 9 August 2011
Author:ankitgarg833
Status:deferred
Tags:
Comment:
adding namespace in getXMLTextForPS function.
Modified paths:
  • /trunk/extensions/SemanticForms/includes/SF_Utils.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticForms/includes/SF_Utils.php
@@ -198,7 +198,7 @@
199199 foreach ( $wgRequest->getValues() as $var => $val ) {
200200 if(substr($var,0,14) == 'sf_input_type_'){
201201 $templateNum = substr($var,14,1);
202 - $Xmltext .= '<FormInput>';
 202+ $Xmltext .= '<semanticforms:FormInput>';
203203 $Xmltext .= '<InputType>'.$val.'</InputType>';
204204 }else if(substr($var,0,14) == 'sf_key_values_'){
205205 if ( $val != '' ) {
@@ -219,7 +219,7 @@
220220 $Xmltext .= '<Parameter name="'.$param_value[0].'"/>';
221221 }
222222 }
223 - $Xmltext .= '</FormInput>';
 223+ $Xmltext .= '</semanticforms:FormInput>';
224224 $xml_text_array[] = $Xmltext;
225225 $Xmltext = '';
226226 }