summaryrefslogtreecommitdiffstats
path: root/perl-install/security/level.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-02-13 14:35:52 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-02-13 14:35:52 +0000
commitfe57c63558450228ca52c6f3302910372be6ebb4 (patch)
treecba149bbace96874d5e4831b24c29621c7c7b1cd /perl-install/security/level.pm
parent39824973bc990aabe121d812abfc3467df8be98a (diff)
downloaddrakx-fe57c63558450228ca52c6f3302910372be6ebb4.tar
drakx-fe57c63558450228ca52c6f3302910372be6ebb4.tar.gz
drakx-fe57c63558450228ca52c6f3302910372be6ebb4.tar.bz2
drakx-fe57c63558450228ca52c6f3302910372be6ebb4.tar.xz
drakx-fe57c63558450228ca52c6f3302910372be6ebb4.zip
- set_help is deprecated
- it is replaced by interactive_help_id on each ask_* - many set_help do not have any correspondance in help.pm (drakxid-*), those are commented for now
Diffstat (limited to 'perl-install/security/level.pm')
-rw-r--r--perl-install/security/level.pm10
1 files changed, 5 insertions, 5 deletions
diff --git a/perl-install/security/level.pm b/perl-install/security/level.pm
index fabc9f150..1513892ca 100644
--- a/perl-install/security/level.pm
+++ b/perl-install/security/level.pm
@@ -70,11 +70,11 @@ connections from many clients. Note: if your machine is only a client on the Int
delete @l{0,1};
delete $l{5} if !$::expert;
- $in->ask_from(
- N("DrakSec Basic Options"),
- N("Please choose the desired security level") . "\n\n" .
- join('', map { "$l{$_}: " . formatAlaTeX($help{$_}) . "\n\n" } ikeys %l),
- [
+ $in->ask_from_({ title => N("DrakSec Basic Options"),
+ messages => N("Please choose the desired security level") . "\n\n" .
+ join('', map { "$l{$_}: " . formatAlaTeX($help{$_}) . "\n\n" } ikeys %l),
+ interactive_help_id => 'miscellaneous',
+ }, [
{ label => N("Security level"), val => $security, list => [ sort keys %l ], format => sub { $l{$_[0]} } },
if_($in->do_pkgs->is_installed('libsafe') && arch() =~ /^i.86/,
{ label => N("Use libsafe for servers"), val => $libsafe, type => 'bool', text =>