diff options
Diffstat (limited to 'Wiztemplate.pm')
-rwxr-xr-x | Wiztemplate.pm | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/Wiztemplate.pm b/Wiztemplate.pm index 0eb01ebc..0602a823 100755 --- a/Wiztemplate.pm +++ b/Wiztemplate.pm @@ -39,43 +39,43 @@ my $o = { $o->{pages} = { welcome => { - name => N('') . "\n\n" . N('') . "\n\n" . N(''), + name => "\n\n" . "\n\n", no_back => 1, next => 'config' }, confige => { - name => N('') . "\n\n" . N('') . "\n\n" . N(''), + name => "\n\n" . "\n\n", pre => sub { $o->{var}{ip1} ||= f1(); $o->{var}{ip2} ||= f2(); }, post => \&check, data => [ - { label => N(''), val => \$o->{var}{ip1} }, - { label => N(''), val => \$o->{var}{ip2} }, + { label => '', val => \$o->{var}{ip1} }, + { label => '', val => \$o->{var}{ip2} }, ], next => 'summary' }, warning => { - name => N("Warning.") . "\n\n" . N(''), + name => N("Warning.") . "\n\n", next => 'summary' }, error => { - name => N("Error.") . "\n\n" . N(''), + name => N("Error.") . "\n\n", next => 'config' }, summary => { - name => N('') . "\n\n" . N('') . "\n\n" . N(''), + name => "\n\n" . "\n\n", data => [ - { label => N(''), fixed_val => \$o->{var}{ip1} }, + { label => '', fixed_val => \$o->{var}{ip1} }, { label => '' }, - { label => N(''), fixed_val => \$o->{var}{ip2} }, + { label => '', fixed_val => \$o->{var}{ip2} }, ], post => \&do_it, next => 'end' }, end => { - name => N("Congratulations") . "\n\n" . N(''), + name => N("Congratulations") . "\n\n", end => 1, next => 0 }, |