From 82fc0ff49f256a137c41af8c79a628a940ef1cbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Thu, 21 Jun 2012 13:04:43 +0200 Subject: [PATCH 1/2] Some indenation fixes --- server_status.php | 127 +++++++++++++++++++++++++--------------------- 1 file changed, 69 insertions(+), 58 deletions(-) diff --git a/server_status.php b/server_status.php index 301ea93c27..87e176d3c7 100644 --- a/server_status.php +++ b/server_status.php @@ -854,15 +854,14 @@ echo __('Runtime Information');
@@ -872,25 +871,25 @@ echo __('Runtime Information');
@@ -910,17 +909,17 @@ echo __('Runtime Information');
@@ -1024,11 +1023,11 @@ function printQueryStatistics()
0) { - $chart_json[__('Other')] = $other_sum; - } + if ($other_sum > 0) { + $chart_json[__('Other')] = $other_sum; + } - echo json_encode($chart_json); + echo json_encode($chart_json); ?>
@@ -1266,7 +1265,9 @@ function printServerTraffic() <?php echo $show_full_sql ? __('Truncate Shown Queries') : __('Show Full Queries'); ?> - + @@ -1581,12 +1582,16 @@ function printMonitor() - + - + @@ -1664,7 +1669,9 @@ function printMonitor() ?>

- +