diff options
Diffstat (limited to 'proxy_wizard/Squid.pm')
-rwxr-xr-x | proxy_wizard/Squid.pm | 22 |
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' |