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 [% INCLUDE 'doc-head-open.inc' %]
7 <title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
8 [% INCLUDE 'doc-head-close.inc' %]
9 [% BLOCK cssinclude %][% END %]
11 [% INCLUDE 'bodytag.inc' bodyid='opac-registration-confirmation' %]
12 [% INCLUDE 'masthead.inc' %]
15 <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumbs">
16 <ol class="breadcrumb">
17 <li class="breadcrumb-item">
18 <a href="/cgi-bin/koha/opac-main.pl">Home</a>
20 <li class="breadcrumb-item active">
21 <a href="#" aria-current="page">Registration complete</a>
24 </nav> <!-- /#breadcrumbs -->
26 <div class="container-fluid">
28 [% IF ( OpacNav || OpacNavBottom ) %]
29 <div class="col-12 col-lg-2 order-3 order-lg-1">
31 [% INCLUDE 'navigation.inc' %]
36 [% IF ( OpacNav || OpacNavBottom ) %]
37 [% # Three-column layout with right and left sidebars %]
38 <div class="col-12 col-lg-7 order-md-1 maincontent">
39 [% ELSIF ( OpacNavRight ) %]
40 [% # Two-column layout with right sidebar %]
41 <div class="col-12 col-lg-9 order-md-1 maincontent">
44 <div id="registration-complete" class="maincontent">
45 <h1>Registration complete!</h1>
47 <p>You have successfully registered your new account.</p>
48 [% IF Koha.Preference('PatronSelfRegistrationPrefillForm') %]
49 <p>To log in, use the following credentials:</p>
51 <p id="patron-userid-p" class="registration-line">
52 <span id="patron-userid-label" class="registration-label">Username:</span>
53 <span id="patron-userid" class="registration-value">[% borrower.userid | html %]</span>
55 <p id="patron-password-p" class="registration-line">
56 <span id="patron-password-label" class="registration-label">Password:</span>
57 <span id="patron-password" class="registration-value">[% password_cleartext | html %]</span>
60 [% IF borrower.cardnumber %]
61 <p id="patron-cardnumber-p" class="registration-line">
62 <span id="patron-cardnumber-label" class="registration-label">Card number:</span>
63 <span id="patron-cardnumber" class="registration-value">[% borrower.cardnumber | html %]</span>
67 <p id="patron-instructions">
68 [% IF borrower.category.effective_change_password %]
69 <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>
71 <span>For your convenience, the login box on this page has been pre-filled with this data. Please log in.</span>
76 <div id="PatronSelfRegistrationAdditionalInstructions">[% PatronSelfRegistrationAdditionalInstructions | $raw %]</div>
77 </div> <!-- /#registration-complete -->
78 </div> <!-- / .col-7/9 -->
80 <div class="col-12 col-lg-3 order-md-2">
81 [% UNLESS ( loggedinusername ) %]
82 [% UNLESS ( casAuthentication ) %]
84 <form action="/cgi-bin/koha/opac-user.pl" method="post" name="auth" id="auth" autocomplete="off">
85 <input type="hidden" name="koha_login_context" value="opac" />
86 <fieldset class="brief">
87 <legend>Log in to your account:</legend>
88 <label for="userid">Login:</label>
89 [% IF Koha.Preference('PatronSelfRegistrationPrefillForm') %]
90 <input class="form-control" type="text" id="userid" size="10" name="userid" value="[% borrower.userid | html %]" />
92 <input class="form-control" type="text" id="userid" size="10" name="userid" value="" />
94 <label for="password">Password:</label>
95 [% IF Koha.Preference('PatronSelfRegistrationPrefillForm') %]
96 <input class="form-control" type="password" id="password" size="10" name="password" value="[% password_cleartext | html %]" />
98 <input class="form-control" type="password" id="password" size="10" name="password" value="" />
100 <fieldset class="action">
101 <input type="submit" value="Log in" class="btn btn-primary" />
103 [% 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 %]
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 %]