Line 0
Link Here
|
|
|
1 |
[% USE Koha %] |
2 |
[% INCLUDE 'doc-head-open.inc' %] |
3 |
[% IF (LibraryNameTitle) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › |
4 |
[% INCLUDE 'doc-head-close.inc' %] |
5 |
[% BLOCK cssinclude %][% END %] |
6 |
[% BLOCK jsinclude %] |
7 |
<script type="text/javascript" language="javascript"> |
8 |
$(function() { |
9 |
$("#CheckAll").click(function(){ |
10 |
$("[name=deleteRequest]").attr('checked', true); |
11 |
return false; |
12 |
}); |
13 |
|
14 |
$("#CheckNone").click(function(){ |
15 |
$("[name=deleteRequest]").attr('checked', false); |
16 |
return false; |
17 |
}); |
18 |
|
19 |
$("select#type").change(function() { |
20 |
$("fieldset#serial, fieldset#book, fieldset#chapter").hide() |
21 |
$("fieldset#" + $(this).val() ).show(); |
22 |
}); |
23 |
}); |
24 |
</script> |
25 |
[% END %] |
26 |
</head> |
27 |
<body> |
28 |
|
29 |
<div id="doc3" class="yui-t1"> |
30 |
<div id="bd"> |
31 |
[% INCLUDE 'masthead.inc' %] |
32 |
<div id="yui-main"> |
33 |
<div class="yui-b"> |
34 |
<div class="yui-g"> |
35 |
<div class="illrequest"> |
36 |
[% IF (!Koha.Preference('OpacResetPassword')) %] |
37 |
<div class="dialog alert">You can't reset your password.</div> |
38 |
[% ELSIF (password_recovery) %] |
39 |
[% IF (hasError) %] |
40 |
<span class="TxtErreur"> |
41 |
[% IF (sendmailError) %] |
42 |
An error has occured while sending you the password recovery link. |
43 |
<br/>Please try again later. |
44 |
[% ELSIF (errNoEmailFound) %] |
45 |
No account was found with the email address "<strong>[% email %]</strong>" |
46 |
<br/>Check if you typed it correctly. |
47 |
[% ELSIF (errTooManyEmailFound) %] |
48 |
More than one account has been found for the email address: "<strong>[% email %]</strong>" |
49 |
<br/>Try to use an alternative email if you have one. |
50 |
[% ELSIF (errAlreadyStartRecovery) %] |
51 |
The process of password recovery has already started for this account ("<strong>[% email %]</strong>") |
52 |
<br/>Check your emails; you should receive the link to reset your password. |
53 |
<br/>If you did not receive it, <a href="/cgi-bin/koha/opac-password-recovery.pl?resendEmail=true&email=[% email %]">click here to get a new password recovery link</a> |
54 |
[% END %] |
55 |
<br/><br/>Please contact the staff if you need further assistance. |
56 |
</span> |
57 |
[% END %] |
58 |
<div id="password-recovery" class="container"> |
59 |
<form action="/cgi-bin/koha/opac-password-recovery.pl" method="post"> |
60 |
<input type="hidden" name="koha_login_context" value="opac" /> |
61 |
<fieldset class="brief"> |
62 |
<legend>Password recovery form:</legend> |
63 |
<p>To reset your password, enter your email address. |
64 |
<br/>A link to reset your password will be sent at this address.</p> |
65 |
<ol> |
66 |
<li><label for="email">Email:</label><input type="text" id="email" size="40" name="email" value="[% email %]" /></li> |
67 |
</ol> |
68 |
<fieldset class="action"> |
69 |
<input type="submit" value="Submit" class="submit" name="sendEmail" /> |
70 |
</fieldset> |
71 |
</fieldset> |
72 |
</form> |
73 |
</div> |
74 |
|
75 |
[% ELSIF (new_password) %] |
76 |
[% IF (errLinkNotValid) %] |
77 |
<span class="TxtErreur"><h6> |
78 |
We could not authenticate you as the account owner. |
79 |
<br/>Be sure to use the link you received in your email. |
80 |
</h6></span> |
81 |
[% ELSE %] |
82 |
[% IF (hasError) %] |
83 |
<span class="TxtErreur"> |
84 |
[% IF (errPassNotMatch) %] |
85 |
The passwords entered does not match. |
86 |
<br/>Please try again. |
87 |
[% ELSIF (errPassTooShort) %] |
88 |
The password is too short. |
89 |
<br/>The password must contain at least [% minPassLength %] characters. |
90 |
[% END %] |
91 |
</span> |
92 |
[% END %] |
93 |
<div id="password-recovery" class="container"> |
94 |
<form action="/cgi-bin/koha/opac-password-recovery.pl" method="post"> |
95 |
<input type="hidden" name="koha_login_context" value="opac" /> |
96 |
<fieldset class="brief"> |
97 |
<legend>Password recovery form:</legend> |
98 |
<p class="light">The password must contain at least [% minPassLength %] characters.</p> |
99 |
<ol> |
100 |
<li><label for="password">New password:</label><input type="password" id="password" size="40" name="password" /></li> |
101 |
<li><label for="repeatPassword">Confirm new password:</label><input type="password" id="repeatPassword" size="40" name="repeatPassword" /></li> |
102 |
</ol> |
103 |
<fieldset class="action"> |
104 |
<input type="hidden" name="username" value="[% username %]" /> |
105 |
<input type="hidden" name="uniqueKey" value="[% uniqueKey %]" /> |
106 |
<input type="submit" value="Submit" class="submit" name="passwordReset" /> |
107 |
</fieldset> |
108 |
</fieldset> |
109 |
</form> |
110 |
</div> |
111 |
[% END %] |
112 |
[% ELSIF (mail_sent) %] |
113 |
<p>A mail has been sent to "[% email %]". |
114 |
<br/>It contains a link to create a new password. |
115 |
<br/>This link will be valid for 2 days starting now.</p> |
116 |
<br/><a href="/cgi-bin/koha/opac-main.pl"">Click here to return to the main page.</a> |
117 |
[% ELSIF (password_reset_done) %] |
118 |
<p>The password has been changed for user "[% username %]". |
119 |
<br/>You can now login using <a href="/cgi-bin/koha/opac-user.pl">this form</a>.</p> |
120 |
[% END %] |
121 |
</div> |
122 |
</div> |
123 |
</div> |
124 |
</div> |
125 |
<div class="yui-b"> |
126 |
<div class="container"> |
127 |
[% INCLUDE 'usermenu.inc' %] |
128 |
</div> |
129 |
</div> |
130 |
</div> |
131 |
[% INCLUDE 'opac-bottom.inc' %] |
132 |
</div> |