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>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
<div class="clearfloat"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<table>
|
<?php
|
||||||
<tr><td>
|
// format keys which will be shown in the chart
|
||||||
<?php
|
$chart_data = array();
|
||||||
// format keys which will be shown in the chart
|
foreach($used_queries as $key => $value) {
|
||||||
$chart_data = array();
|
$key = str_replace(array('Com_', '_'), array('', ' '), $key);
|
||||||
foreach($used_queries as $key => $value) {
|
$chart_data[ucwords($key)] = (int)$value;
|
||||||
$key = str_replace(array('Com_', '_'), array('', ' '), $key);
|
}
|
||||||
$chart_data[ucwords($key)] = (int)$value;
|
echo PMA_chart_pie(__('Query type'), $chart_data);
|
||||||
}
|
?>
|
||||||
echo PMA_chart_pie(__('Query type'), $chart_data);
|
|
||||||
?>
|
|
||||||
</td></tr>
|
|
||||||
</table>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="serverstatussection">
|
<div id="serverstatussection">
|
||||||
|
Reference in New Issue
Block a user