mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
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:
@@ -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));
|
||||
|
Reference in New Issue
Block a user