Koha/koha-tmpl/opac-tmpl/prog/en/modules/opac-passwd.tt
Frédéric Demians d7cbdd3d0b Bug 6825 OpacNav menu hide user menu on opac-user.pl page
This patch add a new syspref OpacNavBottom which is placed on all pages
after OpacNav. On Patron pages, specif patron links are placed between
OpacNav and OpacNavBottom, like this:

  OpacNav
  Patron links
  OpacNavBottom

To test:

  1 Apply this patch
  2 For RM, modify kohaversion.pl and updatedatabase.pl appropriately
  3 Test that OPAC pages are displayed as before, OpacNav on the left
  4 Test OPAC patron pages: OpacNav is as before displayed after patron
    links
  5 Split OpacNav between itself and OpacNavBottom
  6 Patron pages display patron links between OpacNav and OpacNavBottom

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
2011-10-14 11:20:06 +13:00

61 lines
2.8 KiB
Text

[% INCLUDE 'doc-head-open.inc' %][% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha Online[% END %] Catalog &rsaquo; Account for [% firstname %] [% surname %]
[% 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> <img src="[% themelang %]l../../images/caret.gif" width="16" height="16" alt="&gt;" border="0" /> 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' %]