Beispiel #1
0
        }
    }
    ?>


	<div class="innerAll">
	    <div id="accordion" class="accordion">	
		<?php 
    //used for callbacks to main plugin to select timestamp to display
    $timeStamp = false;
    if (isset($_GET['timestamp'])) {
        $timeStamp = $_GET['timestamp'];
    }
    //set url for callback - see end of chartcore.php in lib.charts
    //get plugin url for callbacks - needs cleaning up
    $host_url = LoadUtility::get_module_url();
    //if we have a log file selected override callback
    if ($gotLogDate) {
        $callback = $host_url . 'page=Process&logdate=' . $logDate . '&timestamp=';
    } else {
        $callback = $host_url . 'page=Process&timestamp=';
    }
    //render chart
    //get plugin settings for chart to display
    $chartToShow = $pluginSettings['settings']['display_chart'];
    //contains args[] array from modules .ini file
    //echo 'showing ' . $showChart;
    //LoadModules::renderChart("Cpu", false, false, false, $callback, 770 );
    LoadModules::renderChart($chartToShow, false, false, false, $callback, 770);
    ?>
		</div>