mirror of
https://github.com/librenms/librenms.git
synced 2024-09-25 04:19:07 +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:
parent
cb99f420bd
commit
a5f1ef11fc
@ -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>";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user