Koha/koha-tmpl/intranet-tmpl/prog/en/modules/members/member-password.tmpl
Chris Cormack 15356575c2 Fix so that if you edit a borrower from circ, or change a password from circ you are taken back there
Toolbar needs to be made for members too, its using the same one as circ, which isnt right, will do this next

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-12 17:37:37 -06:00

50 lines
2.4 KiB
Cheetah

<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
<title>Koha &rsaquo; Patrons &rsaquo; <!-- TMPL_IF NAME="newpassword" -->Password Updated <!-- TMPL_ELSE -->Update Password for <!-- TMPL_VAR NAME="surname" -->, <!-- TMPL_VAR NAME="firstname" --><!-- /TMPL_IF --></title>
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
</head>
<body>
<!-- TMPL_INCLUDE NAME="header.inc" -->
<!-- TMPL_INCLUDE NAME="patron-search.inc" -->
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a> &rsaquo; <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->"><!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --></a> &rsaquo; <!-- TMPL_IF NAME="newpassword" -->Password Updated<!-- TMPL_ELSE -->Change Username and/or Password<!-- /TMPL_IF --></div>
<div id="doc3" class="yui-t2">
<div id="bd">
<div id="yui-main">
<div class="yui-b">
<!-- TMPL_INCLUDE NAME="circ-toolbar.inc" -->
<!-- TMPL_IF NAME="newpassword" -->
<h1>Password Updated</h1>
<!-- TMPL_ELSE -->
<form method="post" action="/cgi-bin/koha/members/member-password.pl">
<input type="hidden" name="destination" value="<!-- TMPL_VAR NAME="destination" -->">
<input type="hidden" name="cardnumber" value="<!-- TMPL_VAR NAME="cardnumber" -->">
<!-- TMPL_IF NAME="warn" -->
<p class="warning">You have entered a User ID that already exists. Please choose another one.</p>
<!-- /TMPL_IF -->
<fieldset class="brief"><legend>Change Username and/or Password for <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --></legend>
<ol>
<li><label for="newuserid">New Username:</label>
<input type="hidden" name="member" value="<!-- TMPL_VAR NAME="member" -->" /><input id="newuserid" name="newuserid" size="20" value="<!-- TMPL_VAR NAME="userid" -->" /></li>
<li><label for="newpassword">New Password:</label>
<div class="hint">Koha cannot display existing passwords. Below is a randomly generated suggestion</div>
<input name="newpassword" id="newpassword" type="text" size="20" value="<!-- TMPL_VAR NAME="defaultnewpassword" -->" /></li>
</ol>
<fieldset class="action"><input type="submit" value="Save" /></fieldset>
</fieldset>
</form><!-- /TMPL_IF -->
</div>
</div>
<div class="yui-b">
<!-- TMPL_INCLUDE NAME="circ-menu.inc" -->
</div>
</div>
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->