';
echo '
';
echo ''.$icon .' | ';
echo ''.$entry['datetime'].' | ';
if (!isset($vars['device'])) {
$dev = device_by_id_cache($entry['device_id']);
echo ''.generate_device_link($dev, shorthost($dev['hostname'])).' | ';
}
if ($entry['type'] == 'interface') {
$this_if = cleanPort(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']).' | ';
echo '
';