diff options
author | jim-p <jimp@pfsense.org> | 2010-11-03 17:17:29 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2010-11-03 17:18:08 -0400 |
commit | 42724fdd08d9017340260a809deb601bbd5dced1 (patch) | |
tree | f606438e219e046df5c024a7ed110ee4cd0c356b /usr/local | |
parent | de651e213fd958bcacbaf78d1af253c240281ea3 (diff) | |
download | pfsense-42724fdd08d9017340260a809deb601bbd5dced1.zip pfsense-42724fdd08d9017340260a809deb601bbd5dced1.tar.gz |
Add a button to the filter reload screen to force a config sync (only shows up if a config sync peer is defined).
Diffstat (limited to 'usr/local')
-rw-r--r-- | usr/local/www/status_filter_reload.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/usr/local/www/status_filter_reload.php b/usr/local/www/status_filter_reload.php index 0420857..7639999 100644 --- a/usr/local/www/status_filter_reload.php +++ b/usr/local/www/status_filter_reload.php @@ -55,6 +55,11 @@ if($_GET['reloadfilter']) { header("Location: status_filter_reload.php"); exit; } +if($_GET['syncfilter']) { + send_event("filter sync"); + header("Location: status_filter_reload.php"); + exit; +} include("head.inc"); ?> @@ -64,6 +69,10 @@ include("head.inc"); <?php include("fbegin.inc"); ?> <br/> <a href="/status_filter_reload.php?reloadfilter=true"><input type="button" value="Reload Filter" id="reloadfilter"></a> +<?php if (!empty($config["installedpackages"]["carpsettings"]["config"][0]["pfsyncpeerip"])): ?> + +<a href="/status_filter_reload.php?syncfilter=true"><input type="button" value="Force Config Sync" id="syncfilter"></a> +<? endif; ?> <br/><br/><br/> <div id="status" name="status" style="padding:5px; border:1px dashed #990000; background-color: #ffffff; color: #000000;"> <?php echo $status; ?> |