Lines 778-800
Link Here
|
778 |
</fieldset> |
778 |
</fieldset> |
779 |
[% END %] |
779 |
[% END %] |
780 |
|
780 |
|
781 |
[% UNLESS action == 'edit' %] |
781 |
[% UNLESS action == 'edit' || hidden.defined('password') %] |
782 |
<fieldset class="rows" id="memberentry_password"> |
782 |
<fieldset class="rows" id="memberentry_password"> |
783 |
<legend id="contact_legend">Contact information</legend> |
783 |
<legend id="contact_legend">Password</legend> |
784 |
[% UNLESS hidden.defined('password') %] |
784 |
[% IF Koha.Preference('minPasswordLength') || !mandatory.defined('password') %] |
785 |
<div class="alert alert-info">Your password must be at least [% minpassw %] characters long. |
785 |
<div class="alert alert-info"> |
|
|
786 |
[% IF Koha.Preference('minPasswordLength') %] |
787 |
<p>Your password must be at least [% Koha.Preference('minPasswordLength') %] characters long.</p> |
788 |
[% END %] |
789 |
[% UNLESS mandatory.defined('password') %] |
790 |
If you do not enter a password a system generated password will be created. |
791 |
[% END %] |
792 |
</div> |
793 |
[% END %] |
794 |
|
786 |
[% IF mandatory.defined('password') %] |
795 |
[% IF mandatory.defined('password') %] |
787 |
<br>You must enter a password!</div> |
|
|
788 |
<ol> |
796 |
<ol> |
789 |
<li><label for="borrower_password" class="required">Password</label> |
797 |
<li><label for="borrower_password" class="required">Password</label> |
790 |
<input type="text" name="borrower_password" id="password" /> |
798 |
<input type="text" name="borrower_password" id="password" /> |
|
|
799 |
<span class="required">Required</span> |
791 |
</li> |
800 |
</li> |
792 |
<li><label for="borrower_password2" class="required">Confirm password</label> |
801 |
<li><label for="borrower_password2" class="required">Confirm password</label> |
793 |
<input type="text" name="borrower_password2" id="password2" /> |
802 |
<input type="text" name="borrower_password2" id="password2" /> |
|
|
803 |
<span class="required">Required</span> |
794 |
</li> |
804 |
</li> |
795 |
</ol> |
805 |
</ol> |
796 |
[% ELSE %] |
806 |
[% ELSE %] |
797 |
<br>If you do not enter a password a system generated password will be created</div> |
|
|
798 |
<ol> |
807 |
<ol> |
799 |
<li><label for="borrower_password">Password</label> |
808 |
<li><label for="borrower_password">Password</label> |
800 |
<input type="text" name="borrower_password" id="password" /> |
809 |
<input type="text" name="borrower_password" id="password" /> |
Lines 804-810
Link Here
|
804 |
</li> |
813 |
</li> |
805 |
</ol> |
814 |
</ol> |
806 |
[% END %] |
815 |
[% END %] |
807 |
[% END %] |
|
|
808 |
</fieldset> |
816 |
</fieldset> |
809 |
|
817 |
|
810 |
<fieldset class="rows" id="memberentry_captcha"> |
818 |
<fieldset class="rows" id="memberentry_captcha"> |