View | Details | Raw Unified | Return to bug 17956
Collapse All | Expand All

(-)a/installer/onboarding.pl (-3 / +19 lines)
Lines 95-101 my $dbh = DBI->connect( Link Here
95
my $op = $input->param('op') || "";
95
my $op = $input->param('op') || "";
96
$template->param( 'op' => $op );
96
$template->param( 'op' => $op );
97
97
98
if ( $op && $op eq 'finish' )
98
if ( $op && $op eq 'Finish' )
99
{ #If the value of $op equals 'finish' then redirect user to /cgi-bin/koha/mainpage.pl
99
{ #If the value of $op equals 'finish' then redirect user to /cgi-bin/koha/mainpage.pl
100
    print $input->redirect("/cgi-bin/koha/mainpage.pl");
100
    print $input->redirect("/cgi-bin/koha/mainpage.pl");
101
    exit;
101
    exit;
Lines 242-249 elsif ( $step && $step == 2 ) { Link Here
242
    #Create a patron
242
    #Create a patron
243
}
243
}
244
elsif ( $step && $step == 3 ) {
244
elsif ( $step && $step == 3 ) {
245
    my $firstpassword  = $input->param('password') || "";
245
    my $firstpassword  = $input->param('password') || '';
246
    my $secondpassword = $input->param('password2') || "";
246
    my $secondpassword = $input->param('password2') || '';
247
247
248
248
249
    #Find all patron records in the database and hand them to the template
249
    #Find all patron records in the database and hand them to the template
Lines 683-687 elsif ( $step && $step == 5 ) { Link Here
683
        }
683
        }
684
    }
684
    }
685
}
685
}
686
elsif ( $step && $step == 6 ){
687
#      my ( $template, $loggedinuser, $cookie ) =
688
#          C4::InstallAuth::get_template_and_user(
689
#            {
690
#                  template_name   => "/onboarding/onboardingstep6.tt",
691
#                  query           => $input,
692
#                  type            => "intranet",
693
#                  authnotrequired => 0,
694
#                  flagsrequired   => { parameters => 'manage_circ_rules' },
695
#                  debug           => 1,
696
#            }
697
#          );
698
      my $service = $input->param('service');
699
      $template->param( service => $service );
700
}
701
686
702
687
output_html_with_http_headers $input, $cookie, $template->output;
703
output_html_with_http_headers $input, $cookie, $template->output;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep5.tt (-4 / +8 lines)
Lines 1-6 Link Here
1
[% INCLUDE 'doc-head-open.inc' %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Create Circulation rule</title>
2
<title>Create Circulation rule</title>
3
[% IF ( finish ) %]<meta http-equiv="refresh" content="10; url=/cgi-bin/koha/mainpage.pl">[% END %]
4
[% INCLUDE 'installer-doc-head-close.inc' %]
3
[% INCLUDE 'installer-doc-head-close.inc' %]
5
4
6
<div>
5
<div>
Lines 17-31 Link Here
17
[% IF op == "add_validate" %]
16
[% IF op == "add_validate" %]
18
        <!--New circulation rule created-->
17
        <!--New circulation rule created-->
19
        <form name="finish" method="post" action="onboarding.pl">
18
        <form name="finish" method="post" action="onboarding.pl">
20
            <input type="hidden" name="op" value="finish" />
19
            <input type="hidden" name="step" value="6" />
21
            <h1 align="left"> New circulation rule </h1>
20
            <h1 align="left"> New circulation rule </h1>
22
            <div>
21
            <div>
23
                 <p> Success: circulation rule created!</p>
22
                 <p> Success: circulation rule created!</p>
24
                 <p> To create circulation rule, go to <br>
23
                 <p> To create circulation rule, go to <br>
25
                 More -> Administration -> Circulation and Fine Rules
24
                 More -> Administration -> Circulation and Fine Rules
26
            </div>
25
            </div>
27
                 Next up:
26
28
                 <input type="submit" name="op" value="Finish"/>
27
            <h2> Next steps </h2>
28
            To learn more about the services you can use with Koha click here:<br>
29
            <input type="submit" name="op" value="Learn more"/>
30
            <br><br>
31
            To login to Koha:<br>
32
            <input type="submit" name="op" value="Finish"/>
29
        </form>
33
        </form>
30
[% ELSE %]
34
[% ELSE %]
31
<!--Create a circulation rule screen 1-->
35
<!--Create a circulation rule screen 1-->
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep6.tt (-1 / +49 lines)
Line 0 Link Here
0
- 
1
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Learn about LDAP service</title>
3
[% IF ( finish ) %]<meta http-equiv="refresh" content="10; url=/cgi-bin/koha/admin/z3950servers.pl?op=add&type=zed">[% END %]
4
[% INCLUDE 'installer-doc-head-close.inc' %]
5
6
<div>
7
    <h1 id="logo"><img alt="Koha" src="[% interface %]/[% theme %]/img/koha.org-logo.gif"/> Welcome to Koha</h1>
8
</div>
9
10
[% IF op == "Learn more" %]
11
    <form name="showservice" method="post" action="onboarding.pl">
12
        <input type="hidden" name="op" value="learnservice"/>
13
        <input type="hidden" name="step" value="6"/>
14
        <h1 align="left"> What service are you using?</h1>
15
        <div>
16
            <input type="radio" name="service" value="LDAP"> LDAP <br>
17
            <input type="radio" name="service" value="SIP"> SIP  <br>
18
        </div>
19
        <input type="submit" class="action" value="submit">
20
    </form>
21
[% END %]
22
[% IF (op == "learnservice") && (service == "LDAP") %]
23
24
       <h1 align="left"> Important information regarding setting up LDAP service </h1>
25
       <h2 align="left"> What is LDAP? </h2>
26
       LDAP is a service that provides another way for users (both staff and patrons) to log into Koha by integrating in your institutions current authentication system with yourt Koha instance. LDAP can be used to log into both the Koha staff interface and OPAC.
27
28
       <h2 align="left">What are the benefits of setting up LDAP on my Koha instance</h2>
29
       If your institution has a central database of users which it uses for authentication then by setting up LDAP in your Koha instance your users will be able to log into Koha with their existing account credentials, therefore saving users from having to create another username and password to remember.
30
       <h2> Learn how to set up LDAP at:</h2>
31
       <a href="https://perldoc.koha-community.org/C4/Auth_with_ldap.html">LDAP in the manual</a>
32
33
[% ELSIF (op == "learnservice") && (service == "SIP") %]
34
       <h2 align="left"> Important information regarding setting up SIP server</h2>
35
       SIP is a service where you can type commands into the
36
37
       <h2> Important security notice about using SIP </h2>
38
       To ensure your SIP traffic (the request and response messages sent between you and the SIP server) are secure you must use a stunnel or VPN.
39
40
[% END %]
41
42
<h1> Configure z-targets</h1>
43
z-targets are simply the servers you will query when looking for a sepcific MARC record (bibliographic record). Often these are set to the z39.50 servers run by the Library of Congress. 
44
Click here:<br>
45
<input type="submit" value="finish"> Visit the z-target configuration page</input
46
47
48
49

Return to bug 17956