mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix combined sensor graphs on health tab
git-svn-id: http://www.observium.org/svn/observer/trunk@1776 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@ -28,7 +28,8 @@ if(is_numeric($_GET['optd'])) { $to = $_GET['optd']; } else { $to = $now; }
|
||||
include("includes/error-no-perm.inc.php");
|
||||
} else {
|
||||
|
||||
if(isset($config['graph'][$type][$subtype])) { $title .= " :: ".$config['graph'][$type][$subtype]; } else { $title .= " :: ".$graph_type; }
|
||||
# Do we really need to show the type? User does not have to see the type of graph (i.e. sensor_temperature)
|
||||
# if(isset($config['graph'][$type][$subtype])) { $title .= " :: ".$config['graph'][$type][$subtype]; } else { $title .= " :: ".$graph_type; }
|
||||
|
||||
$graph_array['height'] = "60";
|
||||
$graph_array['width'] = "150";
|
||||
@ -96,7 +97,6 @@ if(is_numeric($_GET['optd'])) { $to = $_GET['optd']; } else { $to = $now; }
|
||||
echo(" </a>
|
||||
</div>");
|
||||
|
||||
|
||||
$graph_array['from'] = $year;
|
||||
echo("<div style='width: 150px; margin: 0px 10px 5px 0px; padding:5px; background: #e5e5e5; float: left;'>
|
||||
<span class=device-head>Year</span><br />
|
||||
|
Reference in New Issue
Block a user