remove br outside div
This commit is contained in:
@@ -966,27 +966,29 @@ function booking_earlyaccess_feedback_callback($form, &$form_state) {
|
||||
//no matching code found so return an error
|
||||
if (! $code_check) {
|
||||
//watchdog('booking', "<pre>booking_earlyaccess_feedback_callback code check did not pass!</pre>");
|
||||
return '<div id="booking_earlyaccess_feedback_wrapper"><span style="color:#8c2e0b;font-weight: bold;">You have entered an invalid early registration code. If you do not have a code, please wait until normal registrations open.</span><br /></div><br />';
|
||||
return '<div id="booking_earlyaccess_feedback_wrapper"><span style="color:#8c2e0b;font-weight: bold;">' .
|
||||
'You have entered an invalid early registration code. If you do not have a code, please wait until normal registrations open.</span><br /><br /></div>';
|
||||
}
|
||||
//matched a code so let the user know everything is fine
|
||||
else {
|
||||
//watchdog('booking', "<pre>booking_earlyaccess_feedback_callback code check matched</pre>");
|
||||
return '<div id="booking_earlyaccess_feedback_wrapper"><span style="color:#234600;font-weight: bold;">Your early registration code has been validated.</span><br /></div><br />';
|
||||
return '<div id="booking_earlyaccess_feedback_wrapper"><span style="color:#234600;font-weight: bold;">Your early registration code has been validated.</span><br /><br /></div>';
|
||||
}
|
||||
}
|
||||
//no access code entered but we required one
|
||||
else {
|
||||
return '<div id="booking_earlyaccess_feedback_wrapper"><span style="color:#8c2e0b;font-weight: bold;">You must enter an early access code to register now. If you do not have a code, please wait until normal registrations open.</span><br /></div><br />';
|
||||
return '<div id="booking_earlyaccess_feedback_wrapper"><span style="color:#8c2e0b;font-weight: bold;">' .
|
||||
'You must enter an early access code to register now. If you do not have a code, please wait until normal registrations open.</span><br /><br /></div>';
|
||||
}
|
||||
}
|
||||
else {
|
||||
return '<div id="booking_earlyaccess_feedback_wrapper"><span style="color:#8c2e0b;font-weight: bold;">Unexpected condition.</span><br /></div><br />';
|
||||
return '<div id="booking_earlyaccess_feedback_wrapper"><span style="color:#8c2e0b;font-weight: bold;">Unexpected condition.</span><br /><br /></div>';
|
||||
}
|
||||
|
||||
#fallback
|
||||
return '<div id="booking_earlyaccess_feedback_wrapper">If you have been given an early-access code for registration, please enter it below. ' .
|
||||
'Without this code, your registration will not be accepted.<br />' .
|
||||
'<p><strong>NOTE: each early-access code can only be used once, so don\'t pass it along to your friends!</strong></p></div><br />';
|
||||
'<p><strong>NOTE: each early-access code can only be used once, so don\'t pass it along to your friends!</strong></p></div>';
|
||||
}
|
||||
|
||||
function booking_form_validate($form, &$form_state) {
|
||||
|
Reference in New Issue
Block a user