diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-12-31 04:47:24 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-12-31 04:47:24 +0000 |
commit | 1f97829e04906d5ded74e3c49a69cdea04ef1b31 (patch) | |
tree | 3c0831598a1eba4ad58c2b4fc8682689f0e92642 /usr | |
parent | 15424318986e3c079a15cf67b1ec6bb22e65079c (diff) | |
download | pfsense-1f97829e04906d5ded74e3c49a69cdea04ef1b31.zip pfsense-1f97829e04906d5ded74e3c49a69cdea04ef1b31.tar.gz |
* Correct target
* Remember filters in between refreshes
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/diag_dump_states.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/usr/local/www/diag_dump_states.php b/usr/local/www/diag_dump_states.php index 4184176..e098a6c 100755 --- a/usr/local/www/diag_dump_states.php +++ b/usr/local/www/diag_dump_states.php @@ -62,7 +62,7 @@ if($_GET['filter']) { <table class="tabcont" width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td style="font-weight:bold;" width="50" align="right">Filter: </td> - <form action="<?=$PHP_SELF;?>" method="get" id="search"> + <form action="diag_dump_states.php" method="get" id="search"> <td width="175"><input name="filter" type="text" id="" value="<?=$_GET['filter'];?>" size="30" style="font-size:11px;"></td> </form> <td><input type="submit" class="formbtn" value="Filter"></td> @@ -110,6 +110,11 @@ EOD; </td></tr> </table> <?php include("fend.inc"); ?> +<?php if($_GET['filter']): ?> +<meta http-equiv="refresh" content="60;url=diag_dump_states.php?filter=<?php echo $_GET['filter']; ?>"> +<?php else: ?> <meta http-equiv="refresh" content="60;url=diag_dump_states.php"> +<?php endif; ?> + </body> </html> |