diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-03-05 00:04:25 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-03-05 00:04:25 +0000 |
commit | 25a03a501e1c0d3a2beedb1c8ca46393092e1c55 (patch) | |
tree | b808806779cb656ced0c0918c3b5b04aca7889e3 /lib/network/shorewall.pm | |
parent | 79fdc3d56421f2520287080ab7cd013cbcd3b078 (diff) | |
download | drakx-net-25a03a501e1c0d3a2beedb1c8ca46393092e1c55.tar drakx-net-25a03a501e1c0d3a2beedb1c8ca46393092e1c55.tar.gz drakx-net-25a03a501e1c0d3a2beedb1c8ca46393092e1c55.tar.bz2 drakx-net-25a03a501e1c0d3a2beedb1c8ca46393092e1c55.tar.xz drakx-net-25a03a501e1c0d3a2beedb1c8ca46393092e1c55.zip |
add icon and title
Diffstat (limited to 'lib/network/shorewall.pm')
-rw-r--r-- | lib/network/shorewall.pm | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/network/shorewall.pm b/lib/network/shorewall.pm index a78416e..d191808 100644 --- a/lib/network/shorewall.pm +++ b/lib/network/shorewall.pm @@ -58,13 +58,17 @@ sub get_zones { my @all_intf = grep { !/:/ } uniq(keys(%{$net->{ifcfg}}), detect_devices::get_net_interfaces()); my %net_zone = map { $_ => undef } @all_intf; $net_zone{$_} = 1 foreach get_net_zone_interfaces($net, \@all_intf); - $o_in and $o_in->ask_from('', N("Please select the interfaces that will be protected by the firewall. + $o_in and $o_in->ask_from_({ + title => N("Firewall configuration"), + icon => 'banner-security', + messages => N("Please select the interfaces that will be protected by the firewall. All interfaces directly connected to Internet should be selected, while interfaces connected to a local network may be unselected. Which interfaces should be protected? -"), [ +"), + }, [ map { { text => network::tools::get_interface_description($net, $_), val => \$net_zone{$_}, type => 'bool' }; } (sort keys %net_zone) ]); |