file placeholder creation. Will build on top of these.

This commit is contained in:
Martynas Mickevicius
2010-06-04 16:19:55 +02:00
parent 1cff6bd928
commit 61e00e523e
2 changed files with 23 additions and 0 deletions

15
libraries/chart.lib.php Normal file
View File

@@ -0,0 +1,15 @@
<?php
/**
* Chart functions used to generate various types
* of charts.
*
* @version $Id$
* @package phpMyAdmin
*/
function PMA_chart_pie($data)
{
return "pie chart placeholder";
}
?>

View File

@@ -34,6 +34,11 @@ require './libraries/server_links.inc.php';
require './libraries/replication.inc.php'; require './libraries/replication.inc.php';
require_once './libraries/replication_gui.lib.php'; require_once './libraries/replication_gui.lib.php';
/**
* Chart generation
*/
require_once './libraries/chart.lib.php';
/** /**
* Displays the sub-page heading * Displays the sub-page heading
*/ */
@@ -582,6 +587,9 @@ foreach ($used_queries as $name => $value) {
?> ?>
</tbody> </tbody>
</table> </table>
<div>
<?php echo PMA_chart_pie($used_queries); ?>
</div>
</div> </div>
<div id="serverstatussection"> <div id="serverstatussection">