Lines 52-57
Link Here
|
52 |
<form action="/cgi-bin/koha/opac-registration-verify.pl" method="post" name="confirm_registration" id="confirm_registration"> |
52 |
<form action="/cgi-bin/koha/opac-registration-verify.pl" method="post" name="confirm_registration" id="confirm_registration"> |
53 |
[% INCLUDE 'csrf-token.inc' %] |
53 |
[% INCLUDE 'csrf-token.inc' %] |
54 |
<input type="hidden" name="token" value="[% token | html %]" /> |
54 |
<input type="hidden" name="token" value="[% token | html %]" /> |
|
|
55 |
<input type="hidden" name="library_approval" value="[% library_approval | html %]" /> |
55 |
<input type="hidden" name="op" value="cud-confirmed" /> |
56 |
<input type="hidden" name="op" value="cud-confirmed" /> |
56 |
<input type="submit" value="Confirm" class="btn btn-primary" /> |
57 |
<input type="submit" value="Confirm" class="btn btn-primary" /> |
57 |
</form> |
58 |
</form> |
Lines 60-67
Link Here
|
60 |
<div id="registration-complete"> |
61 |
<div id="registration-complete"> |
61 |
<h1>Registration complete!</h1> |
62 |
<h1>Registration complete!</h1> |
62 |
|
63 |
|
63 |
<p>You have successfully registered your new account.</p> |
64 |
<p>You have successfully registered a new account.</p> |
64 |
[% IF Koha.Preference('PatronSelfRegistrationPrefillForm') %] |
65 |
|
|
|
66 |
[% IF library_approval %] |
67 |
<p>An password recovery email has been sent.</p> |
68 |
[% ELSIF Koha.Preference('PatronSelfRegistrationPrefillForm') %] |
65 |
<p>To log in, use the following credentials:</p> |
69 |
<p>To log in, use the following credentials:</p> |
66 |
|
70 |
|
67 |
<p id="patron-userid-p" class="registration-line"> |
71 |
<p id="patron-userid-p" class="registration-line"> |
Lines 80-92
Link Here
|
80 |
</p> |
84 |
</p> |
81 |
[% END %] |
85 |
[% END %] |
82 |
|
86 |
|
83 |
<p id="patron-instructions"> |
87 |
[% UNLESS Koha.Preference('PatronSelfRegistrationVerifyByEmail') == "library" %] |
84 |
[% IF borrower.category.effective_change_password %] |
88 |
<p id="patron-instructions"> |
85 |
<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> |
89 |
[% IF borrower.category.effective_change_password %] |
86 |
[% ELSE %] |
90 |
<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> |
87 |
<span>For your convenience, the login box on this page has been pre-filled with this data. Please log in.</span> |
91 |
[% ELSE %] |
88 |
[% END %] |
92 |
<span>For your convenience, the login box on this page has been pre-filled with this data. Please log in.</span> |
89 |
</p> |
93 |
[% END %] |
|
|
94 |
</p> |
95 |
[% END %] |
90 |
[% END %] |
96 |
[% END %] |
91 |
|
97 |
|
92 |
[% IF ( PatronSelfRegistrationAdditionalInstructions ) %] |
98 |
[% IF ( PatronSelfRegistrationAdditionalInstructions ) %] |
Lines 109-121
Link Here
|
109 |
<fieldset class="brief"> |
115 |
<fieldset class="brief"> |
110 |
<legend>Log in to your account:</legend> |
116 |
<legend>Log in to your account:</legend> |
111 |
[% PROCESS login_label for="userid" %] |
117 |
[% PROCESS login_label for="userid" %] |
112 |
[% IF Koha.Preference('PatronSelfRegistrationPrefillForm') %] |
118 |
[% IF Koha.Preference('PatronSelfRegistrationPrefillForm') && Koha.Preference('PatronSelfRegistrationVerifyByEmail') != "library" %] |
113 |
<input class="form-control" type="text" id="userid" size="10" name="login_userid" value="[% borrower.userid | html %]" autocomplete="off" /> |
119 |
<input class="form-control" type="text" id="userid" size="10" name="login_userid" value="[% borrower.userid | html %]" autocomplete="off" /> |
114 |
[% ELSE %] |
120 |
[% ELSE %] |
115 |
<input class="form-control" type="text" id="userid" size="10" name="login_userid" value="" autocomplete="off" /> |
121 |
<input class="form-control" type="text" id="userid" size="10" name="login_userid" value="" autocomplete="off" /> |
116 |
[% END %] |
122 |
[% END %] |
117 |
<label for="password">Password:</label> |
123 |
<label for="password">Password:</label> |
118 |
[% IF Koha.Preference('PatronSelfRegistrationPrefillForm') %] |
124 |
[% IF Koha.Preference('PatronSelfRegistrationPrefillForm') && Koha.Preference('PatronSelfRegistrationVerifyByEmail') != "library" %] |
119 |
<input class="form-control" type="password" id="password" size="10" name="login_password" value="[% password_cleartext | html %]" autocomplete="off" /> |
125 |
<input class="form-control" type="password" id="password" size="10" name="login_password" value="[% password_cleartext | html %]" autocomplete="off" /> |
120 |
[% ELSE %] |
126 |
[% ELSE %] |
121 |
<input class="form-control" type="password" id="password" size="10" name="login_password" value="" autocomplete="off" /> |
127 |
<input class="form-control" type="password" id="password" size="10" name="login_password" value="" autocomplete="off" /> |