' . PHP_EOL); // Moved on XL screen to panel side include($config['html_dir']."/includes/status-summary.inc.php"); echo('' . PHP_EOL); break; case "status_donuts": $div_class = "col-md-12"; // Class for each block echo('
'.$row['title'].' | '); } echo(''); foreach ($micrographs as $graph) { if (!$graph) { continue; } // Skip empty graphs from excess semicolons list($device, $type, $header) = explode(',', $graph, 3); if (strpos($type, 'device') === false) { $which = 'id'; if (strpos($type, 'multi') !== false) // Copy/pasted id= from multi graph url works, prevents broken uri { $links = generate_url(array('page' => 'graphs', 'type' => $type, 'id' => urldecode($device))); } else { $links = generate_url(array('page' => 'graphs', 'type' => $type, 'id' => $device)); } } else { $which = 'device'; $links = generate_url(array('page' => 'graphs', 'type' => $type, 'device' => $device)); } echo(''); } unset($links); echo(' | '); echo('
---|