change <h2></h1> ? by span and class like the other (#10305)

* change tab <h2></h1> ? by tab span and class like the other

replace bad tag h1 h2 by span and class to be in phase with the others link

* Update sensors-common.php
This commit is contained in:
ckforum
2019-06-06 05:14:03 +02:00
committed by Tony Murray
parent 3129dd3148
commit 9dc60029be

View File

@@ -94,7 +94,7 @@ foreach (dbFetchRows($sql, $param) as $sensor) {
$link = generate_url(array('page' => 'device', 'device' => $sensor['device_id'], 'tab' => $tab, 'metric' => $sensor['sensor_class']));
$overlib_content = '<div style="width: 580px;"><h2>'.$sensor['hostname'].' - '.$sensor['sensor_descr'].'</h1>';
$overlib_content = '<div style="width: 580px;"><span class="overlib-text">'.$sensor['hostname'].' - '.$sensor['sensor_descr'].'</span>';
foreach (array('day', 'week', 'month', 'year') as $period) {
$graph_array['from'] = $config['time'][$period];
$overlib_content .= str_replace('"', "\\'", generate_graph_tag($graph_array));