git-svn-id: http://www.observium.org/svn/observer/trunk@529 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2009-11-21 15:18:09 +00:00
parent 64368223a0
commit cd7452c698

View File

@@ -37,10 +37,10 @@ $sql = mysql_query("SELECT * FROM `interfaces` AS I, `devices` AS D WHERE I.devi
while($interface = mysql_fetch_array($sql)){
generate_front_box("warn", "<center><strong>".generatedevicelink($interface, shorthost($interface['hostname']))."</strong><br />
<span style='font-size: 14px; font-weight: bold; margin: 5px; color: #c00;'>Port Down</span>
<span style='font-size: 14px; font-weight: bold; margin: 5px; color: #c00;'>Port Down</span><br />
<!-- <img src='graph.php?type=bits&if=".$interface['interface_id']."&from=$day&to=$now&width=100&height=32' /> -->
<strong>".generateiflink($interface, makeshortif($interface['ifDescr']))."</strong> <br />
<span class=body-date-1>".truncate($interface['ifAlias'], 20)."</span>
<strong>".generateiflink($interface, truncate(makeshortif($interface['ifDescr']),13,''))."</strong> <br />
<span class=body-date-1>".truncate($interface['ifAlias'], 20, '')."</span>
</center>");
}