diff --git a/html/includes/functions.inc.php b/html/includes/functions.inc.php index 9a2068544..2f004ecfa 100644 --- a/html/includes/functions.inc.php +++ b/html/includes/functions.inc.php @@ -53,6 +53,15 @@ function generatedevicelink($device, $text=0, $start=0, $end=0) $url = $config['base_url']."/device/" . $device['device_id'] . "/"; $contents = "
".$device['hostname'] . " - $descr
"; + + $contents .= "
"; + if($device['os']) { $contents .= $config['os'][$device['os']]['text']; } + if($device['version']) { $contents .= " ".$device['version']; } + if($device['features']) { $contents .= " (".$device['features'].")"; } + if($device['hardware']) { $contents .= " - ".$device['hardware']; } + $contents .= "
"; + + if (isset($device['location'])) { $contents .= "" . htmlentities($device['location'])."
"; } foreach ($graphs as $graph) {