Adding travel form

This commit is contained in:
2014-02-15 20:59:28 +11:00
parent 7c252d4ff6
commit 01da63e694
7 changed files with 643 additions and 32 deletions

View File

@@ -280,7 +280,27 @@ $booking_registration_intro_text = variable_get('booking_registration_intro_text
'#description' => t(''),
'#default_value' => variable_get('booking_waitingpage_post_text', $booking_waitingpage_post_text),
);
/*Text for the Travel Form page*/
$form['travel'] = array(
'#type' => 'fieldset',
'#title' => 'Travel Form Text Definitions',
'#collapsible' => TRUE,
'#collapsed' => TRUE,
);
$form['travel']['booking_travelform_page'] = array(
'#title' => t('Text to use at the start of the travel form.'),
'#type' => 'textarea',
'#description' => t(''),
'#default_value' => variable_get('booking_travelform_page', ''),
);
$form['travel']['booking_travelform_completed_page'] = array(
'#title' => t('Text to use on the travel form if the form has already been submitted.'),
'#type' => 'textarea',
'#description' => t(''),
'#default_value' => variable_get('booking_travelform_completed_page', ''),
);
/*Text for emails*/
$form['emails'] = array(
'#type' => 'fieldset',