2007-04-03 14:10:23 +00:00
|
|
|
|
2009-09-07 11:07:59 +00:00
|
|
|
<?php
|
2007-04-03 14:10:23 +00:00
|
|
|
|
|
|
|
if($bg == $list_colour_a) { $bg = $list_colour_b; } else { $bg=$list_colour_a; }
|
|
|
|
|
|
|
|
unset($icon);
|
|
|
|
|
|
|
|
$icon = geteventicon($entry['message']);
|
2008-03-12 19:50:05 +00:00
|
|
|
if($icon) {$icon = "<img src='images/16/$icon'>"; }
|
2007-04-03 14:10:23 +00:00
|
|
|
|
|
|
|
|
|
|
|
echo("<tr style=\"background-color: $bg\">
|
|
|
|
<td width=0></td>
|
2007-04-03 19:39:28 +00:00
|
|
|
<td class=syslog width=140>
|
2007-11-21 14:26:24 +00:00
|
|
|
".$entry['humandate']."
|
2010-03-12 17:27:58 +00:00
|
|
|
</td>
|
|
|
|
<td class=syslog>");
|
2008-11-27 12:36:37 +00:00
|
|
|
|
2010-06-21 15:05:07 +00:00
|
|
|
if($entry['type'] == "interface") {
|
|
|
|
$entry['link'] = "<b>".generateiflink(getifbyid($entry['reference']))."</b>";
|
|
|
|
}
|
2008-11-27 12:36:37 +00:00
|
|
|
|
2010-06-21 15:05:07 +00:00
|
|
|
echo($entry['link'] ." ". htmlspecialchars($entry['message'])
|
2007-04-03 19:39:28 +00:00
|
|
|
. "</td>
|
2007-04-03 14:10:23 +00:00
|
|
|
<td></td>
|
|
|
|
</tr>");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
?>
|