mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
unify $os_group and $os_type into $config['os']
git-svn-id: http://www.observium.org/svn/observer/trunk@1264 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
|
||||
if ($device['os'] == "ios") { formatCiscoHardware($device); }
|
||||
if ($device['features']) { $device['features'] = "(".$device['features'].")"; }
|
||||
$device['os_text'] = $os_text[$device['os']];
|
||||
$device['os_text'] = $config['os'][$device['os']]['text'];
|
||||
|
||||
echo($dev_img . '
|
||||
<table width="100%">');
|
||||
|
@@ -12,7 +12,7 @@
|
||||
|
||||
$image = getImage($device['device_id']);
|
||||
if ($device['os'] == "ios") { formatCiscoHardware($device, true); }
|
||||
$device['os_text'] = $os_text[$device['os']];
|
||||
$device['os_text'] = $config['os'][$device['os']]['text'];
|
||||
|
||||
echo(' <tr background="'.$bg_image.'" bgcolor="' . $bg . '" onmouseover="this.style.backgroundColor=\'#fdd\';" onmouseout="this.style.backgroundColor=\'' . $bg . '\';"
|
||||
onclick="location.href=\'/device/'.$device['device_id'].'/\'" style="cursor: hand;">
|
||||
|
Reference in New Issue
Block a user