better fix

git-svn-id: http://www.observium.org/svn/observer/trunk@1632 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong 2010-08-02 22:56:52 +00:00
parent cb99f420bd
commit a5f1ef11fc

View File

@ -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>";