Koha/koha-tmpl/opac-tmpl/prog/en/opac-passwd.tmpl

47 lines
2.4 KiB
Cheetah

<!-- TMPL_INCLUDE name="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryNameTitle" --> Catalog -- Account for <!-- TMPL_LOOP name="BORROWER_INFO" --><!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" --><!-- /TMPL_LOOP -->
<!-- TMPL_INCLUDE name="doc-head-close.inc" -->
<!-- TMPL_INCLUDE name="masthead.inc" -->
<!-- TMPL_INCLUDE name="navigation.inc" -->
<!--CONTENT-->
<!-- TMPL_INCLUDE name="usermenu.inc" -->
<!-- TMPL_IF NAME= "Error_messages" -->
<h3>There was a problem with your submission</h3>
<p class="error">
<!-- TMPL_IF NAME= "PassMismatch" -->
Passwords do not match. Please re-type your new password.
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME= "ShortPass" -->
Your new password must be at least 6 characters long
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME= "WrongPass" -->
Your current password was entered incorrectly. If this problem persists, please ask a librarian to re-set your password for you.
<!-- /TMPL_IF -->
</p>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME= "Ask_data" -->
<!-- TMPL_IF NAME="OpacPasswordChange" -->
<h1>Change your Password</h1>
<form action="/cgi-bin/koha/opac-passwd.pl" name="mainform" id="mainform" method="get">
<p><label for="password">Current Password:</label><input type="password" id="Oldkey" size="25" name="Oldkey" /></p>
<p><label for="Newkey">New Password:</label><input type="password" id="Newkey" size="25" name="Newkey" /></p>
<p><label for="Confirm">Re-Type New Password:</label><input type="password" id="Confirm" size="25" name="Confirm" /></p>
<p><input type="submit" value="Submit Changes" class="submit" /></p>
<!-- TMPL_ELSE -->
<div class="error">You can't change your password.</div>
<!-- /TMPL_IF -->
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME= "password_updated" -->
<h1>Password Updated</h1>
Your password has been changed
<form action="/cgi-bin/koha/opac-user.pl" method="post">
<input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
<p><input type="submit" class="icon back" value="Return to Your Record" /></p>
</form>
<!-- /TMPL_IF -->
</form>
<!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->