r56105 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r56104‎ | r56105 | r56106 >
Date:17:59, 9 September 2009
Author:aaron
Status:ok
Tags:
Comment:
Added break to multi-tag form
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedArticle.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedArticle.php
@@ -1569,13 +1569,17 @@
15701570 $form .= Xml::openElement( 'span', array('style' => 'white-space: nowrap;') );
15711571 # Hide comment if needed
15721572 if( !$disabled ) {
 1573+ if( count(FlaggedRevs::getDimensions()) > 1 )
 1574+ $form .= "<br/>"; // Don't put too much on one line
15731575 $form .= "<span id='mw-commentbox' style='clear:both'>" .
15741576 Xml::inputLabel( wfMsg('revreview-log'), 'wpReason', 'wpReason', 40, '',
15751577 array('class' => 'fr-comment-box') ) . "&nbsp;&nbsp;&nbsp;</span>";
15761578 }
1577 - $form .= Xml::submitButton( wfMsg('revreview-submit'), array('id' => 'submitreview',
1578 - 'accesskey' => wfMsg('revreview-ak-review'),
1579 - 'title' => wfMsg('revreview-tt-review').' ['.wfMsg('revreview-ak-review').']') + $toggle
 1579+ $form .= Xml::submitButton( wfMsg('revreview-submit'),
 1580+ array(
 1581+ 'id' => 'submitreview', 'accesskey' => wfMsg('revreview-ak-review'),
 1582+ 'title' => wfMsg('revreview-tt-review').' ['.wfMsg('revreview-ak-review').']'
 1583+ ) + $toggle
15801584 );
15811585 $form .= Xml::closeElement( 'span' );
15821586

Status & tagging log