summaryrefslogtreecommitdiffstats
path: root/usr/local/www/diag_dhcp_leases.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-03-19 22:22:28 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-03-19 22:22:28 +0000
commit5fd0b016091222c8e0ac0bea18b9a9a04e686066 (patch)
tree4c92f02fc1256da86a6f3d3d444a65e508f7ebe4 /usr/local/www/diag_dhcp_leases.php
parentba6d49ff7cf9de41701f98bf9cf7b00c77a10f30 (diff)
downloadpfsense-5fd0b016091222c8e0ac0bea18b9a9a04e686066.zip
pfsense-5fd0b016091222c8e0ac0bea18b9a9a04e686066.tar.gz
Add sortable table header support
Diffstat (limited to 'usr/local/www/diag_dhcp_leases.php')
-rwxr-xr-xusr/local/www/diag_dhcp_leases.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/diag_dhcp_leases.php b/usr/local/www/diag_dhcp_leases.php
index b81c1b7..f515c90 100755
--- a/usr/local/www/diag_dhcp_leases.php
+++ b/usr/local/www/diag_dhcp_leases.php
@@ -39,6 +39,7 @@ include("head.inc");
?>
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
+<script src="/javascript/sorttable.js"></script>
<?php include("fbegin.inc"); ?>
<p class="pgtitle"><?=$pgtitle?></p>
<?php
@@ -206,7 +207,7 @@ foreach($config['interfaces'] as $ifname => $ifarr) {
if ($_GET['order'])
usort($leases, "leasecmp");
?>
-<table width="100%" border="0" cellpadding="0" cellspacing="0">
+<table class="sortable" id="sortabletable" name="sortabletable" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="listhdrr"><a href="?all=<?=$_GET['all'];?>&order=ip">IP address</a></td>
<td class="listhdrr"><a href="?all=<?=$_GET['all'];?>&order=mac">MAC address</a></td>
OpenPOWER on IntegriCloud