Revision 8cd558b6
Added by ayvis over 11 years ago
usr/local/www/status_dhcpv6_leases.php | ||
---|---|---|
454 | 454 |
echo "<td class=\"listr\">{$fspans}{$data['duid']}{$fspane} </td>\n"; |
455 | 455 |
echo "<td class=\"listr\">{$fspans}"; |
456 | 456 |
if (!empty($data['hostname'])) { |
457 |
echo htmlentities($data['hostname']) . "<br/>"; |
|
457 |
echo htmlentities($data['hostname']) . "<br />";
|
|
458 | 458 |
} |
459 | 459 |
|
460 | 460 |
$mac=trim($ndpdata[$data['ip']]['mac']); |
461 | 461 |
if (!empty($mac)) { |
462 | 462 |
$mac_hi = strtoupper($mac[0] . $mac[1] . $mac[3] . $mac[4] . $mac[6] . $mac[7]); |
463 | 463 |
print htmlentities($mac); |
464 |
if(isset($mac_man[$mac_hi])){ print "<br/><font size=\"-2\"><i>{$mac_man[$mac_hi]}</i></font>"; } |
|
464 |
if(isset($mac_man[$mac_hi])){ print "<br /><font size=\"-2\"><i>{$mac_man[$mac_hi]}</i></font>"; }
|
|
465 | 465 |
} |
466 | 466 |
|
467 | 467 |
echo "{$fspane} </td>\n"; |
... | ... | |
533 | 533 |
} |
534 | 534 |
echo "<tr>\n"; |
535 | 535 |
if ($mappings[$data['iaid'] . $data['duid']]) { |
536 |
$dip = "<br/>Routed To: {$mappings[$data['iaid'] . $data['duid']]}"; |
|
536 |
$dip = "<br />Routed To: {$mappings[$data['iaid'] . $data['duid']]}";
|
|
537 | 537 |
} |
538 | 538 |
echo "<td class=\"listlr\">{$fspans}{$data['prefix']}{$dip}{$fspane} </td>\n"; |
539 | 539 |
echo "<td class=\"listr\">{$fspans}{$data['iaid']}{$fspane} </td>\n"; |
Also available in: Unified diff
xhtml Compliance
replaced <br>, <br/> and </br> with <br />