add configurable text at the start of the variety session registration form
This commit is contained in:
@@ -15,6 +15,9 @@ function booking_variety_regn_form($node, &$form_state)
|
||||
$form = array();
|
||||
$data = $node;
|
||||
|
||||
$markup_input = variable_get('booking_variety_regn_page');
|
||||
$markup_html = token_replace($markup_input['value'], booking_define_tokens());
|
||||
|
||||
// Query the variety timeslot table
|
||||
$timeslot_query = db_select('booking_variety_timeslots', 'v');
|
||||
$timeslot_query->condition('v.booking_eventid', $event->eid, '=')
|
||||
@@ -25,6 +28,11 @@ function booking_variety_regn_form($node, &$form_state)
|
||||
$form['#prefix'] = '<div id="booking_variety_form_wrapper">';
|
||||
$form['#suffix'] = '</div>';
|
||||
|
||||
$form['paragraph'] = array(
|
||||
'#type' => 'markup',
|
||||
'#markup' => $markup_html,
|
||||
);
|
||||
|
||||
$form['identity'] = array(
|
||||
'#type' => 'fieldset',
|
||||
'#title' => 'Enter Your Details',
|
||||
|
Reference in New Issue
Block a user