initial commit; version 22.5.12042
This commit is contained in:
25
html/includes/print-device-graph.php
Normal file
25
html/includes/print-device-graph.php
Normal file
@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Observium
|
||||
*
|
||||
* This file is part of Observium.
|
||||
*
|
||||
* @package observium
|
||||
* @subpackage webui
|
||||
* @copyright (C) 2006-2013 Adam Armstrong, (C) 2013-2019 Observium Limited
|
||||
*
|
||||
*/
|
||||
|
||||
if(empty($graph_array['type'])) { $graph_array['type'] = $graph_type; }
|
||||
if(empty($graph_array['device'])) { $graph_array['device'] = $device['device_id']; }
|
||||
|
||||
echo('<tr><td>');
|
||||
|
||||
echo('<h4>' . $graph_title . '</h4>');
|
||||
|
||||
print_graph_row($graph_array);
|
||||
|
||||
echo('</td></tr>');
|
||||
|
||||
// EOF
|
Reference in New Issue
Block a user