3 # Apply the firewall configuration
5 require './itsecur-lib.pl';
6 &can_edit_error("apply");
8 &header($text{'apply_title'}, "",
9 undef, undef, undef, undef, &apply_button());
12 print "<p>$text{'apply_doing'}<br>\n";
14 $err = &apply_rules();
16 print &text('apply_failed', $err),"<p>\n";
19 print "$text{'apply_done'}<p>\n";
24 &footer($ENV{'HTTP_REFERER'}, $text{'apply_return'});
27 &footer("", $text{'index_return'});
29 &remote_webmin_log("apply");