r94124 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r94123‎ | r94124 | r94125 >
Date:16:49, 9 August 2011
Author:ankitgarg833
Status:deferred
Tags:
Comment:
adding namespace (semanticdrilldown )in getXMLTextForPS fucntion
Modified paths:
  • /trunk/extensions/SemanticDrilldown/includes/SD_Utils.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticDrilldown/includes/SD_Utils.php
@@ -171,7 +171,7 @@
172172 $xml_text_array = array();
173173 foreach ( $wgRequest->getValues() as $var => $val ) {
174174 if(substr($var,0,15) == 'sd_filter_name_'){
175 - $Xmltext .= '<Filter>';
 175+ $Xmltext .= '<semanticdrilldown:Filter>';
176176 $templateNum = substr($var,15,1);
177177 $Xmltext .= '<Label>'.$val.'</Label>';
178178 }else if(substr($var,0,17) == 'sd_values_source_'){
@@ -196,7 +196,7 @@
197197 }
198198 }else if( substr($var,0,14) == 'sd_input_type_'){
199199 $Xmltext .= '<InputType>'.$val.'</InputType>';
200 - $Xmltext .= '</Filter>';
 200+ $Xmltext .= '</semanticdrilldown:Filter>';
201201 $xml_text_array[] = $Xmltext;
202202 $Xmltext = '';
203203 }