Project

General

Profile

« Previous | Next » 

Revision 366e2be8

Added by Scott Ullrich almost 15 years ago

Show interface description

View differences:

usr/local/www/status_graph.php
55 55
	$height = "200";
56 56

  
57 57
// Get configured interface list
58
$ifdescrs = get_configured_interface_list();
58
$ifdescrs = get_configured_interface_with_descr();
59 59
	
60 60
if ($_GET['if']) {
61 61
	$curif = $_GET['if'];
......
173 173
foreach ($ifdescrs as $ifn => $ifd) {
174 174
	echo "<option value=\"$ifn\"";
175 175
	if ($ifn == $curif) echo " selected";
176
	echo ">" . strtoupper(htmlspecialchars($ifd)) . "</option>\n";
176
	echo ">" . strtoupper(htmlspecialchars($ifd)) . " (" . strtoupper($ifn) . ")</option>\n";
177 177
}
178 178
?>
179 179
</select>

Also available in: Unified diff