|
Lines 1-6
Link Here
|
| 1 |
[% USE Koha %] |
1 |
[% USE Koha %] |
| 2 |
[% INCLUDE 'doc-head-open.inc' %] |
2 |
[% INCLUDE 'doc-head-open.inc' %] |
| 3 |
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog</title> |
3 |
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %] - Forgotten password recovery[% ELSE %]Koha online[% END %] catalog - Forgotten password recovery</title> |
| 4 |
[% INCLUDE 'doc-head-close.inc' %] |
4 |
[% INCLUDE 'doc-head-close.inc' %] |
| 5 |
[% BLOCK cssinclude %][% END %] |
5 |
[% BLOCK cssinclude %][% END %] |
| 6 |
[% BLOCK jsinclude %] |
6 |
[% BLOCK jsinclude %] |
|
Lines 30-36
Link Here
|
| 30 |
<div class="main"> |
30 |
<div class="main"> |
| 31 |
<ul class="breadcrumb"> |
31 |
<ul class="breadcrumb"> |
| 32 |
<li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">›</span></li> |
32 |
<li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">›</span></li> |
| 33 |
<li><a href="#">Change your password</a></li> |
33 |
<li><a href="#">Forgotten password recovery</a></li> |
| 34 |
</ul> |
34 |
</ul> |
| 35 |
|
35 |
|
| 36 |
<div class="container-fluid"> |
36 |
<div class="container-fluid"> |
|
Lines 44-83
Link Here
|
| 44 |
[% END %] |
44 |
[% END %] |
| 45 |
</div> |
45 |
</div> |
| 46 |
<div class="span10"> |
46 |
<div class="span10"> |
| 47 |
<h3>Password recovery</h3> |
47 |
<h3>Forgotten password recovery</h3> |
| 48 |
[% IF (hasError) %] |
48 |
[% IF (hasError) %] |
| 49 |
<div class="alert alert-warning"> |
49 |
<div class="alert alert-warning"> |
| 50 |
<h3>An error occurred</h3> |
50 |
<h3>Oops!</h3> |
| 51 |
<p> |
51 |
<p> |
| 52 |
[% IF (sendmailError) %] |
52 |
[% IF (sendmailError) %] |
| 53 |
An error has occurred while sending you the password recovery link. |
53 |
An error has occurred while sending you the password recovery link. |
| 54 |
<br/>Please try again later. |
54 |
<br/>Please try again later. |
| 55 |
[% ELSIF (errNoBorrowerFound) %] |
55 |
[% ELSIF (errNoBorrowerFound) %] |
| 56 |
No account was found with the provided information. |
56 |
No account was found with the provided information. |
| 57 |
<br/>Check if you typed it correctly. |
|
|
| 58 |
[% ELSIF (errBadEmail) %] |
| 59 |
The provided email address is not tied to this account. |
| 60 |
[% ELSIF (errTooManyEmailFound) %] |
| 61 |
More than one account has been found for the email address: "<strong>[% email %]</strong>" |
| 62 |
<br/>Try to use your username or an alternative email if you have one. |
| 63 |
[% ELSIF (errNoBorrowerEmail) %] |
| 64 |
This account has no email address we can send the email to. |
| 65 |
[% ELSIF (errAlreadyStartRecovery) %] |
57 |
[% ELSIF (errAlreadyStartRecovery) %] |
| 66 |
The process of password recovery has already started for this account ("<strong>[% username %]</strong>") |
58 |
The process of password recovery has already been started for this account ("<strong>[% username %]</strong>") |
| 67 |
<br/>Check your emails; you should receive the link to reset your password. |
59 |
<br/>You should have received an email with a link to reset your password. |
| 68 |
<br/>If you did not receive it, click <a href="/cgi-bin/koha/opac-password-recovery.pl?resendEmail=true&email=[% email %]&username=[% username %]">here</a> to get a new password recovery link. |
60 |
<br/>If you did not receive this email, you can <a href="/cgi-bin/koha/opac-password-recovery.pl?resendEmail=true&email=[% email %]&username=[% username %]">request a new password recovery link.</a> |
| 69 |
[% ELSIF (errPassNotMatch) %] |
61 |
[% ELSIF (errPassNotMatch) %] |
| 70 |
The passwords entered does not match. |
62 |
Oops! The passwords must match. |
| 71 |
<br/>Please try again. |
|
|
| 72 |
[% ELSIF (errPassTooShort) %] |
63 |
[% ELSIF (errPassTooShort) %] |
| 73 |
The password is too short. |
64 |
Your chosen password is too short. |
| 74 |
<br/>The password must contain at least [% minPassLength %] characters. |
65 |
<br/>The password must contain at least [% minPassLength %] characters. |
| 75 |
[% ELSIF (errLinkNotValid) %] |
66 |
[% ELSIF (errLinkNotValid) %] |
| 76 |
We could not authenticate you as the account owner. |
67 |
The link you clicked is either invalid, or expired. |
| 77 |
<br/>Be sure to use the link you received in your email. |
68 |
<br/>Be sure you used the link from the email, or contact library staff for assistance. |
| 78 |
[% END %] |
69 |
[% END %] |
| 79 |
</p> |
70 |
</p> |
| 80 |
<p>Please contact the staff if you need further assistance.</p> |
71 |
<p>Please contact the library if you need further assistance.</p> |
| 81 |
</div> |
72 |
</div> |
| 82 |
[% END %] |
73 |
[% END %] |
| 83 |
<div id="password-recovery"> |
74 |
<div id="password-recovery"> |
|
Lines 87-94
Link Here
|
| 87 |
<form action="/cgi-bin/koha/opac-password-recovery.pl" method="post"> |
78 |
<form action="/cgi-bin/koha/opac-password-recovery.pl" method="post"> |
| 88 |
<input type="hidden" name="koha_login_context" value="opac" /> |
79 |
<input type="hidden" name="koha_login_context" value="opac" /> |
| 89 |
<fieldset> |
80 |
<fieldset> |
| 90 |
<p>To reset your password, enter your username or email address. |
81 |
<p>To reset your password, enter your login and email address. |
| 91 |
<br/>A link to reset your password will be sent at this address.</p> |
|
|
| 92 |
<label for="username">Login:</label> |
82 |
<label for="username">Login:</label> |
| 93 |
<input type="text" id="username" size="40" name="username" value="[% username %]" /> |
83 |
<input type="text" id="username" size="40" name="username" value="[% username %]" /> |
| 94 |
<label for="email">Email:</label> |
84 |
<label for="email">Email:</label> |
|
Lines 118-127
Link Here
|
| 118 |
<div class="alert alert-info"> |
108 |
<div class="alert alert-info"> |
| 119 |
<p> |
109 |
<p> |
| 120 |
An email has been sent to "[% email %]". |
110 |
An email has been sent to "[% email %]". |
| 121 |
<br/>It contains a link to create a new password. |
111 |
<br/>Please click the link in this email to finish the process of resetting your password. |
| 122 |
<br/>This link will be valid for 2 days starting now. |
112 |
<br/>This link is valid for 2 days starting now. |
| 123 |
</p> |
113 |
</p> |
| 124 |
Click <a href="/cgi-bin/koha/opac-main.pl"">here</a> to return to the main page. |
114 |
<a href="/cgi-bin/koha/opac-main.pl"">Return to the main page</a> |
| 125 |
</div> |
115 |
</div> |
| 126 |
[% ELSIF (password_reset_done) %] |
116 |
[% ELSIF (password_reset_done) %] |
| 127 |
<div class="alert alert-success"> |
117 |
<div class="alert alert-success"> |