summaryrefslogtreecommitdiffstats
path: root/Wiztemplate.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Wiztemplate.pm')
-rwxr-xr-xWiztemplate.pm16
1 files changed, 7 insertions, 9 deletions
diff --git a/Wiztemplate.pm b/Wiztemplate.pm
index 4089912f..67183b9b 100755
--- a/Wiztemplate.pm
+++ b/Wiztemplate.pm
@@ -32,7 +32,9 @@ my $o = {
var => {
ip1 => '',
ip2 => ''
- }
+ },
+ needed_packages => [],
+ defaultimage => "$ENV{__WIZ_HOME__}",
};
$o->{pages} = {
@@ -49,20 +51,17 @@ $o->{pages} = {
},
post => \&check,
data => [
- { label => '' },
- { label => N(''), val => \$o->{var}{ip1} },
+ { label => N(''), val => \$o->{var}{ip1} },
{ label => N(''), val => \$o->{var}{ip2} },
],
next => 'summary'
},
warning => {
- name => N('Warning.'),
- data => [ { label => N('') } ],
+ name => N('Warning.') . "\n\n" . N(''),
next => 'summary'
},
error => {
- name => N('Error.'),
- data => [ { label => N('') } ],
+ name => N('Error.') . "\n\n" . N(''),
next => 'config'
},
summary => {
@@ -76,8 +75,7 @@ $o->{pages} = {
next => 'end'
},
end => {
- name => N('Congratulation'),
- data => [ { label => N('') } ],
+ name => N('Congratulations') . "\n\n" . N(''),
end => 1,
next => 0
},