Loads of changes

This commit is contained in:
2014-02-24 23:53:12 +11:00
parent 66d4c89679
commit b710954bdd
10 changed files with 357 additions and 251 deletions

View File

@@ -20,6 +20,7 @@ function booking_tokens_admin() {
"<li>No alcohol or illicit drugs are allowed at [booking:eventname]. Not only do these do serious harm to you but can endanger others who attend. Only bring things that better yourself and others</li>\n" .
"<li>With regards to clothing, we ask that you wear modest clothing to all activities. There is a variety of activities during [booking:eventname], we would like you to be comfortable at all times. In light of this, pants may be worn throughout for all attendees - when packing, please keep in mind that modesty and moderate dress will be insisted upon</li>\n" .
"<li>In keeping with the spirit of [booking:eventname], please respect the facilities and equipment. We ask that you also respect the instruction of the Hosts and the Committee. Attendees must not leave the premises without the prior permission of the Secretary or Hosts.</li></ul>";
$default_aims_and_rules_checkbox = "I regularly attend CYC type activities/events, and I agree at all times to be an example of Christ and that my actions and words will be a light to those we meet.";
$default_into_regn_not_opened_text = t("<p><br />Hi. Welcome to the booking page for [booking:eventname], God willing.</p>\n" .
"<p>Bookings are not yet open. Please try again later.</p>" .
"<p>If you have any questions, please use the !contact form.</p>",
@@ -154,6 +155,12 @@ $booking_registration_intro_text = variable_get('booking_registration_intro_text
'#type' => 'textarea',
'#default_value' => variable_get('default_into_regn_closed_text', $default_into_regn_closed_text),
);
$form['registration']['booking_registration_aims_rules_checkbox'] = array(
'#title' => t('The text next to the aims and rules checkbox'),
'#type' => 'textarea',
'#description' => t(''),
'#default_value' => variable_get('booking_registration_aims_rules_checkbox', $default_aims_and_rules_checkbox),
);
$form['registration']['booking_registration_aims_rules_text'] = array(
'#title' => t('The aims and rules attendees must agree to'),
'#type' => 'textarea',
@@ -335,6 +342,12 @@ $booking_registration_intro_text = variable_get('booking_registration_intro_text
'#description' => t(''),
'#default_value' => variable_get('booking_email_waitinglist_text', $booking_email_waitinglist_text),
);
$form['emails']['booking_email_travel_complete_text'] = array(
'#title' => t('Email text to indicate a person has completed the travel form.'),
'#type' => 'textarea',
'#description' => t(''),
'#default_value' => variable_get('booking_email_travel_complete_text', ''),
);
$form['emails']['booking_email_paymentoutstanding_text'] = array(
'#title' => t('Email text to send a person reminding them of how much they owe'),
'#type' => 'textarea',