You must apply the changes in order for them to take effect."), "apply" , gettext("Apply changes") , "firewall_rules.php?if={$_REQUEST['if']}&dragdroporder=true&{$dragtable}");
+ }
+ print_info_box_apply_undo(gettext("The firewall rule configuration has been changed.
You must apply the changes in order for them to take effect."), "firewall_rules.php?if={$_REQUEST['if']}&dragdroporder=true&{$dragtable}");
} else {
- print_info_box_np(gettext("The firewall rule configuration has been changed.
You must apply the changes in order for them to take effect."));
+ print_info_box_apply(gettext("The firewall rule configuration has been changed.
You must apply the changes in order for them to take effect."));
}
?>
diff --git a/src/www/guiconfig.inc b/src/www/guiconfig.inc
index 88de5b25f..c9024489a 100644
--- a/src/www/guiconfig.inc
+++ b/src/www/guiconfig.inc
@@ -179,6 +179,28 @@ function print_input_errors($input_errors) {
echo "";
}
+function print_info_box_apply($msg)
+{
+ $value = gettext('Apply changes');
+ $name= 'apply';
+
+ $savebutton = '
{$msg}
+