3 [% USE AdditionalContents %]
4 [% SET OpacNavRight = AdditionalContents.get( location => "OpacNavRight", lang => news_lang, library => branchcode ) %]
5 [% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode, blocktitle => 0 ) %]
6 [% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode, blocktitle => 0 ) %]
7 [% INCLUDE 'doc-head-open.inc' %]
8 <title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
9 [% INCLUDE 'doc-head-close.inc' %]
10 [% BLOCK cssinclude %][% END %]
12 [% INCLUDE 'bodytag.inc' bodyid='opac-registration-confirmation' %]
13 [% INCLUDE 'masthead.inc' %]
16 <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumbs">
17 <ol class="breadcrumb">
18 <li class="breadcrumb-item">
19 <a href="/cgi-bin/koha/opac-main.pl">Home</a>
21 <li class="breadcrumb-item active">
22 <a href="#" aria-current="page">Registration complete</a>
25 </nav> <!-- /#breadcrumbs -->
27 <div class="container-fluid">
29 [% IF ( OpacNav || OpacNavBottom ) %]
30 <div class="col-12 col-lg-2 order-3 order-lg-1">
32 [% INCLUDE 'navigation.inc' %]
37 [% IF ( OpacNav || OpacNavBottom ) %]
38 [% # Three-column layout with right and left sidebars %]
39 <div class="col-12 col-lg-7 order-md-1 maincontent">
40 [% ELSIF ( OpacNavRight ) %]
41 [% # Two-column layout with right sidebar %]
42 <div class="col-12 col-lg-9 order-md-1 maincontent">
45 <div id="registration-complete" class="maincontent">
46 <h1>Registration complete!</h1>
48 <p>You have successfully registered your new account.</p>
49 [% IF Koha.Preference('PatronSelfRegistrationPrefillForm') %]
50 <p>To log in, use the following credentials:</p>
52 <p id="patron-userid-p" class="registration-line">
53 <span id="patron-userid-label" class="registration-label">Username:</span>
54 <span id="patron-userid" class="registration-value">[% borrower.userid | html %]</span>
56 <p id="patron-password-p" class="registration-line">
57 <span id="patron-password-label" class="registration-label">Password:</span>
58 <span id="patron-password" class="registration-value">[% password_cleartext | html %]</span>
61 [% IF borrower.cardnumber %]
62 <p id="patron-cardnumber-p" class="registration-line">
63 <span id="patron-cardnumber-label" class="registration-label">Card number:</span>
64 <span id="patron-cardnumber" class="registration-value">[% borrower.cardnumber | html %]</span>
68 <p id="patron-instructions">
69 [% IF borrower.category.effective_change_password %]
70 <span>For your convenience, the login box on this page has been pre-filled with this data. Please log in and change your password.</span>
72 <span>For your convenience, the login box on this page has been pre-filled with this data. Please log in.</span>
77 <div id="PatronSelfRegistrationAdditionalInstructions">[% PatronSelfRegistrationAdditionalInstructions | $raw %]</div>
78 </div> <!-- /#registration-complete -->
79 </div> <!-- / .col-7/9 -->
81 <div class="col-12 col-lg-3 order-md-2">
82 [% UNLESS ( loggedinusername ) %]
83 [% UNLESS ( casAuthentication ) %]
85 <form action="/cgi-bin/koha/opac-user.pl" method="post" name="auth" id="auth" autocomplete="off">
86 <input type="hidden" name="koha_login_context" value="opac" />
87 <fieldset class="brief">
88 <legend>Log in to your account:</legend>
89 <label for="userid">Login:</label>
90 [% IF Koha.Preference('PatronSelfRegistrationPrefillForm') %]
91 <input class="form-control" type="text" id="userid" size="10" name="userid" value="[% borrower.userid | html %]" />
93 <input class="form-control" type="text" id="userid" size="10" name="userid" value="" />
95 <label for="password">Password:</label>
96 [% IF Koha.Preference('PatronSelfRegistrationPrefillForm') %]
97 <input class="form-control" type="password" id="password" size="10" name="password" value="[% password_cleartext | html %]" />
99 <input class="form-control" type="password" id="password" size="10" name="password" value="" />
101 <fieldset class="action">
102 <input type="submit" value="Log in" class="btn btn-primary" />
104 [% IF PatronSelfRegistration && PatronSelfRegistrationDefaultCategory %]<div id="patronregistration"><p>Don't have an account? <a href="/cgi-bin/koha/opac-memberentry.pl">Register here.</a></p></div>[% END %]
106 </form> <!-- /#auth -->
107 </div> <!-- /#login -->
108 [% END # /casAuthentication %]
109 [% END # / loggedinusername %]
110 [% IF ( OpacNavRight ) %]
111 [% PROCESS koha_news_block news => OpacNavRight %]
112 [% END # /OpacNavRight %]
113 </div> <!-- / .col-lg-3 -->
115 </div> <!-- /.row -->
116 </div> <!-- /.container-fluid -->
117 </div> <!-- /.main -->
119 [% INCLUDE 'opac-bottom.inc' %]
120 [% BLOCK jsinclude %][% END %]