Index: trunk/extensions/FlaggedRevs/FlaggedRevsXML.php |
— | — | @@ -49,8 +49,9 @@ |
50 | 50 | global $wgFlaggedRevTags; |
51 | 51 | |
52 | 52 | $tag = ''; |
53 | | - if( $prettyBox ) |
| 53 | + if( $prettyBox ) { |
54 | 54 | $tag .= "<table id='mw-revisionratings-box' align='center' class='$css' cellpadding='0'>"; |
| 55 | + } |
55 | 56 | foreach( FlaggedRevs::$dimensions as $quality => $value ) { |
56 | 57 | $level = isset( $flags[$quality] ) ? $flags[$quality] : 0; |
57 | 58 | $encValueText = wfMsgHtml("revreview-$quality-$level"); |
— | — | @@ -75,9 +76,9 @@ |
76 | 77 | "</span>\n"; |
77 | 78 | } |
78 | 79 | } |
79 | | - if( $prettyBox ) |
| 80 | + if( $prettyBox ) { |
80 | 81 | $tag .= '</table>'; |
81 | | - |
| 82 | + } |
82 | 83 | return $tag; |
83 | 84 | } |
84 | 85 | |
Index: trunk/extensions/FlaggedRevs/FlaggedArticle.php |
— | — | @@ -120,7 +120,7 @@ |
121 | 121 | $tag .= " <span id='mw-revisiontoggle' class='flaggedrevs_toggle' style='display:none;'" . |
122 | 122 | " onclick='toggleRevRatings()' title='" . wfMsgHtml('revreview-toggle-title') . "' >" . |
123 | 123 | wfMsg( 'revreview-toggle' ) . "</span>"; |
124 | | - $tag .= "<span id='mw-revisionratings' style='display:block;'>" . |
| 124 | + $tag .= "<span id='mw-revisionratings' style='display:block;'><br/>" . |
125 | 125 | wfMsgHtml('revreview-oldrating') . FlaggedRevsXML::addTagRatings( $flags ) . '</span>'; |
126 | 126 | } |
127 | 127 | $tag = "<div id='mw-revisiontag-old' class='flaggedrevs_notice plainlinks'>$tag</div>"; |
— | — | @@ -192,7 +192,7 @@ |
193 | 193 | $tag .= " <span id='mw-revisiontoggle' class='flaggedrevs_toggle' style='display:none;'" . |
194 | 194 | " onclick='toggleRevRatings()' title='" . wfMsgHtml('revreview-toggle-title') . "' >" . |
195 | 195 | wfMsg( 'revreview-toggle' ) . "</span>"; |
196 | | - $tag .= "<span id='mw-revisionratings' style='display:block;'>" . |
| 196 | + $tag .= "<span id='mw-revisionratings' style='display:block;'><br/>" . |
197 | 197 | wfMsgHtml('revreview-oldrating') . FlaggedRevsXML::addTagRatings( $flags ) . '</span>'; |
198 | 198 | } |
199 | 199 | } |
— | — | @@ -260,7 +260,7 @@ |
261 | 261 | $tag .= " <span id='mw-revisiontoggle' class='flaggedrevs_toggle' style='display:none;'" . |
262 | 262 | " onclick='toggleRevRatings()' title='" . wfMsgHtml('revreview-toggle-title') . "' >" . |
263 | 263 | wfMsg( 'revreview-toggle' ) . "</span>"; |
264 | | - $tag .= "<span id='mw-revisionratings' style='display:block;'>" . |
| 264 | + $tag .= "<span id='mw-revisionratings' style='display:block;'><br/>" . |
265 | 265 | wfMsgHtml('revreview-oldrating') . FlaggedRevsXML::addTagRatings( $flags ) . '</span>'; |
266 | 266 | } |
267 | 267 | } |
— | — | @@ -305,7 +305,7 @@ |
306 | 306 | $tag .= " <span id='mw-revisiontoggle' class='flaggedrevs_toggle' style='display:none;'" . |
307 | 307 | " onclick='toggleRevRatings()' title='" . wfMsgHtml('revreview-toggle-title') . "' >" . |
308 | 308 | wfMsg('revreview-toggle') . "</span>"; |
309 | | - $tag .= "<span id='mw-revisionratings' style='display:block;'>" . |
| 309 | + $tag .= "<span id='mw-revisionratings' style='display:block;'><br/>" . |
310 | 310 | FlaggedRevsXML::addTagRatings( $flags ) . '</span>'; |
311 | 311 | } |
312 | 312 | } |
— | — | @@ -441,7 +441,7 @@ |
442 | 442 | $tag .= " <span id='mw-revisiontoggle' class='flaggedrevs_toggle' style='display:none;'" . |
443 | 443 | " onclick='toggleRevRatings()' title='" . wfMsgHtml('revreview-toggle-title') . "' >" . |
444 | 444 | wfMsg( 'revreview-toggle' ) . "</span>"; |
445 | | - $tag .= '<span id="mw-revisionratings" style="display:block;">' . |
| 445 | + $tag .= '<span id="mw-revisionratings" style="display:block;"><br/>' . |
446 | 446 | wfMsg('revreview-oldrating') . FlaggedRevsXML::addTagRatings( $flags ) . '</span>'; |
447 | 447 | } |
448 | 448 | $tag = "<div id='mw-revisiontag-edit' class='flaggedrevs_editnotice plainlinks'>$tag</div>"; |