test full_html for textareas
This commit is contained in:
@@ -86,24 +86,7 @@ function booking_form($node, &$form_state, $inserting = FALSE, $early_access_all
|
||||
//watchdog('booking', 'Booking registration form loading data from form submission: @info', array('@info' => var_export($form_state, TRUE)));
|
||||
}
|
||||
|
||||
//figure out if we're in the earlybird rate section
|
||||
/*
|
||||
$early = db_query("SELECT booking_earlybird_close FROM {booking_event} where eid = :eid",
|
||||
array(
|
||||
':eid' => $event->eid
|
||||
))->fetchObject();
|
||||
if ($early->booking_earlybird_close > time())
|
||||
$select_early = 1;
|
||||
else {
|
||||
$select_early = 0;
|
||||
//watchdog('booking', 'No longer accepting earlybird prices');
|
||||
}
|
||||
|
||||
$result = db_query("SELECT pid, booking_price_descrip, booking_price, booking_late_price FROM {booking_price} where booking_eventid = :eid " . "and booking_price_active=1 and booking_depositonly = 0", array(
|
||||
':eid' => $event->eid
|
||||
));
|
||||
*/
|
||||
|
||||
//figure out if we're in the earlybird rate section and use that for determining pricing
|
||||
$select_early = _booking_is_earlybird();
|
||||
|
||||
$price_query = db_select('booking_price', 'p');
|
||||
@@ -948,6 +931,8 @@ function booking_form($node, &$form_state, $inserting = FALSE, $early_access_all
|
||||
return $form;
|
||||
}
|
||||
|
||||
// @todo - validate the early access code here, booking_regn_earlyaccess_code
|
||||
|
||||
function booking_form_validate($form, &$form_state) {
|
||||
global $event;
|
||||
$node = $form_state['values']['form_id'];
|
||||
|
Reference in New Issue
Block a user