Index: trunk/extensions/CentralNotice/SpecialNoticeTemplate.php |
— | — | @@ -443,13 +443,11 @@ |
444 | 444 | array( 'style' => 'margin-bottom: 0.2em;' ), |
445 | 445 | '<img src="'.$scriptPath.'/down-arrow.png" style="vertical-align:baseline;"/>' . wfMsg( 'centralnotice-insert', $wgLang->commaList( $buttons ) ) |
446 | 446 | ); |
447 | | - $htmlOut .= Xml::textarea( 'templateBody', $body, 60, 20, $readonly ); |
448 | | - $htmlOut .= Xml::closeElement( 'fieldset' ); |
449 | 447 | } else { |
450 | 448 | $htmlOut .= Xml::fieldset( wfMsg( 'centralnotice-banner' ) ); |
451 | | - $htmlOut .= Xml::textarea( 'templateBody', $body, 60, 20, $readonly ); |
452 | | - $htmlOut .= Xml::closeElement( 'fieldset' ); |
453 | 449 | } |
| 450 | + $htmlOut .= Xml::textarea( 'templateBody', $body, 60, 20, $readonly ); |
| 451 | + $htmlOut .= Xml::closeElement( 'fieldset' ); |
454 | 452 | if ( $this->editable ) { |
455 | 453 | $htmlOut .= Xml::hidden( 'authtoken', $wgUser->editToken() ); |
456 | 454 | $htmlOut .= Xml::tags( 'div', |