aboutsummaryrefslogtreecommitdiffstats
path: root/packages/spamd_db.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-03-19 23:34:28 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-03-19 23:34:28 +0000
commitacf6e210aee3b3079d5ecdf1c3be7303c4ea4ecd (patch)
treeb15a36c7e1cc7fbe41300a8d737f0264b2dcbf70 /packages/spamd_db.php
parent746f81d8a21ea7bcfae360b335aa75b70664a02f (diff)
downloadpfsense-packages-acf6e210aee3b3079d5ecdf1c3be7303c4ea4ecd.tar.gz
pfsense-packages-acf6e210aee3b3079d5ecdf1c3be7303c4ea4ecd.tar.bz2
pfsense-packages-acf6e210aee3b3079d5ecdf1c3be7303c4ea4ecd.zip
Add sortable table header support
Diffstat (limited to 'packages/spamd_db.php')
-rw-r--r--packages/spamd_db.php26
1 files changed, 14 insertions, 12 deletions
diff --git a/packages/spamd_db.php b/packages/spamd_db.php
index c65a49a7..fe54e7ae 100644
--- a/packages/spamd_db.php
+++ b/packages/spamd_db.php
@@ -126,8 +126,8 @@ include("head.inc");
<form action="spamd_db.php" method="post" name="iform">
<script src="/javascript/scriptaculous/prototype.js" type="text/javascript"></script>
<script src="/javascript/scriptaculous/scriptaculous.js" type="text/javascript"></script>
-<script type="text/javascript" language="javascript" src="row_toggle.js">
-</script>
+<script type="text/javascript" language="javascript" src="row_toggle.js"></script>
+<script src="/javascript/sorttable.js"></script>
<script language="javascript">
function outputrule(req) {
if(req.content != '') {
@@ -223,15 +223,17 @@ if (typeof getURL == 'undefined') {
<tr>
<td>
<div id="mainarea">
- <table id="maintable" name="maintable" class="tabcont" width="100%" border="0" cellpadding="0" cellspacing="0">
- <tr id="frheader">
- <td class="listhdrr">Type</td>
- <td class="listhdrr">IP</td>
- <td class="listhdrr">From</td>
- <td class="listhdrr">To</td>
- <td class="listhdr">Attempts</td>
- <td class="list"></td>
- </tr>
+ <table id="maintable" name="maintable" class="tabcont" width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr><td>
+ <table id="sortabletable1" name="sortabletable1" class="sortable" width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr id="frheader">
+ <td class="listhdrr">Type</td>
+ <td class="listhdrr">IP</td>
+ <td class="listhdrr">From</td>
+ <td class="listhdrr">To</td>
+ <td class="listhdr">Attempts</td>
+ <td class="list"></td>
+ </tr>
<?php
if($filter) {
if($not) {
@@ -314,7 +316,7 @@ if (typeof getURL == 'undefined') {
}
$rows++;
}
-?>
+?> </td></tr></table>
</table>
</div>
</td>