rfe #1954161 [interface] Do not display long numbers in server status.
Fixed again, hopefully this way will work better.
This commit is contained in:
@@ -803,6 +803,8 @@ if (! empty($section['title'])) {
|
|||||||
}
|
}
|
||||||
if ('%' === substr($name, -1, 1)) {
|
if ('%' === substr($name, -1, 1)) {
|
||||||
echo PMA_formatNumber($value, 0, 2) . ' %';
|
echo PMA_formatNumber($value, 0, 2) . ' %';
|
||||||
|
} elseif (is_numeric($value) && $value == (int) $value && $value > 1000) {
|
||||||
|
echo PMA_formatNumber($value, 3, 1);
|
||||||
} elseif (is_numeric($value) && $value == (int) $value) {
|
} elseif (is_numeric($value) && $value == (int) $value) {
|
||||||
echo PMA_formatNumber($value, 4, 0);
|
echo PMA_formatNumber($value, 4, 0);
|
||||||
} elseif (is_numeric($value)) {
|
} elseif (is_numeric($value)) {
|
||||||
|
Reference in New Issue
Block a user