diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-03-19 23:34:28 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-03-19 23:34:28 +0000 |
commit | acf6e210aee3b3079d5ecdf1c3be7303c4ea4ecd (patch) | |
tree | b15a36c7e1cc7fbe41300a8d737f0264b2dcbf70 | |
parent | 746f81d8a21ea7bcfae360b335aa75b70664a02f (diff) | |
download | pfsense-packages-acf6e210aee3b3079d5ecdf1c3be7303c4ea4ecd.tar.gz pfsense-packages-acf6e210aee3b3079d5ecdf1c3be7303c4ea4ecd.tar.bz2 pfsense-packages-acf6e210aee3b3079d5ecdf1c3be7303c4ea4ecd.zip |
Add sortable table header support
-rw-r--r-- | packages/spamd_db.php | 26 |
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> |