From 3f42c97ef22f3a079e56db1f51131883c329d6c4 Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Sat, 26 Aug 2017 19:13:44 +1000 Subject: [PATCH] change wrapper id --- booking.regn_form.inc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/booking.regn_form.inc b/booking.regn_form.inc index 44e2d86..3da64db 100644 --- a/booking.regn_form.inc +++ b/booking.regn_form.inc @@ -112,7 +112,7 @@ function booking_form($node, &$form_state, $inserting = FALSE, $early_access_all '#title' => 'Early Registration Code' ); $form['early-access']['booking_earlyaccess_feedback_wrapper'] = array( - '#markup' => '
', + '#markup' => '
', ); $form['early-access']['booking_earlyaccess_explanation'] = array( '#type' => 'container', @@ -962,25 +962,25 @@ function booking_earlyaccess_feedback_callback($form, &$form_state) { //no matching code found so return an error if (! $code_check) { watchdog('booking', "
booking_earlyaccess_feedback_callback code check did not pass!
"); - return '
You have entered an invalid early registration code. If you do not have a code, please wait until normal registrations open.
'; + return '
You have entered an invalid early registration code. If you do not have a code, please wait until normal registrations open.
'; } //matched a code so let the user know everything is fine else { watchdog('booking', "
booking_earlyaccess_feedback_callback code check matched
"); - return '
Your early registration code has been validated.
'; + return '
Your early registration code has been validated.
'; } } //no access code entered but we required one else { - return '
You must enter an early access code to register now. If you do not have a code, please wait until normal registrations open.
'; + return '
You must enter an early access code to register now. If you do not have a code, please wait until normal registrations open.
'; } } else { - return '
Unexpected condition.
'; + return '
Unexpected condition.
'; } #fallback - return '
'; + return '
'; } function booking_form_validate($form, &$form_state) {