X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;ds=sidebyside;f=koha-tmpl%2Fintranet-tmpl%2Fprog%2Fen%2Fmodules%2Fauth.tt;h=ef57d4ace26e5516eed39c4c60a20044f399244c;hb=8a118d01bf3e2415b02fd4a8a820203491a2af90;hp=cb00ccfef8fea777205fd3cd4051382ff738b777;hpb=16f1fffdd1f5d1c97db0bf664f83496864b7e24d;p=koha.git diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt index cb00ccfef8..ef57d4ace2 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt @@ -1,14 +1,18 @@ +[% USE Koha %] +[% USE Branches %] +[% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] Koha › [% IF ( nopermission ) %]Access denied[% END %] [% IF ( timed_out ) %]Session timed out[% END %] [% IF ( different_ip ) %]IP address change[% END %] - [% IF ( invalid_username_or_password ) %]Invalid username or password[% END %] + [% IF too_many_login_attempts %]This account has been locked. + [% ELSIF invalid_username_or_password %]Invalid username or password[% END %] [% IF ( loginprompt ) %]Log in to Koha[% END %] [% INCLUDE 'doc-head-close.inc' %] - +
@@ -16,7 +20,11 @@

Koha

[% IF ( nopermission ) %] -
Error: You do not have permission to access this page. Click to log out
+
+ Error: + You do not have permission to access this page. +
+

Log in as a different user

[% END %] [% IF ( timed_out ) %] @@ -28,15 +36,20 @@ [% END %] [% IF ( wrongip ) %] -
Error: Independent Branches and Autolocation are switched on and you are logging in with an IP address that doesn't match your branch.
+
Error: Autolocation is switched on and you are logging in with an IP address that doesn't match your library.
[% END %] -[% IF ( invalid_username_or_password ) %] +[% IF too_many_login_attempts %] +
Error: This account has been locked!
+ [% IF Koha.Preference('OpacResetPassword') && Koha.Preference('OpacBaseURL') %] + You must reset your password. + [% END %] +[% ELSIF invalid_username_or_password %]
Error: Invalid username or password
[% END %] -
+ [% FOREACH INPUT IN INPUTS %] @@ -48,27 +61,64 @@

-[% IF ( AutoLocation ) %][% ELSE %] -[% IF ( IndependantBranches ) %][% ELSE %] -

- -

[% END %] - [% END %] +[% UNLESS IndependentBranches %] +

+ + +

+[% END %] -

+

+[% IF ( casAuthentication ) %] +

Cas login

+ +[% IF ( invalidCasLogin ) %] + +

Sorry, the CAS login failed.

+[% END %] + +[% IF ( casServerUrl ) %] +

If you have a CAS account, please click here to login.

+[% END %] + +[% IF ( casServersLoop ) %] +

If you have a CAS account, please choose against which one you would like to authenticate:

+
+[% MACRO jsinclude BLOCK %] + +[% END %] + [% INCLUDE 'intranet-bottom.inc' %]