Here's a complete list of changes I've made to the /usr/local/www/status_dhcp_leases.php file
Changes to /usr/local/www/status_dhcp_leases.php
Display lease array in ascending order - Reverse the array
Put this:
$leases['lease']=array_reverse($leases['lease']);
Before this:
if ($_REQUEST['order']) {
Convert MAC to UPPERCASE
Replace this:
$mac = $data['mac'];
With this:
$mac = strtoupper($data['mac']);
Add line-break between MAC and Manufacturer string
Replace this:
<?php if (isset($mac_man[$mac_hi])):?>
With this:
<?php if (isset($mac_man[$mac_hi])):?></br>
Remove “n/a” text from Start and End columns
Replace two instances of this:
<td><?=gettext("n/a")?></td>
With this:
<td><?=gettext(" ")?></td>
Remove “offline” down arrow icon from first column
Replace this:
<i class="fa fa-arrow-down online" title="<?=htmlspecialchars($data['online'])?>"></i>
With this:
<i class="fa"></i>
And to match the UPPERCASE MAC addresses in the DHCP Service Static table...
Changes to /usr/local/www/services_dhcp.php
Convert MAC addresses to UPPERCASE
Replace this:
<?=htmlspecialchars($mapent['mac'])?>
With this:
<?=strtoupper(htmlspecialchars($mapent['mac']))?>