Skip to content

Commit

Permalink
Patch #3597529 [status] Add raw value as title on server status page
Browse files Browse the repository at this point in the history
  • Loading branch information
lem9 committed Dec 20, 2012
1 parent 0f505dc commit 6686d1a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ VerboseMultiSubmit, ReplaceHelpImg
+ [interface] Added "scroll to top" link in menubar
+ [designer] Fullscreen mode for the designer
+ Upgraded jquery to v1.8.3 and jquery-ui to v1.9.2
+ Patch #3597529 [status] Add raw value as title on server status page

3.5.6.0 (not yet released)
- bug #3593604 [status] Erroneous advisor rule
Expand Down
6 changes: 5 additions & 1 deletion server_status_variables.php
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,11 @@ function getVariablesTableHtml($ServerStatusData)
PMA_Util::timespanFormat($value)
);
} elseif (is_numeric($value) && $value == (int) $value && $value > 1000) {
$retval .= htmlspecialchars(PMA_Util::formatNumber($value, 3, 1));
$retval .= '<abbr title="'
// makes available the raw value as a title
. htmlspecialchars(PMA_Util::formatNumber($value, 0))
. '">'
. htmlspecialchars(PMA_Util::formatNumber($value, 3, 1));
} elseif (is_numeric($value) && $value == (int) $value) {
$retval .= htmlspecialchars(PMA_Util::formatNumber($value, 3, 0));
} elseif (is_numeric($value)) {
Expand Down

0 comments on commit 6686d1a

Please sign in to comment.