mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
make sensor_type larger, merge both logs into one tab (ran out of space!)
git-svn-id: http://www.observium.org/svn/observer/trunk@2719 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@ -15,7 +15,7 @@ echo('<tr style="background-color: ' . $bg . '">
|
||||
' . $entry['datetime'] . '
|
||||
</td>');
|
||||
|
||||
if (!isset($_GET['id']) && (!isset($overview) || $overview == 0)) {
|
||||
if (!isset($vars['device'])) {
|
||||
$dev = device_by_id_cache($entry['host']);
|
||||
echo("<td class=list-bold width=150>
|
||||
" . generate_device_link($dev, shorthost($dev['hostname'])) . "
|
||||
@ -24,7 +24,8 @@ if (!isset($_GET['id']) && (!isset($overview) || $overview == 0)) {
|
||||
|
||||
if ($entry['type'] == "interface")
|
||||
{
|
||||
$entry['link'] = "<b>".generate_port_link(getifbyid($entry['reference']))."</b>";
|
||||
$this_if = ifLabel(getifbyid($entry['reference']));
|
||||
$entry['link'] = "<b>".generate_port_link($this_if, makeshortif(strtolower($this_if['label'])))."</b>";
|
||||
} else {
|
||||
$entry['link'] = "System";
|
||||
}
|
||||
@ -34,4 +35,4 @@ echo("<td>".$entry['link']."</td>");
|
||||
echo("<td>".htmlspecialchars($entry['message']) . "</td>
|
||||
</tr>");
|
||||
|
||||
?>
|
||||
?>
|
||||
|
Reference in New Issue
Block a user