Koha/koha-tmpl/opac-tmpl/prog/en/modules/opac-passwd.tt
Owen Leonard 5e61a800db Bug 7500 [FOLLOW-UP][Missing images] Use CSS Sprites for faster page loading
- Adds shelf browser navigational arrows to the main sprite.
- Removes "caret.gif" (a sort of breadcrumbs separator in the OPAC) and replaces
  it with a similar Unicode arrow entity.
- Replaces item-bullet.gif (a custom list bullet used in the Cart) with data URI
  encoding the image in the CSS

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
2012-09-13 17:52:06 +02:00

61 lines
2.7 KiB
Text

[% INCLUDE 'doc-head-open.inc' %][% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; Change your password
[% INCLUDE 'doc-head-close.inc' %]
</head>
<body id="opac-passwd">
<div id="doc3" class="yui-t1">
<div id="bd">
[% INCLUDE 'masthead.inc' %]
<div id="yui-main">
<div class="yui-b"><div class="yui-g">
<div id="userpasswd" class="container">
<h3><a href="/cgi-bin/koha/opac-user.pl">[% firstname %] [% surname %]'s account</a> &#8674; Change your password </h3>
[% IF ( Error_messages ) %]
<div class="dialog error"> <h3>There was a problem with your submission</h3>
<p>
[% IF ( PassMismatch ) %]
Passwords do not match. Please re-type your new password.
[% END %]
[% IF ( ShortPass ) %]
Your new password must be at least [% minpasslen %] characters long
[% END %]
[% IF ( WrongPass ) %]
Your current password was entered incorrectly. If this problem persists, please ask a librarian to re-set your password for you.
[% END %]
</p></div>
[% END %]
[% IF ( Ask_data ) %]
[% IF ( OpacPasswordChange ) %]
<form action="/cgi-bin/koha/opac-passwd.pl" name="mainform" id="mainform" method="post"><fieldset class="brief">
[% UNLESS ( ShortPass ) %]<div class="hint">Your password must be at least [% minpasslen %] characters long.</div>[% END %]
<ol> <li><label for="Oldkey">Current password:</label> <input type="password" id="Oldkey" size="25" name="Oldkey" /></li>
<li><label for="Newkey">New password:</label> <input type="password" id="Newkey" size="25" name="Newkey" /></li>
<li><label for="Confirm">Re-type new password:</label> <input type="password" id="Confirm" size="25" name="Confirm" /></li></ol></fieldset>
<fieldset class="action"><input type="submit" value="Submit changes" class="submit" /> <a href="/cgi-bin/koha/opac-user.pl" class="cancel">Cancel</a></fieldset>
</form>
[% ELSE %]
<div class="dialog alert">You can't change your password.</div>
[% END %]
[% END %]
[% IF ( password_updated ) %]
<div class="dialog message"><h1>Password updated</h1>
Your password has been changed</div>
<form action="/cgi-bin/koha/opac-user.pl" method="post">
<input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
<p><input type="submit" class="icon back" value="Return to your record" /></p>
</form>
[% END %]
</div>
</div>
</div>
</div>
<div class="yui-b">
<div id="leftmenus" class="container">
[% INCLUDE 'navigation.inc' IsPatronPage=1 %]
</div>
</div>
</div>
[% INCLUDE 'opac-bottom.inc' %]