@@ -, +, @@ integrated with the final screen of the onboarding tool) for the user to learn about services SIP/LDAP and to click the link to visit the admin screen for configuring z-targets --- installer/onboarding.pl | 22 ++++++++-- .../prog/en/modules/onboarding/onboardingstep5.tt | 12 ++++-- .../prog/en/modules/onboarding/onboardingstep6.tt | 49 ++++++++++++++++++++++ 3 files changed, 76 insertions(+), 7 deletions(-) create mode 100644 koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep6.tt --- a/installer/onboarding.pl +++ a/installer/onboarding.pl @@ -95,7 +95,7 @@ my $dbh = DBI->connect( my $op = $input->param('op') || ""; $template->param( 'op' => $op ); -if ( $op && $op eq 'finish' ) +if ( $op && $op eq 'Finish' ) { #If the value of $op equals 'finish' then redirect user to /cgi-bin/koha/mainpage.pl print $input->redirect("/cgi-bin/koha/mainpage.pl"); exit; @@ -242,8 +242,8 @@ elsif ( $step && $step == 2 ) { #Create a patron } elsif ( $step && $step == 3 ) { - my $firstpassword = $input->param('password') || ""; - my $secondpassword = $input->param('password2') || ""; + my $firstpassword = $input->param('password') || ''; + my $secondpassword = $input->param('password2') || ''; #Find all patron records in the database and hand them to the template @@ -683,5 +683,21 @@ elsif ( $step && $step == 5 ) { } } } +elsif ( $step && $step == 6 ){ +# my ( $template, $loggedinuser, $cookie ) = +# C4::InstallAuth::get_template_and_user( +# { +# template_name => "/onboarding/onboardingstep6.tt", +# query => $input, +# type => "intranet", +# authnotrequired => 0, +# flagsrequired => { parameters => 'manage_circ_rules' }, +# debug => 1, +# } +# ); + my $service = $input->param('service'); + $template->param( service => $service ); +} + output_html_with_http_headers $input, $cookie, $template->output; --- a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep5.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep5.tt @@ -1,6 +1,5 @@ [% INCLUDE 'doc-head-open.inc' %]