Index: trunk/extensions/PageSchemas/specials/PS_EditSchema.php |
— | — | @@ -208,6 +208,7 @@ |
209 | 209 | $fieldLabel = ''; |
210 | 210 | $isListAttrs = array( 'class' => 'isListCheckbox' ); |
211 | 211 | $delimiterAttrs = array( 'class' => 'delimiterInput' ); |
| 212 | + $fieldDisplay = ''; |
212 | 213 | $text = "\n\t\t\t"; |
213 | 214 | if ( is_null( $field_xml ) ) { |
214 | 215 | $text .= '<div class="fieldBox" id="starterField" style="display: none" >'; |
— | — | @@ -407,8 +408,7 @@ |
408 | 409 | } |
409 | 410 | $label = call_user_func( array( $psHandlerClass, "getSchemaDisplayString" ) ); |
410 | 411 | $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 ); |
413 | 413 | } |
414 | 414 | |
415 | 415 | $text .= '<div id="templatesList">' . "\n"; |