summaryrefslogtreecommitdiffstats
path: root/usr/local/www/status_filter_reload.php
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-09-07 22:18:16 +0000
committerErmal <eri@pfsense.org>2010-09-07 22:18:16 +0000
commitc29ff7bd768dc4dcca98c250ef5498d47221415f (patch)
tree923c28ae4b8a2a1f9849a8007fd7f15515de829e /usr/local/www/status_filter_reload.php
parentf4e8db1f8255d892cbe4ab42b4e56be2303ba07b (diff)
downloadpfsense-c29ff7bd768dc4dcca98c250ef5498d47221415f.zip
pfsense-c29ff7bd768dc4dcca98c250ef5498d47221415f.tar.gz
Provide a button to reload the filter at status->filter reload status.
Diffstat (limited to 'usr/local/www/status_filter_reload.php')
-rw-r--r--usr/local/www/status_filter_reload.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/usr/local/www/status_filter_reload.php b/usr/local/www/status_filter_reload.php
index 3d97c8e..0420857 100644
--- a/usr/local/www/status_filter_reload.php
+++ b/usr/local/www/status_filter_reload.php
@@ -50,6 +50,11 @@ if($_GET['getstatus']) {
echo "|{$status}|";
exit;
}
+if($_GET['reloadfilter']) {
+ send_event("filter reload");
+ header("Location: status_filter_reload.php");
+ exit;
+}
include("head.inc");
?>
@@ -57,7 +62,9 @@ include("head.inc");
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
-
+<br/>
+<a href="/status_filter_reload.php?reloadfilter=true"><input type="button" value="Reload Filter" id="reloadfilter"></a>
+<br/><br/><br/>
<div id="status" name="status" style="padding:5px; border:1px dashed #990000; background-color: #ffffff; color: #000000;">
<?php echo $status; ?>
</div>
OpenPOWER on IntegriCloud