bold text
This commit is contained in:
@@ -962,21 +962,21 @@ function booking_earlyaccess_feedback_callback($form, &$form_state) {
|
|||||||
//no matching code found so return an error
|
//no matching code found so return an error
|
||||||
if (! $code_check) {
|
if (! $code_check) {
|
||||||
watchdog('booking', "<pre>booking_earlyaccess_feedback_callback code check did not pass!</pre>");
|
watchdog('booking', "<pre>booking_earlyaccess_feedback_callback code check did not pass!</pre>");
|
||||||
return '<div id="booking_earlyaccess_feedback_wrapper"><span style="color:#8c2e0b;">You have entered an invalid early registration code. If you do not have a code, please wait until normal registrations open.</span><br /></div>';
|
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 />';
|
||||||
}
|
}
|
||||||
//matched a code so let the user know everything is fine
|
//matched a code so let the user know everything is fine
|
||||||
else {
|
else {
|
||||||
watchdog('booking', "<pre>booking_earlyaccess_feedback_callback code check matched</pre>");
|
watchdog('booking', "<pre>booking_earlyaccess_feedback_callback code check matched</pre>");
|
||||||
return '<div id="booking_earlyaccess_feedback_wrapper"><span style="color:#234600;">Your early registration code has been validated.</span><br /></div>';
|
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 />';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//no access code entered but we required one
|
//no access code entered but we required one
|
||||||
else {
|
else {
|
||||||
return '<div id="booking_earlyaccess_feedback_wrapper"><span style="color:#8c2e0b;">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>';
|
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 />';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
return '<div id="booking_earlyaccess_feedback_wrapper"><span style="color:#8c2e0b;">Unexpected condition.</span><br /></div>';
|
return '<div id="booking_earlyaccess_feedback_wrapper"><span style="color:#8c2e0b;font-weight: bold;">Unexpected condition.</span><br /></div><br />';
|
||||||
}
|
}
|
||||||
|
|
||||||
#fallback
|
#fallback
|
||||||
|
Reference in New Issue
Block a user