2 [% INCLUDE 'doc-head-open.inc' %][% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › Change your password
3 [% INCLUDE 'doc-head-close.inc' %]
4 [% BLOCK cssinclude %][% END %]
6 <body id="opac-passwd">
7 [% INCLUDE 'masthead.inc' %]
10 <ul class="breadcrumb">
11 <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">›</span></li>
12 <li><a href="/cgi-bin/koha/opac-user.pl">[% firstname %] [% surname %]</a> <span class="divider">›</span></li>
13 <li><a href="#">Change your password</a></li>
16 <div class="container-fluid">
17 <div class="row-fluid">
20 [% INCLUDE 'navigation.inc' IsPatronPage=1 %]
25 <h3>Change your password </h3>
27 [% IF ( Error_messages ) %]
29 <h3>There was a problem with your submission</h3>
31 [% IF ( PassMismatch ) %]
32 Passwords do not match. Please re-type your new password.
34 [% IF ( ShortPass ) %]
35 Your new password must be at least [% minpasslen %] characters long.
37 [% IF ( WrongPass ) %]
38 Your current password was entered incorrectly. If this problem persists, please ask a librarian to re-set your password for you.
42 [% END # /IF Error_messages %]
44 [% IF ( OpacPasswordChange ) %]
46 <form action="/cgi-bin/koha/opac-passwd.pl" name="mainform" id="mainform" method="post">
48 [% UNLESS ( ShortPass ) %]<div class="alert alert-info">Your password must be at least [% minpasslen %] characters long.</div>[% END %]
49 <label for="Oldkey">Current password:</label> <input type="password" id="Oldkey" size="25" name="Oldkey" />
50 <label for="Newkey">New password:</label> <input type="password" id="Newkey" size="25" name="Newkey" />
51 <label for="Confirm">Re-type new password:</label> <input type="password" id="Confirm" size="25" name="Confirm" />
53 <fieldset class="action"><input type="submit" value="Submit changes" class="btn" /> <a href="/cgi-bin/koha/opac-user.pl" class="cancel">Cancel</a></fieldset>
55 [% END # /IF Ask_data %]
57 <div class="alert">You can't change your password.</div>
58 [% END # /IF OpacPasswordChange %]
60 [% IF ( password_updated ) %]
61 <div class="alert alert-success">
62 <h1>Password updated</h1>
63 Your password has been changed
65 <form action="/cgi-bin/koha/opac-user.pl" method="post">
66 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
67 <p><input type="submit" class="btn" value="Return to your record" /></p>
69 [% END # /IF password_updated %]
70 </div> <!-- / #userpasswd -->
71 </div> <!-- / .span10 -->
72 </div> <!-- / .row-fluid -->
73 </div> <!-- / .container-fluid -->
74 </div> <!-- / .main -->
78 [% INCLUDE 'opac-bottom.inc' %]
79 [% BLOCK jsinclude %][% END %]