Lines 32-56
Link Here
|
32 |
<div id="registration-complete"> |
32 |
<div id="registration-complete"> |
33 |
<h1>Registration Complete!</h1> |
33 |
<h1>Registration Complete!</h1> |
34 |
|
34 |
|
35 |
<p>You have successfully registered your new account. To log in, use the following credentials:</p> |
35 |
<p>You have successfully registered your new account.</p> |
|
|
36 |
[% IF Koha.Preference('PatronSelfRegistrationPrefillForm') %] |
37 |
<p>To log in, use the following credentials:</p> |
36 |
|
38 |
|
37 |
<p id="patron-userid-p"> |
39 |
<p id="patron-userid-p"> |
38 |
<span id="patron-userid-label">Username:</span> |
40 |
<span id="patron-userid-label">Username:</span> |
39 |
<span id="patron-userid">[% borrower.userid %]</span> |
41 |
<span id="patron-userid">[% borrower.userid %]</span> |
40 |
</p> |
42 |
</p> |
41 |
<p id="patron-password-p"> |
43 |
<p id="patron-password-p"> |
42 |
<span id="patron-password-label">Password:</span> |
44 |
<span id="patron-password-label">Password:</span> |
43 |
<span id="patron-password">[% password_cleartext %]<span> |
45 |
<span id="patron-password">[% password_cleartext %]<span> |
44 |
</p> |
|
|
45 |
|
46 |
[% IF borrower.cardnumber %] |
47 |
<p id="patron-cardnumber-p"> |
48 |
<span id="patron-cardnumber-label">Card number:</span> |
49 |
<span id="patron-cardnumber">[% borrower.cardnumber %]</span> |
50 |
</p> |
46 |
</p> |
51 |
[% END %] |
|
|
52 |
|
47 |
|
53 |
<p id="patron-instructions">For your convenience, the login box on this page has been pre-filled with this data. Please log in[% IF OpacPasswordChange %] and change your password[% END %].</p> |
48 |
[% IF borrower.cardnumber %] |
|
|
49 |
<p id="patron-cardnumber-p"> |
50 |
<span id="patron-cardnumber-label">Card number:</span> |
51 |
<span id="patron-cardnumber">[% borrower.cardnumber %]</span> |
52 |
</p> |
53 |
[% END %] |
54 |
|
55 |
<p id="patron-instructions">For your convenience, the login box on this page has been pre-filled with this data. Please log in[% IF OpacPasswordChange %] and change your password[% END %].</p> |
56 |
[% END %] |
54 |
|
57 |
|
55 |
<div id="PatronSelfRegistrationAdditionalInstructions">[% PatronSelfRegistrationAdditionalInstructions %]</div> |
58 |
<div id="PatronSelfRegistrationAdditionalInstructions">[% PatronSelfRegistrationAdditionalInstructions %]</div> |
56 |
</div> |
59 |
</div> |
Lines 67-74
Link Here
|
67 |
<input type="hidden" name="koha_login_context" value="opac" /> |
70 |
<input type="hidden" name="koha_login_context" value="opac" /> |
68 |
<fieldset class="brief"> |
71 |
<fieldset class="brief"> |
69 |
<legend>Log in to your account:</legend> |
72 |
<legend>Log in to your account:</legend> |
70 |
<label for="userid">Login:</label><input type="text" id="userid" size="10" name="userid" value="[% borrower.userid %]" /> |
73 |
<label for="userid">Login:</label> |
71 |
<label for="password">Password:</label><input type="password" id="password" size="10" name="password" value="[% password_cleartext %]" /> |
74 |
[% IF Koha.Preference('PatronSelfRegistrationPrefillForm') %] |
|
|
75 |
<input type="text" id="userid" size="10" name="userid" value="[% borrower.userid %]" /> |
76 |
[% ELSE %] |
77 |
<input type="text" id="userid" size="10" name="userid" value="" /> |
78 |
[% END %] |
79 |
<label for="password">Password:</label> |
80 |
[% IF Koha.Preference('PatronSelfRegistrationPrefillForm') %] |
81 |
<input type="password" id="password" size="10" name="password" value="[% password_cleartext %]" /> |
82 |
[% ELSE %] |
83 |
<input type="password" id="password" size="10" name="password" value="" /> |
84 |
[% END %] |
72 |
<fieldset class="action"> |
85 |
<fieldset class="action"> |
73 |
<input type="submit" value="Log in" class="btn" /> |
86 |
<input type="submit" value="Log in" class="btn" /> |
74 |
</fieldset> |
87 |
</fieldset> |
75 |
- |
|
|