From ef83c3384527da74e78aa47c017c96dd34a629b9 Mon Sep 17 00:00:00 2001 From: Antoine Ginies Date: Tue, 20 Jun 2006 20:54:31 +0000 Subject: fix fixed_val and fixed_list --- ftp_wizard/Proftpd.pm | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'ftp_wizard') diff --git a/ftp_wizard/Proftpd.pm b/ftp_wizard/Proftpd.pm index 2f5cba0d..e5855971 100755 --- a/ftp_wizard/Proftpd.pm +++ b/ftp_wizard/Proftpd.pm @@ -153,13 +153,13 @@ $o->{pages} = { $o->{var}{fxp} = $o->{var}{wiz_ftp_fxp} ? N("enabled") : N("disabled"); }, data => [ - { label => N('FTP Port:'), fixed_val => \$o->{var}{wiz_port} }, - { label => N("Intranet FTP server:"), fixed_val => \$o->{var}{internal} }, - { label => N("Internet FTP server:"), fixed_val => \$o->{var}{external} }, - { label => N("Permit root Login"), fixed_val => \$o->{var}{rootlogin} }, - { label => N("Chroot Home user"), fixed_val => \$o->{var}{defaultroot} }, - { label => N("Allow FTP resume"), fixed_val => \$o->{var}{ftpresume} }, - { label => N("Allow FXP"), fixed_val => \$o->{var}{fxp} }, + { label => N('FTP Port:'), val_ref => \$o->{var}{wiz_port} }, + { label => N("Intranet FTP server:"), val_ref => \$o->{var}{internal} }, + { label => N("Internet FTP server:"), val_ref => \$o->{var}{external} }, + { label => N("Permit root Login"), val_ref => \$o->{var}{rootlogin} }, + { label => N("Chroot Home user"), val_ref => \$o->{var}{defaultroot} }, + { label => N("Allow FTP resume"), val_ref => \$o->{var}{ftpresume} }, + { label => N("Allow FXP"), val_ref => \$o->{var}{fxp} }, ], post => \&do_it, next => 'end' -- cgit v1.2.1