diff --git a/html/pages/device/overview/generic/sensor.inc.php b/html/pages/device/overview/generic/sensor.inc.php
index 0233ff165..a2d8720bc 100644
--- a/html/pages/device/overview/generic/sensor.inc.php
+++ b/html/pages/device/overview/generic/sensor.inc.php
@@ -78,16 +78,16 @@ if (count($sensors)) {
break;
}
echo '
- | '.overlib_link($link, shorten_interface_type($sensor['sensor_descr']), $overlib_content, $sensor_class).' |
- '.overlib_link($link, $sensor_minigraph, $overlib_content, $sensor_class).' |
- '.overlib_link($link, ''.$state_translation['0']['state_descr'].'', $overlib_content, $sensor_class).' |
+ '.overlib_link($link, shorten_interface_type($sensor['sensor_descr']), $overlib_content, $sensor_class).' |
+ '.overlib_link($link, $sensor_minigraph, $overlib_content, $sensor_class).' |
+ '.overlib_link($link, ''.$state_translation['0']['state_descr'].'', $overlib_content, $sensor_class).' |
';
}
else {
echo '
- | '.overlib_link($link, shorten_interface_type($sensor['sensor_descr']), $overlib_content, $sensor_class).' |
- '.overlib_link($link, $sensor_minigraph, $overlib_content, $sensor_class).' |
- '.overlib_link($link, ' $sensor['sensor_limit'] ? "style='color: red'" : '').'>'.$sensor['sensor_current'].$sensor_unit.'', $overlib_content, $sensor_class).' |
+ '.overlib_link($link, shorten_interface_type($sensor['sensor_descr']), $overlib_content, $sensor_class).' |
+ '.overlib_link($link, $sensor_minigraph, $overlib_content, $sensor_class).' |
+ '.overlib_link($link, ' $sensor['sensor_limit'] ? "style='color: red'" : '').'>'.$sensor['sensor_current'].$sensor_unit.'', $overlib_content, $sensor_class).' |
';
}
}//end foreach
diff --git a/html/pages/device/overview/mempools.inc.php b/html/pages/device/overview/mempools.inc.php
index 4fd7fa2d9..6fe25ba39 100644
--- a/html/pages/device/overview/mempools.inc.php
+++ b/html/pages/device/overview/mempools.inc.php
@@ -49,9 +49,9 @@ if (count($mempools)) {
$minigraph = generate_lazy_graph_tag($graph_array);
echo '
- | '.overlib_link($link, $text_descr, $overlib_content).' |
- '.overlib_link($link, $minigraph, $overlib_content).' |
- '.overlib_link($link, print_percentage_bar(200, 20, $percent, null, 'ffffff', $background['left'], $percent.'%', 'ffffff', $background['right']), $overlib_content).'
+ | '.overlib_link($link, $text_descr, $overlib_content).' |
+ '.overlib_link($link, $minigraph, $overlib_content).' |
+ '.overlib_link($link, print_percentage_bar(200, 20, $percent, null, 'ffffff', $background['left'], $percent.'%', 'ffffff', $background['right']), $overlib_content).'
|
';
}//end foreach
diff --git a/html/pages/device/overview/processors.inc.php b/html/pages/device/overview/processors.inc.php
index 6fbd0250c..c8302c869 100644
--- a/html/pages/device/overview/processors.inc.php
+++ b/html/pages/device/overview/processors.inc.php
@@ -49,9 +49,9 @@ if (count($processors)) {
$minigraph = generate_lazy_graph_tag($graph_array);
echo '
- | '.overlib_link($link, $text_descr, $overlib_content).' |
- '.overlib_link($link, $minigraph, $overlib_content).' |
- '.overlib_link($link, print_percentage_bar(200, 20, $percent, null, 'ffffff', $background['left'], $percent.'%', 'ffffff', $background['right']), $overlib_content).'
+ | '.overlib_link($link, $text_descr, $overlib_content).' |
+ '.overlib_link($link, $minigraph, $overlib_content).' |
+ '.overlib_link($link, print_percentage_bar(200, 20, $percent, null, 'ffffff', $background['left'], $percent.'%', 'ffffff', $background['right']), $overlib_content).'
|
';
}
@@ -104,9 +104,9 @@ if (count($processors)) {
$background = get_percentage_colours($totalPercent);
echo '
- | '.overlib_link($link, $text_descr, $overlib_content).' |
- '.overlib_link($link,'x'.count($processors),$overlib_content).' |
- '.overlib_link($link, print_percentage_bar(200, 20, $totalPercent, null, 'ffffff', $background['left'], $percent.'%', 'ffffff', $background['right']), $overlib_content).' |
+ '.overlib_link($link, $text_descr, $overlib_content).' |
+ '.overlib_link($link,'x'.count($processors),$overlib_content).' |
+ '.overlib_link($link, print_percentage_bar(200, 20, $totalPercent, null, 'ffffff', $background['left'], $percent.'%', 'ffffff', $background['right']), $overlib_content).' |
';
}
diff --git a/html/pages/device/overview/storage.inc.php b/html/pages/device/overview/storage.inc.php
index fcbf60378..30e5ea681 100644
--- a/html/pages/device/overview/storage.inc.php
+++ b/html/pages/device/overview/storage.inc.php
@@ -69,9 +69,9 @@ if (count($drives)) {
$minigraph = generate_lazy_graph_tag($graph_array);
echo '
- | '.overlib_link($link, $drive['storage_descr'], $overlib_content).' |
- '.overlib_link($link, $minigraph, $overlib_content).' |
- '.overlib_link($link, print_percentage_bar(200, 20, $percent, null, 'ffffff', $background['left'], $percent.'%', 'ffffff', $background['right']), $overlib_content).'
+ | '.overlib_link($link, $drive['storage_descr'], $overlib_content).' |
+ '.overlib_link($link, $minigraph, $overlib_content).' |
+ '.overlib_link($link, print_percentage_bar(200, 20, $percent, null, 'ffffff', $background['left'], $percent.'%', 'ffffff', $background['right']), $overlib_content).'
|
';
}//end foreach