Index: trunk/extensions/FlaggedRevs/FlaggedArticle.php |
— | — | @@ -806,7 +806,6 @@ |
807 | 807 | } |
808 | 808 | } |
809 | 809 | $quantity = count( $label ); |
810 | | - $form .= "\n" . Xml::openElement( 'span' ); |
811 | 810 | $form .= "<b>" . wfMsgHtml("revreview-$quality") . ":</b> "; |
812 | 811 | # If the sum of qualities of all flags is above 6, use drop down boxes |
813 | 812 | # 6 is an arbitrary value choosen according to screen space and usability |
— | — | @@ -838,19 +837,17 @@ |
839 | 838 | "wp$quality".$selected, true, $attribs ) . "\n"; |
840 | 839 | } else { |
841 | 840 | $attribs = array( 'class' => "fr-rating-option-1", 'onchange' => "updateRatingForm()" ); |
842 | | - # TODO: FlaggedRevsPage.php needs to be patched as well in order to uncheck a checkbox |
843 | 841 | $form .= Xml::checkLabel( wfMsg( "revreview-$label[1]" ), "wp$quality", "wp$quality"."1", |
844 | 842 | ($selected == 1), $attribs ) . "\n"; |
845 | 843 | } |
846 | 844 | $form .= ($remaining > 0) ? " " : ""; |
847 | 845 | } |
848 | | - $form .= Xml::closeElement( 'span' ); |
849 | 846 | } |
850 | 847 | $form .= Xml::closeElement( 'span' ); |
851 | 848 | |
852 | 849 | if( $wgFlaggedRevComments && $wgUser->isAllowed( 'validate' ) ) { |
853 | 850 | $form .= "<div id='mw-notebox'>\n"; |
854 | | - $form .= "<p>" . wfMsgHtml( 'revreview-notes' ) . "</p>\n"; |
| 851 | + $form .= "<p></strong>" . wfMsgHtml( 'revreview-notes' ) . "</p>\n"; |
855 | 852 | $form .= "<p><textarea name='wpNotes' id='wpNotes' class='fr-reason-box' |
856 | 853 | rows='2' cols='80' style='width:95%; margin: 0em 1em 0em .5em;'/></p>\n"; |
857 | 854 | $form .= "</div>\n"; |
— | — | @@ -889,14 +886,14 @@ |
890 | 887 | $checkCode = FlaggedRevs::getValidationKey( $templateParams, $imageParams, $wgUser->getID() ); |
891 | 888 | $form .= Xml::hidden( 'validatedParams', $checkCode ) . "\n"; |
892 | 889 | |
893 | | - $form .= "<span style='white-space: nowrap'>"; // get comment and submit on same line |
| 890 | + $form .= "<div style='white-space: nowrap'>"; // get comment and submit on same line |
894 | 891 | # Hide comment if needed |
895 | 892 | $form .= "<span id='mw-commentbox'>" . |
896 | 893 | Xml::inputLabel( wfMsg('revreview-log'), 'wpReason', 'wpReason', 50, '', array('class' => 'fr-comment-box') ) . |
897 | 894 | "</span>"; |
898 | 895 | |
899 | 896 | $form .= " ".Xml::submitButton( wfMsgHtml('revreview-submit'), array('id' => 'mw-submitbutton') ); |
900 | | - $form .= "</span>"; |
| 897 | + $form .= "</div>"; |
901 | 898 | |
902 | 899 | $form .= Xml::closeElement( 'fieldset' ); |
903 | 900 | $form .= Xml::closeElement( 'form' ); |