Show rules file

This commit is contained in:
Jamie Cameron
2007-10-25 17:39:05 +00:00
parent 59f8213028
commit af0d4e533d
2 changed files with 5 additions and 1 deletions

View File

@@ -4,8 +4,11 @@
require './firewall-lib.pl';
&ReadParse();
if ($iptables_save_file) {
$desc = &text('index_editing', "<tt>$iptables_save_file</tt>");
}
&ui_print_header(undef, $text{'index_title'}, undef, "intro", 1, 1, 0,
&help_search_link("iptables", "man", "doc"));
&help_search_link("iptables", "man", "doc"), undef, undef, $desc);
# Check for iptables and iptables-restore commands
if ($c = &missing_firewall_commands()) {

View File

@@ -1,4 +1,5 @@
index_title=Linux Firewall
index_editing=Rules file $1
index_ecommand=The command $1 was not found on your system. Webmin needs this command to configure IPtables.
index_ekernel=An error occured when checking your current IPtables configuration : $1 This may indicate that your kernel does not support IPtables.
index_header=Firewall configuration from $1