diff options
author | Antoine Ginies <aginies@mandriva.com> | 2006-06-20 20:54:31 +0000 |
---|---|---|
committer | Antoine Ginies <aginies@mandriva.com> | 2006-06-20 20:54:31 +0000 |
commit | ef83c3384527da74e78aa47c017c96dd34a629b9 (patch) | |
tree | e94e7cbe89ae84a1f07939b43939bf641607bd46 /postfix_wizard/Postfix.pm | |
parent | fa60acb6d2feb2b86924afff15d1124c01a70f7d (diff) | |
download | drakwizard-ef83c3384527da74e78aa47c017c96dd34a629b9.tar drakwizard-ef83c3384527da74e78aa47c017c96dd34a629b9.tar.gz drakwizard-ef83c3384527da74e78aa47c017c96dd34a629b9.tar.bz2 drakwizard-ef83c3384527da74e78aa47c017c96dd34a629b9.tar.xz drakwizard-ef83c3384527da74e78aa47c017c96dd34a629b9.zip |
fix fixed_val and fixed_list
Diffstat (limited to 'postfix_wizard/Postfix.pm')
-rwxr-xr-x | postfix_wizard/Postfix.pm | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/postfix_wizard/Postfix.pm b/postfix_wizard/Postfix.pm index 45c0552c..7074937c 100755 --- a/postfix_wizard/Postfix.pm +++ b/postfix_wizard/Postfix.pm @@ -177,8 +177,8 @@ $o->{pages} = { $o->{var}{wiz_masquerade_domains} ||=$postfix->{masquerade_domains}; }, data => [ - { label => N('helo required:'), val => \$o->{var}{wiz_smtpd_helo_required}, fixed_list => \@yesorno }, - { label => N('Disable verify command:'), val => \$o->{var}{wiz_disable_vrfy_command}, fixed_list => \@yesorno }, + { label => N('helo required:'), val => \$o->{var}{wiz_smtpd_helo_required}, list_ref => \@yesorno }, + { label => N('Disable verify command:'), val => \$o->{var}{wiz_disable_vrfy_command}, list_ref => \@yesorno }, { label => N('Masquerade domains'), val => \$o->{var}{wiz_masquerade_domains}, help => N('This should be chosen consistently with the address you use for incoming mail. Address masquerading is a method to hide all hosts inside a domain behind their mail gateway, and to make it appear as if the mail comes from the gateway itself, instead of from individual machines.') }, ], complete => sub { @@ -249,8 +249,8 @@ $o->{pages} = { summary_relay => { name => N("Configuring your relay mail server") . "\n\n" . N("The wizard collected the following parameters needed to configure your relay mail server:") . "\n\n" . N("To accept these values, and configure your server, click the next button or use the back button to correct them."), data => [ - { label => N('Relay host:'), fixed_val => \$o->{var}{wiz_relayhost} }, - { label => N('Relay domains:'), fixed_val => \$o->{var}{wiz_relay_domains} }, + { label => N('Relay host:'), val_ref => \$o->{var}{wiz_relayhost} }, + { label => N('Relay domains:'), val_ref => \$o->{var}{wiz_relay_domains} }, ], post => \&do_it_relay_server, next => 'end' @@ -258,9 +258,9 @@ $o->{pages} = { summary_main => { name => N("The wizard will now configure your Postfix mail server."), data => [ - { label => N('inet interfaces:'), fixed_val => \$o->{var}{wiz_inet_interfaces} }, - { label => N('my destination:'), fixed_val => \$o->{var}{wiz_mydestination} }, - { label => N('my networks:'), fixed_val => \$o->{var}{wiz_mynetworks} }, + { label => N('inet interfaces:'), val_ref => \$o->{var}{wiz_inet_interfaces} }, + { label => N('my destination:'), val_ref => \$o->{var}{wiz_mydestination} }, + { label => N('my networks:'), val_ref => \$o->{var}{wiz_mynetworks} }, ], post => \&do_it_main_server, next => 'end' |