From e161061f73952d11628c10ca612de7d230577685 Mon Sep 17 00:00:00 2001 From: Art Rhyno Date: Tue, 19 Mar 2013 13:49:07 -0400 Subject: [PATCH] OWA CAS Aware Login Form This makes CAS an option directly on the login form, allowing use of the "eg_CAS_URL" cookie that redirects a user to a specific point in the catalogue. Signed-off-by: Art Rhyno --- .../templates_windsor/opac/parts/login/form.tt2 | 153 +++++++++++++++++++++ 1 file changed, 153 insertions(+) create mode 100644 Open-ILS/src/templates_windsor/opac/parts/login/form.tt2 diff --git a/Open-ILS/src/templates_windsor/opac/parts/login/form.tt2 b/Open-ILS/src/templates_windsor/opac/parts/login/form.tt2 new file mode 100644 index 0000000000..9cd795bd16 --- /dev/null +++ b/Open-ILS/src/templates_windsor/opac/parts/login/form.tt2 @@ -0,0 +1,153 @@ + + +[% IF ctx.login_failed_event %] +
+[% + IF ctx.login_failed_event.textcode == 'PATRON_CARD_INACTIVE'; + l("The barcode used to login is marked as inactive. Please contact your local library."); + ELSIF ctx.login_failed_event.textcode == 'PATRON_INACTIVE'; + l("This account has been deactivated. Please contact your local library."); + ELSE; + l("Login failed. The username or password provided was not valid. + Ensure Caps-Lock is off and try again or contact your local library."); + END; +%] +
+[% END %] + +
+
+
+ + + + + [% INCLUDE "opac/parts/login/help.tt2" %] + +
+
+
+
-- 2.11.0