'; }
echo('
|
' . $entry['datetime'] . '
| ');
if (!isset($vars['device'])) {
$dev = device_by_id_cache($entry['host']);
echo("
" . generate_device_link($dev, shorthost($dev['hostname'])) . "
| ");
}
if ($entry['type'] == "interface")
{
$this_if = ifLabel(getifbyid($entry['reference']));
$entry['link'] = "".generate_port_link($this_if, makeshortif(strtolower($this_if['label'])))."";
} else {
$entry['link'] = "System";
}
echo("".$entry['link']." | ");
echo("".htmlspecialchars($entry['message']) . " |
");
?>