3 [% USE AdditionalContents %]
4 [% SET OpacNavRight = AdditionalContents.get( location => "OpacNavRight", lang => news_lang, library => logged_in_user.branchcode || default_branch ) %]
5 [% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
6 [% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, 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 [% WRAPPER breadcrumbs %]
17 [% WRAPPER breadcrumb_item bc_active= 1 %]
18 <span>Registration complete</span>
20 [% END #/ WRAPPER breadcrumbs %]
22 <div class="container-fluid">
24 [% IF ( OpacNav || OpacNavBottom ) %]
25 <div class="col-12 col-lg-2 order-3 order-lg-1">
27 [% INCLUDE 'navigation.inc' %]
32 [% IF ( OpacNav || OpacNavBottom ) %]
33 [% # Three-column layout with right and left sidebars %]
34 <div class="col-12 col-lg-7 order-md-1 maincontent">
35 [% ELSIF ( OpacNavRight ) %]
36 [% # Two-column layout with right sidebar %]
37 <div class="col-12 col-lg-9 order-md-1 maincontent">
40 <div id="registration-complete" class="maincontent">
41 <h1>Registration complete!</h1>
43 <p>You have successfully registered your new account.</p>
44 [% IF Koha.Preference('PatronSelfRegistrationPrefillForm') %]
45 <p>To log in, use the following credentials:</p>
47 <p id="patron-userid-p" class="registration-line">
48 <span id="patron-userid-label" class="registration-label">Username:</span>
49 <span id="patron-userid" class="registration-value">[% borrower.userid | html %]</span>
51 <p id="patron-password-p" class="registration-line">
52 <span id="patron-password-label" class="registration-label">Password:</span>
53 <span id="patron-password" class="registration-value">[% password_cleartext | html %]</span>
56 [% IF borrower.cardnumber %]
57 <p id="patron-cardnumber-p" class="registration-line">
58 <span id="patron-cardnumber-label" class="registration-label">Card number:</span>
59 <span id="patron-cardnumber" class="registration-value">[% borrower.cardnumber | html %]</span>
63 <p id="patron-instructions">
64 [% IF borrower.category.effective_change_password %]
65 <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>
67 <span>For your convenience, the login box on this page has been pre-filled with this data. Please log in.</span>
72 <div id="PatronSelfRegistrationAdditionalInstructions">[% PatronSelfRegistrationAdditionalInstructions | $raw %]</div>
73 </div> <!-- /#registration-complete -->
74 </div> <!-- / .col-7/9 -->
76 <div class="col-12 col-lg-3 order-md-2">
77 [% UNLESS ( loggedinusername ) %]
78 [% UNLESS ( casAuthentication ) %]
80 <form action="/cgi-bin/koha/opac-user.pl" method="post" name="auth" id="auth" autocomplete="off">
81 <input type="hidden" name="koha_login_context" value="opac" />
82 <fieldset class="brief">
83 <legend>Log in to your account:</legend>
84 <label for="userid">Login:</label>
85 [% IF Koha.Preference('PatronSelfRegistrationPrefillForm') %]
86 <input class="form-control" type="text" id="userid" size="10" name="userid" value="[% borrower.userid | html %]" autocomplete="off" />
88 <input class="form-control" type="text" id="userid" size="10" name="userid" value="" autocomplete="off" />
90 <label for="password">Password:</label>
91 [% IF Koha.Preference('PatronSelfRegistrationPrefillForm') %]
92 <input class="form-control" type="password" id="password" size="10" name="password" value="[% password_cleartext | html %]" autocomplete="off" />
94 <input class="form-control" type="password" id="password" size="10" name="password" value="" autocomplete="off" />
96 <fieldset class="action">
97 <input type="submit" value="Log in" class="btn btn-primary" />
99 [% IF PatronSelfRegistration && PatronSelfRegistrationDefaultCategory %]
100 <div id="patronregistration">
101 <p><a href="/cgi-bin/koha/opac-memberentry.pl">Create an account</a></p>
105 </form> <!-- /#auth -->
106 </div> <!-- /#login -->
107 [% END # /casAuthentication %]
108 [% END # / loggedinusername %]
109 [% IF ( OpacNavRight ) %]
110 [% PROCESS koha_news_block news => OpacNavRight %]
111 [% END # /OpacNavRight %]
112 </div> <!-- / .col-lg-3 -->
114 </div> <!-- /.row -->
115 </div> <!-- /.container-fluid -->
116 </div> <!-- /.main -->
118 [% INCLUDE 'opac-bottom.inc' %]
119 [% BLOCK jsinclude %][% END %]