rejig events system (still not great. meh) clean up some pages.

git-svn-id: http://www.observium.org/svn/observer/trunk@1223 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2010-06-20 21:37:05 +00:00
parent 64628bd1fb
commit 8060d5a030
19 changed files with 89 additions and 34 deletions

View File

@@ -24,11 +24,15 @@ if(isset($bg) && $bg == $list_colour_a) { $bg = $list_colour_b; } else { $bg=$li
</td>");
}
echo('<td class="syslog" width="100">');
if($entry['interface']) {
echo(generateiflink(getifbyid($entry['interface'])));
}
echo("</td><td>" . htmlspecialchars($entry['message']) . "</td>
if($entry['type'] == "interface") {
$entry['link'] = "<b>".generateiflink(getifbyid($entry['reference']))."</b>";
} else {
$entry['link'] = "System";
}
echo("<td>".$entry['link']."</td>");
echo("<td>".htmlspecialchars($entry['message']) . "</td>
</tr>");