mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
better fix
git-svn-id: http://www.observium.org/svn/observer/trunk@1632 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -46,9 +46,9 @@ function generate_device_link($device, $text=0, $start=0, $end=0)
|
||||
|
||||
|
||||
$contents .= "<div>";
|
||||
if($device['os']) { $contents .= htmlentities($config['os'][$device['os']]['text']); }
|
||||
if($device['version']) { $contents .= " ".htmlentities($device['version']); }
|
||||
if($device['features']) { $contents .= " (".htmlentities($device['features']).")"; }
|
||||
if($device['os']) { $contents .= mres($config['os'][$device['os']]['text']); }
|
||||
if($device['version']) { $contents .= " ".mres($device['version']); }
|
||||
if($device['features']) { $contents .= " (".mres($device['features']).")"; }
|
||||
# if($device['hardware']) { $contents .= " - ".$device['hardware']; }
|
||||
$contents .= "</div>";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user