summaryrefslogtreecommitdiffstats
path: root/proxy_wizard
diff options
context:
space:
mode:
authorAntoine Ginies <aginies@mandriva.com>2006-06-20 20:54:31 +0000
committerAntoine Ginies <aginies@mandriva.com>2006-06-20 20:54:31 +0000
commitef83c3384527da74e78aa47c017c96dd34a629b9 (patch)
treee94e7cbe89ae84a1f07939b43939bf641607bd46 /proxy_wizard
parentfa60acb6d2feb2b86924afff15d1124c01a70f7d (diff)
downloaddrakwizard-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 'proxy_wizard')
-rwxr-xr-xproxy_wizard/Squid.pm22
1 files changed, 11 insertions, 11 deletions
diff --git a/proxy_wizard/Squid.pm b/proxy_wizard/Squid.pm
index 4848b428..9693494e 100755
--- a/proxy_wizard/Squid.pm
+++ b/proxy_wizard/Squid.pm
@@ -87,7 +87,7 @@ $o->{pages} = {
warning_port => {
name => N("Warning.") . "\n\n" . N("You have entered a port that may be useful for this service:") . "\n\n" . N("Press Next if you want to keep this value, or Back to correct your choice."),
data => [
- { label => '/etc/services:', fixed_val => \$o->{var}{used_by} },
+ { label => '/etc/services:', val_ref => \$o->{var}{used_by} },
],
next => 'memory'
},
@@ -154,12 +154,12 @@ $o->{pages} = {
summary => {
name => N("Configuring the Proxy") . "\n\n" . N("The wizard collected the following parameters needed to configure your proxy:") . "\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("Port:"), type => 'field', fixed_val => \$o->{var}{wiz_squid_port} },
- { label => N("Memory cache (MB):"), type => 'field', fixed_val => \$o->{var}{wiz_squid_mem} },
- { label => N("Disk space (MB):"), type => 'field', fixed_val => \$o->{var}{wiz_squid_disk} },
- { label => N("Access Control:"), type => 'field', fixed_val => \$o->{var}{wiz_squid_mynetw} },
- { label => N("Upper level proxy hostname:"), type => 'field', fixed_val => \$o->{var}{wiz_squid_cachepeer} },
- { label => N("Upper level proxy port:"), type => 'field', fixed_val => \$o->{var}{wiz_squid_peerport} },
+ { label => N("Port:"), type => 'field', val_ref => \$o->{var}{wiz_squid_port} },
+ { label => N("Memory cache (MB):"), type => 'field', val_ref => \$o->{var}{wiz_squid_mem} },
+ { label => N("Disk space (MB):"), type => 'field', val_ref => \$o->{var}{wiz_squid_disk} },
+ { label => N("Access Control:"), type => 'field', val_ref => \$o->{var}{wiz_squid_mynetw} },
+ { label => N("Upper level proxy hostname:"), type => 'field', val_ref => \$o->{var}{wiz_squid_cachepeer} },
+ { label => N("Upper level proxy port:"), type => 'field', val_ref => \$o->{var}{wiz_squid_peerport} },
],
post => \&do_it,
next => 'end'
@@ -167,10 +167,10 @@ $o->{pages} = {
summary_2 => {
name => N("Configuring the Proxy") . "\n\n" . N("The wizard collected the following parameters needed to configure your proxy:") . "\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("Port:"), type => 'field', fixed_val => \$o->{var}{wiz_squid_port} },
- { label => N("Memory cache (MB):"), type => 'field', fixed_val => \$o->{var}{wiz_squid_mem} },
- { label => N("Disk space (MB):"), type => 'field', fixed_val => \$o->{var}{wiz_squid_disk} },
- { label => N("Access Control:"), type => 'field', fixed_val => \$o->{var}{wiz_squid_mynetw} },
+ { label => N("Port:"), type => 'field', val_ref => \$o->{var}{wiz_squid_port} },
+ { label => N("Memory cache (MB):"), type => 'field', val_ref => \$o->{var}{wiz_squid_mem} },
+ { label => N("Disk space (MB):"), type => 'field', val_ref => \$o->{var}{wiz_squid_disk} },
+ { label => N("Access Control:"), type => 'field', val_ref => \$o->{var}{wiz_squid_mynetw} },
],
post => \&do_it,
next => 'end'