From 75b87b3a291dc2b0a9270a8a7c68a305fab8b4bd 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 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. Signed-off-by: Nicole Engard --- koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc | 1 - .../opac-tmpl/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 a38e85a..59b0464 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 @@ -