@@ -, +, @@ --- .../bootstrap/en/modules/opac-auth.tt | 196 ++++++++++-------- 1 file changed, 108 insertions(+), 88 deletions(-) --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt +++ a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt @@ -44,25 +44,24 @@
Sorry, your session has timed out. Please log in again.
-Sorry, your session has timed out. Please log in again.
+You are logging from a different IP address. Please log in again.
-You are logging from a different IP address. Please log in again.
+You entered an incorrect username or password. Please try again! But note that passwords are case sensitive[% IF Koha.Preference('FailedLoginAttempts') %] and that your account will be locked out after a fixed number of failed login attempts[% END %]. Please contact a library staff member if you continue to have problems.
-You entered an incorrect username or password. Please try again! But note that passwords are case sensitive[% IF Koha.Preference('FailedLoginAttempts') %] and that your account will be locked out after a fixed number of failed login attempts[% END %]. Please contact a library staff member if you continue to have problems.
+Sorry, your Shibboleth identity does not match a valid library identity.
- [% IF ( casAuthentication ) %] - [% IF ( invalidCasLogin ) %] - -Sorry, the CAS login also failed. If you have a local login you may use that below.
+ [% UNLESS ( Koha.Preference('opacShibOnly') ) %] + [% IF ( casAuthentication ) %] + [% IF ( invalidCasLogin ) %] + +Sorry, the CAS login also failed. If you have a local login you may use that below.
+ [% ELSE %] +If you have a CAS account, you may use that below.
+ [% END %] [% ELSE %] -If you have a CAS account, you may use that below.
+If you have a local account, you may use that below.
[% END %] - [% ELSE %] -If you have a local account, you may use that below.
[% END %]If you have a Shibboleth account, please click here to log in.
- [% END %] - [% IF ( casAuthentication ) %] -If you do not have a Shibboleth account, but you do have a CAS account, you can use CAS.
- [% ELSE %] -If you do not have a Shibboleth account, but you do have a local login, then you may login below.
- [% END %] - - [% END %] - - [% IF ( casAuthentication ) %] - [% IF ( shibbolethAuthentication ) %] - [% IF ( casServerUrl ) %] -+ [% ELSE %] +
If you have a Shibboleth account, please click here to log in.
+ [% END %] + [% UNLESS ( Koha.Preference('opacShibOnly') ) %] + [% IF ( casAuthentication ) %] +If you do not have a Shibboleth account, but you do have a CAS account, you can use CAS.
+ [% ELSE %] +If you do not have a Shibboleth account, but you do have a local login, then you may login below.
+ [% END %] [% END %] + [% END # / IF shibbolethAuthentication %] - [% IF ( casServersLoop ) %] -Please choose against which one you would like to authenticate:
-[% END %] -
Sorry, the CAS login failed.
- [% END %] + [% IF ( casServersLoop ) %] +Please choose against which one you would like to authenticate:
+If you have a CAS account, please click here to log in.
- [% END %] + [% IF ( invalidCasLogin ) %] + +
Sorry, the CAS login failed.
+ [% END %] - [% IF ( casServersLoop ) %] -If you have a CAS account, please choose against which one you would like to authenticate:
-If you have a CAS account, please click here to log in.
[% END %] -
Nothing
- [% ELSE %] -If you do not have a CAS account, but do have a local account, you can still log in:
- [% END %] + [% IF ( casServersLoop ) %] +If you have a CAS account, please choose against which one you would like to authenticate:
+Nothing
+ [% ELSE %] +If you do not have a CAS account, but do have a local account, you can still log in:
+ [% END %] + [% END # / IF casAuthentication %] + + [% IF ( Koha.Preference('GoogleOpenIDConnect') == 1 ) %] + [% IF ( invalidGoogleOpenIDConnectLogin ) %] +Sorry, your Google login failed. [% invalidGoogleOpenIDConnectLogin | html %]
+Please note that the Google login will only work if you are using the e-mail address registered with this library.
+If you want to, you can try to log in using a different account + [% END %] + Log in with Google +
If you do not have a Google account, but do have a local account, you can still log in:
+ [% END # / IF GoogleOpenIdConnect %] + [% END # / UNLESS opacShibOnly %] - [% IF ( Koha.Preference('GoogleOpenIDConnect') == 1 ) %] - [% IF ( invalidGoogleOpenIDConnectLogin ) %] -Sorry, your Google login failed. [% invalidGoogleOpenIDConnectLogin | html %]
-Please note that the Google login will only work if you are using the e-mail address registered with this library.
-If you want to, you can try to log in using a different account - [% END %] - Log in with Google -
If you do not have a Google account, but do have a local account, you can still log in:
- [% END %] + [% IF SCO_login or SCI_login %] + [% IF SCO_login %] + + + [% ELSE # / IF SCO_login or SCI_login %] + [% UNLESS ( Koha.Preference('opacShibOnly') ) %] + [% END # / UNLESS opacShibOnly %]If you don't have a library card, stop by your local library to sign up.
[% END # / IF Koha.Preference('OpacLoginInstructions') %] - [% IF PatronSelfRegistration && PatronSelfRegistrationDefaultCategory %]You may register here. - [% END %] + [% IF PatronSelfRegistration && PatronSelfRegistrationDefaultCategory %]You may register here.[% END %]