Index: trunk/extensions/FlaggedRevs/FlaggedArticle.php |
— | — | @@ -983,19 +983,17 @@ |
984 | 984 | } |
985 | 985 | # Make fancy box... |
986 | 986 | $box = "<table border='0' cellspacing='0' style='background: none;'>\n"; |
987 | | - $box .= "<tr><td>$shtml </td><td align='right'>"; |
| 987 | + $box .= "<tr><td>$shtml</td><td> </td><td align='right'>\n"; |
988 | 988 | $box .= "<span id='mw-revisiontoggle' class='flaggedrevs_toggle' style='display:none;' |
989 | 989 | onclick='toggleRevRatings()' title='" . wfMsgHtml('revreview-toggle-title') . "'>" . |
990 | | - wfMsgHtml( 'revreview-toggle' ) . "</span></td></tr>"; |
991 | | - $box .= "<tr><td>"; |
992 | | - $box .= "<span id='mw-revisionratings'>"; |
| 990 | + wfMsgHtml( 'revreview-toggle' ) . "</span></td></tr>\n"; |
| 991 | + $box .= "<tr><td id='mw-revisionratings'>\n"; |
993 | 992 | $box .= $html; |
994 | 993 | # Add ratings if there are any... |
995 | 994 | if( $stable && !empty($flags) ) { |
996 | 995 | $box .= $this->addTagRatings( $flags, true, $color ); |
997 | 996 | } |
998 | | - $box .= "</span></tr></td>"; |
999 | | - $box .= "</table>"; |
| 997 | + $box .= "</td></tr></table>"; |
1000 | 998 | |
1001 | 999 | return $box; |
1002 | 1000 | } |
Index: trunk/extensions/FlaggedRevs/flaggedrevs.js |
— | — | @@ -15,7 +15,7 @@ |
16 | 16 | var ratings = document.getElementById('mw-revisionratings'); |
17 | 17 | if( !ratings ) return; |
18 | 18 | if( ratings.style.display == 'none' ) { |
19 | | - ratings.style.display = 'block'; |
| 19 | + ratings.style.display = 'inline'; |
20 | 20 | } else { |
21 | 21 | ratings.style.display = 'none'; |
22 | 22 | } |