2 [% INCLUDE 'doc-head-open.inc' %]
3 <title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › Change your password</title>
4 [% INCLUDE 'doc-head-close.inc' %]
5 [% BLOCK cssinclude %][% END %]
7 [% INCLUDE 'bodytag.inc' bodyid='opac-passwd' %]
8 [% INCLUDE 'masthead.inc' %]
11 <ul class="breadcrumb">
12 <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">›</span></li>
13 <li><a href="/cgi-bin/koha/opac-user.pl">[% firstname %] [% surname %]</a> <span class="divider">›</span></li>
14 <li><a href="#">Change your password</a></li>
17 <div class="container-fluid">
18 <div class="row-fluid">
21 [% INCLUDE 'navigation.inc' IsPatronPage=1 %]
26 <h3>Change your password </h3>
28 [% IF ( Error_messages ) %]
30 <h3>There was a problem with your submission</h3>
32 [% IF ( PassMismatch ) %]
33 Passwords do not match. Please re-type your new password.
35 [% IF ( ShortPass ) %]
36 Your new password must be at least [% minpasslen %] characters long.
38 [% IF ( WrongPass ) %]
39 Your current password was entered incorrectly. If this problem persists, please ask a librarian to re-set your password for you.
41 [% IF PasswordContainsTrailingSpaces %]
42 Your password contains leading and/or trailing spaces.
46 [% END # /IF Error_messages %]
48 [% IF ( OpacPasswordChange ) %]
50 <form action="/cgi-bin/koha/opac-passwd.pl" name="mainform" id="mainform" method="post">
52 [% UNLESS ( ShortPass ) %]<div class="alert alert-info">Your password must be at least [% minpasslen %] characters long.</div>[% END %]
53 <label for="Oldkey">Current password:</label> <input type="password" id="Oldkey" size="25" name="Oldkey" />
54 <label for="Newkey">New password:</label> <input type="password" id="Newkey" size="25" name="Newkey" />
55 <label for="Confirm">Re-type new password:</label> <input type="password" id="Confirm" size="25" name="Confirm" />
57 <fieldset class="action"><input type="submit" value="Submit changes" class="btn" /> <a href="/cgi-bin/koha/opac-user.pl" class="cancel">Cancel</a></fieldset>
59 [% END # /IF Ask_data %]
61 <div class="alert">You can't change your password.</div>
62 [% END # /IF OpacPasswordChange %]
64 [% IF ( password_updated ) %]
65 <div class="alert alert-success">
66 <h1>Password updated</h1>
67 Your password has been changed
69 <form action="/cgi-bin/koha/opac-user.pl" method="post">
70 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
71 <p><input type="submit" class="btn" value="Return to your record" /></p>
73 [% END # /IF password_updated %]
74 </div> <!-- / #userpasswd -->
75 </div> <!-- / .span10 -->
76 </div> <!-- / .row-fluid -->
77 </div> <!-- / .container-fluid -->
78 </div> <!-- / .main -->
82 [% INCLUDE 'opac-bottom.inc' %]
83 [% BLOCK jsinclude %][% END %]