remove support for GIF OS-icons, but add support to override OS icon through database, suitable for radlan devices and probably/possibly other OEMables

git-svn-id: http://www.observium.org/svn/observer/trunk@3087 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Tom Laermans
2012-04-24 22:50:15 +00:00
parent 7c36b0f9c2
commit b56d3d6320
5 changed files with 28 additions and 18 deletions

View File

@@ -27,9 +27,8 @@ if ($device['disabled'] == '1')
}
$type = strtolower($device['os']);
unset($image);
$image = getImage($device['device_id']);
$image = getImage($device);
if ($device['os'] == "ios") { formatCiscoHardware($device, true); }
$device['os_text'] = $config['os'][$device['os']]['text'];