Index: trunk/extensions/FlaggedRevs/FlaggedArticle.php |
— | — | @@ -1569,13 +1569,17 @@ |
1570 | 1570 | $form .= Xml::openElement( 'span', array('style' => 'white-space: nowrap;') ); |
1571 | 1571 | # Hide comment if needed |
1572 | 1572 | if( !$disabled ) { |
| 1573 | + if( count(FlaggedRevs::getDimensions()) > 1 ) |
| 1574 | + $form .= "<br/>"; // Don't put too much on one line |
1573 | 1575 | $form .= "<span id='mw-commentbox' style='clear:both'>" . |
1574 | 1576 | Xml::inputLabel( wfMsg('revreview-log'), 'wpReason', 'wpReason', 40, '', |
1575 | 1577 | array('class' => 'fr-comment-box') ) . " </span>"; |
1576 | 1578 | } |
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 |
1580 | 1584 | ); |
1581 | 1585 | $form .= Xml::closeElement( 'span' ); |
1582 | 1586 | |