Index: trunk/phase3/skins/common/images/tooltip_icon.png |
Cannot display: file marked as a binary type. |
svn:mime-type = image/png |
Property changes on: trunk/phase3/skins/common/images/tooltip_icon.png |
___________________________________________________________________ |
Added: svn:mime-type |
1 | 1 | + image/png |
Index: trunk/phase3/includes/specials/SpecialStatistics.php |
— | — | @@ -183,8 +183,11 @@ |
184 | 184 | * @return string table row in HTML format |
185 | 185 | */ |
186 | 186 | function formatRow( $text, $number, $trExtraParams = '', $tooltip = '' ) { |
| 187 | + global $wgStylePath; |
| 188 | + |
187 | 189 | if( $tooltip ) { |
188 | | - $text = '<div title="' . wfMsg( $tooltip ) . '">' . $text . '<sup>*</sup></div>'; |
| 190 | + $tooltipText = wfMsg( $tooltip ); |
| 191 | + $text = '<div class="mw-tooltip-icon" title="' . $tooltipText . '">' . $text . '<sup><a class="mw-tooptip-icon" title="' . $tooltipText . '"><img alt="' . $tooltipText . '" src="' . $wgStylePath . '/common/images/tooltip_icon.png" width="10" height="12" border="0" /></a></sup></div>'; |
189 | 192 | } |
190 | 193 | |
191 | 194 | return "<tr{$trExtraParams}> |