summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www')
-rwxr-xr-xusr/local/www/diag_arp.php3
-rwxr-xr-xusr/local/www/diag_dhcp_leases.php3
-rwxr-xr-xusr/local/www/status_captiveportal.php3
3 files changed, 6 insertions, 3 deletions
diff --git a/usr/local/www/diag_arp.php b/usr/local/www/diag_arp.php
index c37799e..0d8cc90 100755
--- a/usr/local/www/diag_arp.php
+++ b/usr/local/www/diag_arp.php
@@ -33,6 +33,7 @@ $pgtitle = "Diagnostics: ARP Table";
include("head.inc");
?>
<body link="#000000" vlink="#000000" alink="#000000">
+<script src="/javascript/sorttable.js"></script>
<? include("fbegin.inc"); ?>
<p class="pgtitle"><?=$pgtitle?></p>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
@@ -185,7 +186,7 @@ function getHostName($mac,$ip)
?>
-<table width="100%" border="0" cellpadding="0" cellspacing="0">
+<table class="sortable" name="sortabletable" id="sortabletable" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="listhdrr">IP address</td>
<td class="listhdrr">MAC address</td>
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>
diff --git a/usr/local/www/status_captiveportal.php b/usr/local/www/status_captiveportal.php
index 7df6145..999daaf 100755
--- a/usr/local/www/status_captiveportal.php
+++ b/usr/local/www/status_captiveportal.php
@@ -40,6 +40,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
@@ -86,7 +87,7 @@ if ($fp) {
}
captiveportal_unlock();
?>
-<table width="100%" border="0" cellpadding="0" cellspacing="0">
+<table class="sortable" name="sortabletable" id="sortabletable" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="listhdrr"><a href="?order=ip&showact=<?=$_GET['showact'];?>">IP address</a></td>
<td class="listhdrr"><a href="?order=mac&showact=<?=$_GET['showact'];?>">MAC address</a></td>
OpenPOWER on IntegriCloud