fixed the layout of the chart in the server status page
This commit is contained in:
@@ -587,22 +587,19 @@ foreach ($used_queries as $name => $value) {
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="clearfloat"></div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<table>
|
||||
<tr><td>
|
||||
<?php
|
||||
// format keys which will be shown in the chart
|
||||
$chart_data = array();
|
||||
foreach($used_queries as $key => $value) {
|
||||
$key = str_replace(array('Com_', '_'), array('', ' '), $key);
|
||||
$chart_data[ucwords($key)] = (int)$value;
|
||||
}
|
||||
echo PMA_chart_pie(__('Query type'), $chart_data);
|
||||
?>
|
||||
</td></tr>
|
||||
</table>
|
||||
<div>
|
||||
<?php
|
||||
// format keys which will be shown in the chart
|
||||
$chart_data = array();
|
||||
foreach($used_queries as $key => $value) {
|
||||
$key = str_replace(array('Com_', '_'), array('', ' '), $key);
|
||||
$chart_data[ucwords($key)] = (int)$value;
|
||||
}
|
||||
echo PMA_chart_pie(__('Query type'), $chart_data);
|
||||
?>
|
||||
</div>
|
||||
|
||||
<div id="serverstatussection">
|
||||
|
Reference in New Issue
Block a user