From fe517daec233fb7dcdd171468cc973ce058d8d08 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 29 Aug 2008 16:49:51 +0000 Subject: (level_choose) refresh "Security" step --- perl-install/security/level.pm | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'perl-install/security') diff --git a/perl-install/security/level.pm b/perl-install/security/level.pm index 198427eff..ae5e30db2 100644 --- a/perl-install/security/level.pm +++ b/perl-install/security/level.pm @@ -53,15 +53,17 @@ connections from many clients. Note: if your machine is only a client on the Int my @l = 2 .. 5; $in->ask_from_({ title => $::isInstall ? N("Security") : N("DrakSec Basic Options"), - messages => N("Please choose the desired security level") . "\n\n" . - join('', map { to_string($_) . ": " . formatAlaTeX($help{$_}) . "\n\n" } @l), interactive_help_id => 'miscellaneous', }, [ - { label => N("Security level"), val => $security, list => \@l, format => \&to_string }, + { label => N("Please choose the desired security level"), title => 1 }, + { val => $security, list => \@l, format => \&to_string, + format => sub { warn ">>$_\n"; N("%s: %s", to_string($_), formatAlaTeX($help{$_})) }, + type => 'list', gtk => { use_boxradio => 1 } }, if_($in->do_pkgs->is_installed('libsafe') && arch() =~ /^i.86/, { label => N("Use libsafe for servers"), val => $libsafe, type => 'bool', text => N("A library which defends against buffer overflow and format string attacks.") }), - { label => N("Security Administrator (login or email)"), val => $email, }, + { label => N("Security Administrator:"), title => 1 }, + { label => N("Login or email:"), val => $email, }, ], ); } -- cgit v1.2.1