cleaup some graph drawing functions and interface text printing functions (much moar needed)

git-svn-id: http://www.observium.org/svn/observer/trunk@1086 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2010-05-02 23:24:47 +00:00
parent 3eba59c8ab
commit 81277280da
6 changed files with 108 additions and 56 deletions

View File

@@ -49,8 +49,8 @@ if($ports['total']) {
$ifsep = "";
while($data = mysql_fetch_array($query)) {
$data = ifNameDescr($data);
$data['hostname'] = $device['hostname'];
echo("$ifsep" . generateiflink($data, makeshortif(strtolower($data['label']))));
$data = array_merge($data, $device);
echo("$ifsep" . generate_if_link($data, makeshortif(strtolower($data['label']))));
$ifsep = ", ";
}
unset($ifsep);