r71650 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r71649‎ | r71650 | r71651 >
Date:19:07, 25 August 2010
Author:kaldari
Status:ok
Tags:
Comment:
a bit more concise
Modified paths:
  • /trunk/extensions/CentralNotice/SpecialNoticeTemplate.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CentralNotice/SpecialNoticeTemplate.php
@@ -443,13 +443,11 @@
444444 array( 'style' => 'margin-bottom: 0.2em;' ),
445445 '<img src="'.$scriptPath.'/down-arrow.png" style="vertical-align:baseline;"/>' . wfMsg( 'centralnotice-insert', $wgLang->commaList( $buttons ) )
446446 );
447 - $htmlOut .= Xml::textarea( 'templateBody', $body, 60, 20, $readonly );
448 - $htmlOut .= Xml::closeElement( 'fieldset' );
449447 } else {
450448 $htmlOut .= Xml::fieldset( wfMsg( 'centralnotice-banner' ) );
451 - $htmlOut .= Xml::textarea( 'templateBody', $body, 60, 20, $readonly );
452 - $htmlOut .= Xml::closeElement( 'fieldset' );
453449 }
 450+ $htmlOut .= Xml::textarea( 'templateBody', $body, 60, 20, $readonly );
 451+ $htmlOut .= Xml::closeElement( 'fieldset' );
454452 if ( $this->editable ) {
455453 $htmlOut .= Xml::hidden( 'authtoken', $wgUser->editToken() );
456454 $htmlOut .= Xml::tags( 'div',

Status & tagging log