r100044 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r100043‎ | r100044 | r100045 >
Date:16:05, 17 October 2011
Author:yaron
Status:deferred
Tags:
Comment:
Small fixes
Modified paths:
  • /trunk/extensions/PageSchemas/specials/PS_EditSchema.php (modified) (history)

Diff [purge]

Index: trunk/extensions/PageSchemas/specials/PS_EditSchema.php
@@ -208,6 +208,7 @@
209209 $fieldLabel = '';
210210 $isListAttrs = array( 'class' => 'isListCheckbox' );
211211 $delimiterAttrs = array( 'class' => 'delimiterInput' );
 212+ $fieldDisplay = '';
212213 $text = "\n\t\t\t";
213214 if ( is_null( $field_xml ) ) {
214215 $text .= '<div class="fieldBox" id="starterField" style="display: none" >';
@@ -407,8 +408,7 @@
408409 }
409410 $label = call_user_func( array( $psHandlerClass, "getSchemaDisplayString" ) );
410411 $color = call_user_func( array( $psHandlerClass, "getDisplayColor" ) );
411 - $html = self::printFieldHTMLForExtension( $valuesFromExtension, $label, $color );
412 - $text .= str_replace( 'num', $fieldNum, $html );
 412+ $text .= self::printFieldHTMLForExtension( $valuesFromExtension, $label, $color );
413413 }
414414
415415 $text .= '<div id="templatesList">' . "\n";

Status & tagging log