diff options
author | jim-p <jimp@pfsense.org> | 2010-09-29 13:08:53 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2010-09-29 13:09:25 -0400 |
commit | 5b3f9124df1c7c2d242d5dbad36a610836d0e3ec (patch) | |
tree | 194c5510971fb69425c027eeed11fc94e6a309fe /usr | |
parent | 433ebfab75400133708adcdf48c3f5a9317cefab (diff) | |
download | pfsense-5b3f9124df1c7c2d242d5dbad36a610836d0e3ec.zip pfsense-5b3f9124df1c7c2d242d5dbad36a610836d0e3ec.tar.gz |
Fix state sorting
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/diag_dump_states.php | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/usr/local/www/diag_dump_states.php b/usr/local/www/diag_dump_states.php index 108f138..a2009c9 100755 --- a/usr/local/www/diag_dump_states.php +++ b/usr/local/www/diag_dump_states.php @@ -126,7 +126,7 @@ include("head.inc"); $current_statecount=`pfctl -si | grep "current entries" | awk '{ print $3 }'`; ?> -<table class="tabcont sortable" width="100%" border="0" cellspacing="0" cellpadding="0"> +<table class="tabcont" width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td> <form action="<?=$_SERVER['SCRIPT_NAME'];?>" method="get"> @@ -145,13 +145,16 @@ include("head.inc"); </tr> <tr> <td> - <table class="tabcont" width="100%" border="0" cellspacing="0" cellpadding="0"> + <table class="tabcont sortable" width="100%" border="0" cellspacing="0" cellpadding="0"> + <thead> <tr> - <td class="listhdrr" width="10%"><?=gettext("Proto");?></td> - <td class="listhdrr" width="65"><?=gettext("Source -> Router -> Destination");?></td> - <td class="listhdr" width="24%"><?=gettext("State");?></td> - <td class="list sort_ignore" width="1%"></td> + <th class="listhdrr" width="10%"><?=gettext("Proto");?></th> + <th class="listhdrr" width="65"><?=gettext("Source -> Router -> Destination");?></th> + <th class="listhdr" width="24%"><?=gettext("State");?></th> + <th class="list sort_ignore" width="1%"></th> </tr> + </thead> + <tbody> <?php $row = 0; if(count($states) > 0) { @@ -194,6 +197,7 @@ else { </tr>"; } ?> + </tbody> </table> </td> </tr> |