Syslog Fixes

git-svn-id: http://www.observium.org/svn/observer/trunk@175 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2008-03-22 13:30:33 +00:00
parent 387c6be30a
commit df9a8c604a
4 changed files with 6 additions and 9 deletions

View File

@@ -75,7 +75,7 @@
}
echo("</td>");
echo("<td valign=top class=interface-desc>");
echo("<td width=375 valign=top class=interface-desc>");
if ( strpos($ifDescr, "oopback") === false && !$dographs) {
$link_query = mysql_query("select * from links AS L, interfaces AS I, devices AS D WHERE L.src_if = '$if_id' AND L.dst_if = I.interface_id AND I.device_id = D.device_id");
while($link = mysql_fetch_array($link_query)) {

View File

@@ -17,10 +17,10 @@ if($bg == $list_colour_a) { $bg = $list_colour_b; } else { $bg=$list_colour_a; }
echo("<tr style=\"background-color: $bg\">
<td width=0></td>");
echo("<td class=syslog width=150>" . $entry['date'] . "</td>");
echo("<td class=syslog width=125>" . $entry['date'] . "</td>");
if($_GET['page'] == "syslog") {
echo("<td><strong>".generatedevicelink($entry['device_id'], $entry['hostname'])."</strong></td>");
echo("<td width=200><strong>".generatedevicelink($entry['device_id'], $entry['hostname'])."</strong></td>");
}