View | Details | Raw Unified | Return to bug 22561
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt (-2 / +6 lines)
Lines 809-817 Link Here
809
                    <fieldset class="rows" id="memberentry_password">
809
                    <fieldset class="rows" id="memberentry_password">
810
                        <legend id="contact_legend">Password</legend>
810
                        <legend id="contact_legend">Password</legend>
811
                        <div class="alert alert-info">
811
                        <div class="alert alert-info">
812
                            <p>Your password must be at least [% Koha.Preference('minPasswordLength') | html %] characters long.</p>
812
                            [% IF ( Koha.Preference('RequireStrongPassword') ) %]
813
                                <p>Your password must contain at least [% Koha.Preference('minPasswordLength') | html %] characters, including UPPERCASE, lowercase and numbers.</p>
814
                            [% ELSE %]
815
                                <p>Your password must be at least [% Koha.Preference('minPasswordLength') | html %] characters long.</p>
816
                            [% END %]
813
                            [% UNLESS mandatory.defined('password') %]
817
                            [% UNLESS mandatory.defined('password') %]
814
                                <div>If you do not enter a password a system generated password will be created.</div>
818
                                <p>If you do not enter a password a system generated password will be created.</p>
815
                            [% END %]
819
                            [% END %]
816
                        </div>
820
                        </div>
817
821
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-passwd.tt (-1 / +6 lines)
Lines 54-62 Link Here
54
                    [% IF ( OpacPasswordChange ) %]
54
                    [% IF ( OpacPasswordChange ) %]
55
                        [% IF ( Ask_data ) %]
55
                        [% IF ( Ask_data ) %]
56
56
57
57
                            <form action="/cgi-bin/koha/opac-passwd.pl" name="mainform" id="mainform" method="post" autocomplete="off">
58
                            <form action="/cgi-bin/koha/opac-passwd.pl" name="mainform" id="mainform" method="post" autocomplete="off">
58
                                <fieldset>
59
                                <fieldset>
59
                                    [% UNLESS ( ShortPass ) %]<div class="alert alert-info">Your password must be at least [% minPasswordLength | html %] characters long.</div>[% END %]
60
                                    [% IF ( Koha.Preference('RequireStrongPassword') ) %]
61
                                        <div class="alert alert-info">Your password must contain at least [% Koha.Preference('minPasswordLength') | html %] characters, including UPPERCASE, lowercase and numbers.</div>
62
                                    [% ELSE %]
63
                                        <div class="alert alert-info">Your password must be at least [% Koha.Preference('minPasswordLength') | html %] characters long.</div>
64
                                    [% END %]
60
                                    <label for="Oldkey">Current password:</label> <input type="password" id="Oldkey" size="25"  name="Oldkey" />
65
                                    <label for="Oldkey">Current password:</label> <input type="password" id="Oldkey" size="25"  name="Oldkey" />
61
                                    <label for="Newkey">New password:</label> <input type="password" id="Newkey"  size="25"  name="Newkey" />
66
                                    <label for="Newkey">New password:</label> <input type="password" id="Newkey"  size="25"  name="Newkey" />
62
                                    <label for="Confirm">Re-type new password:</label> <input type="password"  id="Confirm" size="25" name="Confirm" />
67
                                    <label for="Confirm">Re-type new password:</label> <input type="password"  id="Confirm" size="25" name="Confirm" />
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-password-recovery.tt (-3 / +6 lines)
Lines 103-109 Link Here
103
                    <form action="/cgi-bin/koha/opac-password-recovery.pl" method="post" autocomplete="off">
103
                    <form action="/cgi-bin/koha/opac-password-recovery.pl" method="post" autocomplete="off">
104
                        <input type="hidden" name="koha_login_context" value="opac" />
104
                        <input type="hidden" name="koha_login_context" value="opac" />
105
                        <fieldset>
105
                        <fieldset>
106
                            <div class="alert alert-info">The password must contain at least [% minPasswordLength | html %] characters.</div>
106
                            [% IF ( Koha.Preference('RequireStrongPassword') ) %]
107
                                <div class="alert alert-info">Your password must contain at least [% Koha.Preference('minPasswordLength') | html %] characters, including UPPERCASE, lowercase and numbers.</div>
108
                            [% ELSE %]
109
                                <div class="alert alert-info">Your password must be at least [% Koha.Preference('minPasswordLength') | html %] characters long.</div>
110
                            [% END %]
107
                            <label for="password">New password:</label>
111
                            <label for="password">New password:</label>
108
                            <input type="password" id="password" size="40" name="password" />
112
                            <input type="password" id="password" size="40" name="password" />
109
                            <label for="repeatPassword">Confirm new password:</label>
113
                            <label for="repeatPassword">Confirm new password:</label>
Lines 122-128 Link Here
122
                            <br/>Please click the link in this email to finish the process of resetting your password.
126
                            <br/>Please click the link in this email to finish the process of resetting your password.
123
                            <br/>This link is valid for 2 days starting now.
127
                            <br/>This link is valid for 2 days starting now.
124
                        </p>
128
                        </p>
125
                        <a href="/cgi-bin/koha/opac-main.pl"">Return to the main page</a>
129
                        <a href="/cgi-bin/koha/opac-main.pl">Return to the main page</a>
126
                    </div>
130
                    </div>
127
[% ELSIF (password_reset_done) %]
131
[% ELSIF (password_reset_done) %]
128
                    <div class="alert alert-success">
132
                    <div class="alert alert-success">
129
- 

Return to bug 22561