Clarify email definitions; split out registration form and node
This commit is contained in:
@@ -241,10 +241,17 @@ function booking_admin() {
|
||||
$form['regn_options']['booking_enable_medicare'] = array (
|
||||
'#type' => 'radios',
|
||||
'#title' => t('Enable Medicare requirement?'),
|
||||
'#description' => t('Select whether to require bookings to enter medicare details.'),
|
||||
'#description' => t('Select whether to include medicare details on registration form.'),
|
||||
'#options' => array (0 => t('No'), t('Yes')),
|
||||
'#default_value' => variable_get('booking_enable_medicare', 1),
|
||||
);
|
||||
$form['regn_options']['booking_enforce_medicare_verification'] = array (
|
||||
'#type' => 'radios',
|
||||
'#title' => t('Force Medicare verification?'),
|
||||
'#description' => t('Prevent people from registering if they do not enter a valid medicare card? (Only applies if medicare details are enabled).'),
|
||||
'#options' => array (0 => t('No'), t('Yes')),
|
||||
'#default_value' => variable_get('booking_enforce_medicare_verification', 1),
|
||||
);
|
||||
$form['regn_options']['booking_tshirts_text_definition'] = array (
|
||||
'#type' => 'textfield',
|
||||
'#title' => t('Clothes Sizing Text Definition'),
|
||||
@@ -361,13 +368,13 @@ function booking_manual_email()
|
||||
$group_text = "";
|
||||
$prefix = t("<p>Send a manual email to people registered for this event.</p>");
|
||||
$email_options_array = array();
|
||||
$email_options_array['registration'] = 'Manual Registration';
|
||||
$email_options_array['travelrequired'] = 'Manual Travel Form Required';
|
||||
$email_options_array['balance'] = 'Manual Balance Outstanding';
|
||||
$email_options_array['complete'] = 'Manual Payment Complete';
|
||||
$email_options_array['travelcomplete'] = 'Manual Travel Form Complete';
|
||||
$email_options_array['withdrawal'] = 'Manual Withdrawal Processed';
|
||||
$email_options_array['missedpayment'] = 'Manual Missed Payment Email';
|
||||
$email_options_array['registration'] = 'Registration Successful Email';
|
||||
$email_options_array['balance'] = 'Balance Outstanding Email';
|
||||
$email_options_array['complete'] = 'Payment Complete Email';
|
||||
$email_options_array['withdrawal'] = 'Withdrawal Processed Email';
|
||||
$email_options_array['missedpayment'] = 'Missed Payment Email';
|
||||
$email_options_array['travelrequired'] = 'Travel Form Required Email';
|
||||
$email_options_array['travelcomplete'] = 'Travel Form Complete Email';
|
||||
|
||||
//add in the custom email types
|
||||
for ($i = 1; $i <= variable_get('booking_custom_email_count','5'); $i++)
|
||||
|
Reference in New Issue
Block a user