summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-08-12 08:12:32 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-08-12 08:12:32 +0000
commitf31bc3333e4ae3216722e46a27b20ee0577d7ce3 (patch)
treed689bc0362aab0053e58d07004eadcd5dc918c7e /perl-install
parent522eca80377943092f35428f5986ec26f0808d99 (diff)
downloaddrakx-backup-do-not-use-f31bc3333e4ae3216722e46a27b20ee0577d7ce3.tar
drakx-backup-do-not-use-f31bc3333e4ae3216722e46a27b20ee0577d7ce3.tar.gz
drakx-backup-do-not-use-f31bc3333e4ae3216722e46a27b20ee0577d7ce3.tar.bz2
drakx-backup-do-not-use-f31bc3333e4ae3216722e46a27b20ee0577d7ce3.tar.xz
drakx-backup-do-not-use-f31bc3333e4ae3216722e46a27b20ee0577d7ce3.zip
(basic_seclevel_explanations)
- handle "bold" value for "weight" - display labels as bold
Diffstat (limited to 'perl-install')
-rwxr-xr-xperl-install/standalone/draksec12
1 files changed, 6 insertions, 6 deletions
diff --git a/perl-install/standalone/draksec b/perl-install/standalone/draksec
index f5dd0b5d4..5435599d9 100755
--- a/perl-install/standalone/draksec
+++ b/perl-install/standalone/draksec
@@ -82,7 +82,7 @@ sub basic_seclevel_explanations() {
my %tags = %common_opts;
while (s!(\w+?)="(\w+?)"!!) {
$tags{weight} ||= Gtk2::Pango->PANGO_WEIGHT_BOLD if $1 eq 'foreground';
- $tags{$1} = $2;
+ $tags{$1} = $2 eq "bold" ? Gtk2::Pango->PANGO_WEIGHT_BOLD : $2;
}
s/^>//;
[ $_, \%tags ];
@@ -96,13 +96,13 @@ sub basic_seclevel_explanations() {
N("Here, you can setup the security level and administrator of your machine.
-The Security Administrator is the one who will receive security alerts if the
-'Security Alerts' option is set. It can be a username or an email.
+The '<span weight=\"bold\">Security Administrator</span>' is the one who will receive security alerts if the
+'<span weight=\"bold\">Security Alerts</span>' option is set. It can be a username or an email.
-The Security Level menu allows you to select one of the six preconfigured security levels
-provided with msec. These levels range from poor security and ease of use, to
-paranoid config, suitable for very sensitive server applications:
+The '<span weight=\"bold\">Security Level</span>' menu allows you to select one of the six preconfigured security levels
+provided with msec. These levels range from '<span weight=\"bold\">poor</span>' security and ease of use, to
+'<span weight=\"bold\">paranoid</span>' config, suitable for very sensitive server applications:
<span foreground=\"royalblue3\">Poor</span>: This is a totally unsafe but very