/**
  * Test for PMA_getHtmlForClientSideDataAndLinks
  *
  * @return void
  */
 public function testPMAGetHtmlForClientSideDataAndLinks()
 {
     //Call the test function
     $html = PMA_getHtmlForClientSideDataAndLinks($this->ServerStatusData);
     //validate 1: PMA_getHtmlForClientSideDataAndLinks
     $from = '<form id="js_data" class="hide">' . '<input type="hidden" name="server_time"';
     $this->assertContains($from, $html);
     //validate 2: inputs
     $this->assertContains('<input type="hidden" name="is_superuser"', $html);
     $this->assertContains('<input type="hidden" name="server_db_isLocal"', $html);
     $this->assertContains('<div id="explain_docu" class="hide">', $html);
 }
if (PMA_USR_BROWSER_AGENT == 'IE' && PMA_USR_BROWSER_VER < 9) {
    $scripts->addFile('jqplot/excanvas.js');
}
$scripts->addFile('canvg/canvg.js');
// for charting
$scripts->addFile('jqplot/jquery.jqplot.js');
$scripts->addFile('jqplot/plugins/jqplot.pieRenderer.js');
$scripts->addFile('jqplot/plugins/jqplot.canvasTextRenderer.js');
$scripts->addFile('jqplot/plugins/jqplot.canvasAxisLabelRenderer.js');
$scripts->addFile('jqplot/plugins/jqplot.dateAxisRenderer.js');
$scripts->addFile('jqplot/plugins/jqplot.highlighter.js');
$scripts->addFile('jqplot/plugins/jqplot.cursor.js');
$scripts->addFile('jqplot/plugins/jqplot.byteFormatter.js');
$scripts->addFile('server_status_monitor.js');
$scripts->addFile('server_status_sorter.js');
/**
 * start output
 */
$ServerStatusData = new PMA_ServerStatusData();
/**
 * Output
 */
$response->addHTML('<div>');
$response->addHTML($ServerStatusData->getMenuHtml());
$response->addHTML(PMA_getHtmlForMonitor($ServerStatusData));
$response->addHTML(PMA_getHtmlForClientSideDataAndLinks($ServerStatusData));
$response->addHTML('</div>');
exit;
?>
>>>>>>> b875702c9c06ab5012e52ff4337439b03918f453