diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-08-20 00:04:06 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-08-20 00:04:06 -0400 |
commit | e97076a5ce860b924afc62d0309b288d45a7c705 (patch) | |
tree | 434b5e722c005b6987495d16fb8f2e47d7546c66 /usr/local/www | |
parent | 5de281718086f9508239f664a8af4495cc320be0 (diff) | |
download | pfsense-e97076a5ce860b924afc62d0309b288d45a7c705.zip pfsense-e97076a5ce860b924afc62d0309b288d45a7c705.tar.gz |
Add Reload button
Diffstat (limited to 'usr/local/www')
-rw-r--r-- | usr/local/www/diag_showbogons.php | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/usr/local/www/diag_showbogons.php b/usr/local/www/diag_showbogons.php index 522972b..7574cd3 100644 --- a/usr/local/www/diag_showbogons.php +++ b/usr/local/www/diag_showbogons.php @@ -36,19 +36,23 @@ require("guiconfig.inc"); -$bogons = `cat /etc/bogons`; +if($_POST['Reload']) { + exec("/etc/rc.update_bogons.sh donotsleep"); +} +$bogons = `cat /etc/bogons`; $pgtitle = "Diagnostics: Show Bogons"; include("head.inc"); +include("fbegin.inc"); -include("fbegin.inc"); ?> <body link="#0000CC" vlink="#0000CC" alink="#0000CC"> <style type="text/css"> body { font-family: Verdana; font-size: 100%; } pre { font-size: 1.15em; } </style> +<form method="post" action="diag_showbogons.php"> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td> @@ -73,6 +77,8 @@ pre { font-size: 1.15em; } </td> </tr> </table> +<br/> +<input type="submit" name="Reload" value="Reload"> bogons table. </form> <?php include("fend.inc"); ?> </body> |