Index: trunk/extensions/FlaggedRevs/FlaggedRevs.php |
— | — | @@ -178,7 +178,7 @@ |
179 | 179 | ######### |
180 | 180 | |
181 | 181 | # Bump this number every time you change flaggedrevs.css/flaggedrevs.js |
182 | | -$wgFlaggedRevStyleVersion = 17; |
| 182 | +$wgFlaggedRevStyleVersion = 18; |
183 | 183 | |
184 | 184 | $wgExtensionFunctions[] = 'efLoadFlaggedRevs'; |
185 | 185 | |
Index: trunk/extensions/FlaggedRevs/flaggedrevs.css |
— | — | @@ -109,7 +109,7 @@ |
110 | 110 | padding: 5px; |
111 | 111 | font-size: 95%; |
112 | 112 | font-weight: normal; |
113 | | - margin: 0em 0em .5em 1em; |
| 113 | + margin: 0em 0em 1em 1em; |
114 | 114 | position: relative; |
115 | 115 | float: right; |
116 | 116 | text-align: left; |
— | — | @@ -195,7 +195,8 @@ |
196 | 196 | /* Both User Interfaces */ |
197 | 197 | .flaggedrevs_toggle { |
198 | 198 | color: blue; |
199 | | - white-space: no-wrap; |
| 199 | + white-space: nowrap; |
| 200 | + cursor:pointer; |
200 | 201 | } |
201 | 202 | |
202 | 203 | .fr-icon-current, |
Index: trunk/extensions/FlaggedRevs/FlaggedArticle.php |
— | — | @@ -125,7 +125,7 @@ |
126 | 126 | $tag = wfMsgExt( $msg, array('parseinline'), $frev->getRevId(), $time ); |
127 | 127 | # Hide clutter |
128 | 128 | if( !FlaggedRevs::useSimpleUI() && !empty($flags) ) { |
129 | | - $tag .= " <span id='mw-revisiontoggle' class='flaggedrevs_toggle' style='display:none; cursor:pointer;'" . |
| 129 | + $tag .= " <span id='mw-revisiontoggle' class='flaggedrevs_toggle' style='display:none;'" . |
130 | 130 | " onclick='toggleRevRatings()' title='" . wfMsgHtml('revreview-toggle-title') . "' >" . |
131 | 131 | wfMsg( 'revreview-toggle' ) . "</span>"; |
132 | 132 | $tag .= "<span id='mw-revisionratings' style='display:block;'>" . |
— | — | @@ -195,7 +195,7 @@ |
196 | 196 | wfMsgExt( $msg, array('parseinline'), $frev->getRevId(), $time ); |
197 | 197 | # Hide clutter |
198 | 198 | if( !empty($flags) ) { |
199 | | - $tag .= " <span id='mw-revisiontoggle' class='flaggedrevs_toggle' style='display:none; cursor:pointer;'" . |
| 199 | + $tag .= " <span id='mw-revisiontoggle' class='flaggedrevs_toggle' style='display:none;'" . |
200 | 200 | " onclick='toggleRevRatings()' title='" . wfMsgHtml('revreview-toggle-title') . "' >" . |
201 | 201 | wfMsg( 'revreview-toggle' ) . "</span>"; |
202 | 202 | $tag .= "<span id='mw-revisionratings' style='display:block;'>" . |
— | — | @@ -263,7 +263,7 @@ |
264 | 264 | $tag .= "<span class='{$css}' title=\"{$tooltip}\"></span>" . $msgHTML; |
265 | 265 | # Hide clutter |
266 | 266 | if( !empty($flags) ) { |
267 | | - $tag .= " <span id='mw-revisiontoggle' class='flaggedrevs_toggle' style='display:none; cursor:pointer;'" . |
| 267 | + $tag .= " <span id='mw-revisiontoggle' class='flaggedrevs_toggle' style='display:none;'" . |
268 | 268 | " onclick='toggleRevRatings()' title='" . wfMsgHtml('revreview-toggle-title') . "' >" . |
269 | 269 | wfMsg( 'revreview-toggle' ) . "</span>"; |
270 | 270 | $tag .= "<span id='mw-revisionratings' style='display:block;'>" . |
— | — | @@ -311,7 +311,7 @@ |
312 | 312 | $tag = "<span class='{$css} plainlinks' title=\"{$tooltip}\"></span>" . |
313 | 313 | wfMsgExt( $msg, array('parseinline'), $frev->getRevId(), $time, $revs_since ); |
314 | 314 | if( !empty($flags) ) { |
315 | | - $tag .= " <span id='mw-revisiontoggle' class='flaggedrevs_toggle' style='display:none; cursor:pointer;'" . |
| 315 | + $tag .= " <span id='mw-revisiontoggle' class='flaggedrevs_toggle' style='display:none;'" . |
316 | 316 | " onclick='toggleRevRatings()' title='" . wfMsgHtml('revreview-toggle-title') . "' >" . |
317 | 317 | wfMsg('revreview-toggle') . "</span>"; |
318 | 318 | $tag .= "<span id='mw-revisionratings' style='display:block;'>" . |
— | — | @@ -446,7 +446,7 @@ |
447 | 447 | wfMsgExt( $msg, array('parseinline'), $frev->getRevId(), $time, $revs_since ); |
448 | 448 | # Hide clutter |
449 | 449 | if( !empty($flags) ) { |
450 | | - $tag .= " <span id='mw-revisiontoggle' class='flaggedrevs_toggle' style='display:none; cursor:pointer;'" . |
| 450 | + $tag .= " <span id='mw-revisiontoggle' class='flaggedrevs_toggle' style='display:none;'" . |
451 | 451 | " onclick='toggleRevRatings()' title='" . wfMsgHtml('revreview-toggle-title') . "' >" . |
452 | 452 | wfMsg( 'revreview-toggle' ) . "</span>"; |
453 | 453 | $tag .= '<span id="mw-revisionratings" style="display:block;">' . |
— | — | @@ -982,18 +982,20 @@ |
983 | 983 | $html = wfMsgExt($msg, array('parseinline'), $frev->getRevId(), $time, $revs_since ); |
984 | 984 | } |
985 | 985 | # Make fancy box... |
986 | | - $box = "<div>"; |
987 | | - $box .= "<span style='float: left;'>$shtml </span>"; |
988 | | - $box .= "<span id='mw-revisiontoggle' class='flaggedrevs_toggle' style='display:none; cursor:pointer; float: right;' |
| 986 | + $box = "<table border='0' cellspacing='0' style='background: none;'>\n"; |
| 987 | + $box .= "<tr><td>$shtml </td><td align='right'>"; |
| 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></div>"; |
991 | | - $box .= '<div id="mw-revisionratings" style="clear: both;">'; |
| 990 | + wfMsgHtml( 'revreview-toggle' ) . "</span></td></tr>"; |
| 991 | + $box .= "<tr><td>"; |
| 992 | + $box .= "<span id='mw-revisionratings'>"; |
992 | 993 | $box .= $html; |
993 | 994 | # Add ratings if there are any... |
994 | 995 | if( $stable && !empty($flags) ) { |
995 | 996 | $box .= $this->addTagRatings( $flags, true, $color ); |
996 | 997 | } |
997 | | - $box .= '</div>'; |
| 998 | + $box .= "</span></tr></td>"; |
| 999 | + $box .= "</table>"; |
998 | 1000 | |
999 | 1001 | return $box; |
1000 | 1002 | } |