summaryrefslogtreecommitdiffstats
path: root/usr
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
parentba6d49ff7cf9de41701f98bf9cf7b00c77a10f30 (diff)
downloadpfsense-5fd0b016091222c8e0ac0bea18b9a9a04e686066.zip
pfsense-5fd0b016091222c8e0ac0bea18b9a9a04e686066.tar.gz
Add sortable table header support
Diffstat (limited to 'usr')
-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