summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2011-02-27 15:50:06 -0500
committerScott Ullrich <sullrich@pfsense.org>2011-02-27 15:50:06 -0500
commitcfaf6e69bd956ccb7a46066f3176820346f96451 (patch)
treea48f3028659ac306015956114f6aa5ab680c71c4 /usr/local/www
parent58b4b246a83ecc77ad3d5774cada1aaaa3e6d8b4 (diff)
downloadpfsense-cfaf6e69bd956ccb7a46066f3176820346f96451.zip
pfsense-cfaf6e69bd956ccb7a46066f3176820346f96451.tar.gz
Only show the you can monitor the filter reload process for filter related changes
Diffstat (limited to 'usr/local/www')
-rwxr-xr-xusr/local/www/guiconfig.inc11
1 files changed, 9 insertions, 2 deletions
diff --git a/usr/local/www/guiconfig.inc b/usr/local/www/guiconfig.inc
index 7784a6e..3c576b9 100755
--- a/usr/local/www/guiconfig.inc
+++ b/usr/local/www/guiconfig.inc
@@ -418,8 +418,15 @@ function print_info_box($msg) {
function get_std_save_message($ok) {
global $d_sysrebootreqd_path;
-
- return "The changes have been applied successfully.<br/>You can also <a href='status_filter_reload.php'>monitor</a> the filter reload progress.";
+ $filter_related = false;
+ $filter_pages = array("nat", "filter");
+ $to_return = "The changes have been applied successfully.";
+ foreach($filter_pages as $fp)
+ if(stristr($_SERVER['SCRIPT_FILENAME'], $fp))
+ $filter_related = true;
+ if($filter_related)
+ $to_return .= "<br/>You can also <a href='status_filter_reload.php'>monitor</a> the filter reload progress.";
+ return $to_return;
}
function pprint_address($adr) {
OpenPOWER on IntegriCloud