added missing </abbr> tag
removed (int) check which caused issues with large numbers on 32-bit systems
This commit is contained in:
parent
d5e0d014aa
commit
968f9092b0
@ -270,14 +270,13 @@ function getVariablesTableHtml($ServerStatusData)
|
||||
$retval .= htmlspecialchars(
|
||||
PMA_Util::timespanFormat($value)
|
||||
);
|
||||
} elseif (is_numeric($value) && $value == (int) $value && $value > 1000) {
|
||||
} elseif (is_numeric($value) && $value > 1000) {
|
||||
$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));
|
||||
. htmlspecialchars(PMA_Util::formatNumber($value, 3, 1))
|
||||
. '</abbr>';
|
||||
} elseif (is_numeric($value)) {
|
||||
$retval .= htmlspecialchars(PMA_Util::formatNumber($value, 3, 1));
|
||||
} else {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user