disable to change password if syspref is set to '0'
This commit is contained in:
parent
5c5c2471e5
commit
43809f2a92
2 changed files with 8 additions and 0 deletions
|
@ -22,12 +22,16 @@
|
|||
<!-- /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" -->
|
||||
|
|
|
@ -22,12 +22,16 @@
|
|||
<!-- /TMPL_IF -->
|
||||
|
||||
<!-- TMPL_IF NAME= "Ask_data" -->
|
||||
<!-- TMPL_IF NAME="OpacPasswordChange" -->
|
||||
<h1>Modifiez votre mot de passe</h1>
|
||||
<form action="/cgi-bin/koha/opac-passwd.pl" name="mainform" id="mainform" method="get">
|
||||
<p><label for="password">Mot de passe actuel :</label><input type="password" id="Oldkey" size="25" name="Oldkey" /></p>
|
||||
<p><label for="Newkey">Nouveau mot de passe :</label><input type="password" id="Newkey" size="25" name="Newkey" /></p>
|
||||
<p><label for="Confirm">Confirmez votre nouveau mot de passe :</label><input type="password" id="Confirm" size="25" name="Confirm" /></p>
|
||||
<p><input type="submit" value="Proposer les modifications à la bibliothèque" class="submit"></p>
|
||||
<!-- TMPL_ELSE -->
|
||||
<div class="error">Vous ne pouvez pas changez votre mot de passe.</div>
|
||||
<!-- /TMPL_IF -->
|
||||
<!-- /TMPL_IF -->
|
||||
|
||||
<!-- TMPL_IF NAME= "password_updated" -->
|
||||
|
|
Loading…
Reference in a new issue