From 0b9f7c3043fc0c62ee49998f48fb15d71b3ae3d6 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 23 Oct 2014 09:50:38 -0400 Subject: [PATCH] Bug 5685 [OPAC follow-up] Validation of email address field Content-Type: text/plain; charset="utf-8" This patch makes a few changes to the way errors are handled in the OPAC: - The validation plugin has been moved from the global include file to the template itself. Since we aren't doing form validation on any other page yet it doesn't make sense to include it globally at this time. - The error message which appears if you have JavaScript disabled and have submitted invalid emails was styled in a non-standard way. - I have added in-page links to the error message which appears if you have JavaScript disabled so that you can click to jump to the field which contains the error. - I have modified the error message language slightly to make it (I hope) read better. --- .../bootstrap/en/includes/opac-bottom.inc | 1 - .../bootstrap/en/modules/opac-memberentry.tt | 11 ++++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc index 886467d..596341a 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc @@ -77,7 +77,6 @@ -