New programmer templates for the OPAC. Markup has been pared down, but structure...
[koha.git] / koha-tmpl / opac-tmpl / prog / en / opac-passwd.tmpl
1 <!-- TMPL_INCLUDE name="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryName" --> Catalog -- Change Your Password
2 <!-- TMPL_INCLUDE name="doc-head-close.inc" -->
3 <!-- TMPL_INCLUDE name="masthead-user.inc" -->
4 <!-- TMPL_INCLUDE name="navigation.inc" -->
5
6 <!-- CONTENT -->
7 <div id="main">
8
9
10
11 <!-- TMPL_IF NAME= "Error_messages" -->
12 <h3>There was a problem with your submission</h3>
13 <p class="error">
14         <!-- TMPL_IF NAME= "PassMismatch" -->
15         Passwords do not match.  Please re-type your new password.
16         <!-- /TMPL_IF -->
17         <!-- TMPL_IF NAME= "ShortPass" -->
18         Your new password must be at least 6 characters long
19         <!-- /TMPL_IF -->
20         <!-- TMPL_IF NAME= "WrongPass" -->
21         Your current password was entered incorrectly.  If this problem persists, please ask a librarian to re-set your password for you.       
22         <!-- /TMPL_IF --></p>
23 <!-- /TMPL_IF -->
24
25 <!-- TMPL_IF NAME= "Ask_data" -->
26 <h1>Change your Password</h1>
27 <form action="/cgi-bin/koha/opac-passwd.pl" name="mainform" id="mainform" method="get">
28 <div class="form">
29 <table><tr><th><label for="password">Current Password:</label></th><td><input type="password" id="Oldkey" size="25"  name="Oldkey" /></td></tr>
30 <tr><th><label for="Newkey">New Password:</label></th><td><input type="password" id="Newkey"  size="25"  name="Newkey" /></td></tr>
31 <tr>    <th><label for="Confirm">Re-Type New Password:</label></th><td><input type="password"  id="Confirm" size="25" name="Confirm" /></td></tr></table>
32         <p><input type="submit" value="Submit Changes" class="submit" /></p>
33 <!-- /TMPL_IF -->
34
35 <!-- TMPL_IF NAME= "password_updated" -->
36 <h1>Password Updated</h1>
37         Your password has been changed
38         <form action="/cgi-bin/koha/opac-user.pl" method="post">
39                 <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
40                 <p><input type="submit" class="icon back" value="Return to Your Record" /></p>
41         </form>
42 <!-- /TMPL_IF -->
43 </form>
44
45 </div>
46 <!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->