Index: trunk/phase3/includes/specials/SpecialUpload.php |
— | — | @@ -1083,7 +1083,7 @@ |
1084 | 1084 | * A form field that contains a radio box in the label |
1085 | 1085 | */ |
1086 | 1086 | class UploadSourceField extends HTMLTextField { |
1087 | | - function getLabelHtml() { |
| 1087 | + function getLabelHtml( $cellAttributes = array() ) { |
1088 | 1088 | $id = "wpSourceType{$this->mParams['upload-type']}"; |
1089 | 1089 | $label = Html::rawElement( 'label', array( 'for' => $id ), $this->mLabel ); |
1090 | 1090 | |
— | — | @@ -1100,7 +1100,7 @@ |
1101 | 1101 | $label .= Html::element( 'input', $attribs ); |
1102 | 1102 | } |
1103 | 1103 | |
1104 | | - return Html::rawElement( 'td', array( 'class' => 'mw-label' ), $label ); |
| 1104 | + return Html::rawElement( 'td', array( 'class' => 'mw-label' ) + $cellAttributes, $label ); |
1105 | 1105 | } |
1106 | 1106 | |
1107 | 1107 | function getSize() { |