diff options
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/diag_dump_states.php | 13 | ||||
-rw-r--r-- | usr/local/www/diag_resetstate.php | 12 |
2 files changed, 14 insertions, 11 deletions
diff --git a/usr/local/www/diag_dump_states.php b/usr/local/www/diag_dump_states.php index a282fdc..b6771aa 100755 --- a/usr/local/www/diag_dump_states.php +++ b/usr/local/www/diag_dump_states.php @@ -74,6 +74,7 @@ include("head.inc"); <form action="diag_dump_states.php" method="get" name="iform"> <script type="text/javascript"> +//<![CDATA[ function removeState(srcip, dstip) { var busy = function(index,icon) { jQuery(icon).bind("onclick",""); @@ -101,9 +102,10 @@ include("head.inc"); function(index,row) { jQuery(row).fadeOut(1000); } ); } +//]]> </script> -<table width="100%" border="0" cellpadding="0" cellspacing="0"> +<table width="100%" border="0" cellpadding="0" cellspacing="0" summary="tabcon"> <tr> <td> <?php @@ -126,11 +128,11 @@ include("head.inc"); $current_statecount=`pfctl -si | grep "current entries" | awk '{ print $3 }'`; ?> -<table class="tabcont" width="100%" border="0" cellspacing="0" cellpadding="0"> +<table class="tabcont" width="100%" border="0" cellspacing="0" cellpadding="0" summary="states"> <tr> <td> <form action="<?=$_SERVER['SCRIPT_NAME'];?>" method="get"> - <table class="tabcont" width="100%" border="0" cellspacing="0" cellpadding="0"> + <table class="tabcont" width="100%" border="0" cellspacing="0" cellpadding="0" summary="filter"> <tr> <td> <?=gettext("Current total state count");?>: <?= $current_statecount ?> @@ -150,7 +152,7 @@ include("head.inc"); </tr> <tr> <td> - <table class="tabcont sortable" width="100%" border="0" cellspacing="0" cellpadding="0"> + <table class="tabcont sortable" width="100%" border="0" cellspacing="0" cellpadding="0" summary="results"> <thead> <tr> <th class="listhdrr" width="10%"><?=gettext("Proto");?></th> @@ -183,7 +185,7 @@ while ($line = chop(fgets($fd))) { $dstip = trim($parts[0]); ?> - <tr valign="top" name="r:<?= $srcip ?>:<?= $dstip ?>"> + <tr valign="top" id="r:<?= $srcip ?>:<?= $dstip ?>"> <td class="listlr"><?= $proto ?></td> <td class="listr"><?= $info ?></td> <td class="listr"><?= $state ?></td> @@ -227,6 +229,7 @@ pclose($fd); </td> </tr> </table> +</form> <?php require("fend.inc"); ?> </body> diff --git a/usr/local/www/diag_resetstate.php b/usr/local/www/diag_resetstate.php index 15b0c41..a99463a 100644 --- a/usr/local/www/diag_resetstate.php +++ b/usr/local/www/diag_resetstate.php @@ -70,7 +70,7 @@ include("head.inc"); <?php if ($input_errors) print_input_errors($input_errors); ?> <?php if ($savemsg) print_info_box($savemsg); ?> <form action="diag_resetstate.php" method="post" name="iform" id="iform"> - <table width="100%" border="0" cellpadding="0" cellspacing="0"> + <table width="100%" border="0" cellpadding="0" cellspacing="0" summary="reset states"> <tr><td> <?php $tab_array = array(); @@ -81,13 +81,13 @@ include("head.inc"); display_top_tabs($tab_array); ?> </td></tr> - <tr><td class="tabcont"> + <tr><td class="tabcont"> - <table width="100%" border="0" cellpadding="6" cellspacing="0"> + <table width="100%" border="0" cellpadding="6" cellspacing="0" summary="main area"> <tr> <td width="22%" valign="top" class="vtable"> </td> <td width="78%" class="vtable"> <p> - <input name="statetable" type="checkbox" id="statetable" value="yes" checked> + <input name="statetable" type="checkbox" id="statetable" value="yes" checked="checked" /> <strong><?= gettext("Firewall state table"); ?></strong><br /> <span class="vexpl"><br /> <?=gettext("Resetting the state tables will remove all entries from " . @@ -109,7 +109,7 @@ include("head.inc"); <tr> <td width="22%" valign="top" class="vtable"> </td> <td width="78%" class="vtable"><p> - <input name="sourcetracking" type="checkbox" id="sourcetracking" value="yes" checked> + <input name="sourcetracking" type="checkbox" id="sourcetracking" value="yes" checked="checked" /> <strong><?= gettext("Firewall Source Tracking"); ?></strong><br /> <span class="vexpl"><br /> <?=gettext("Resetting the source tracking table will remove all source/destination associations. " . @@ -124,7 +124,7 @@ include("head.inc"); <tr> <td width="22%" valign="top"> </td> <td width="78%"> - <input name="Submit" type="submit" class="formbtn" value="<?=gettext("Reset"); ?>"> + <input name="Submit" type="submit" class="formbtn" value="<?=gettext("Reset"); ?>" /> </td> </tr> </table> |