This commit is contained in:
2016-05-25 23:00:30 +10:00
parent 89460e6157
commit 62ed20a354

View File

@@ -17,13 +17,16 @@ function booking_manual_email()
$email_options_array['travelrequired'] = 'Travel Form Required Email'; $email_options_array['travelrequired'] = 'Travel Form Required Email';
$email_options_array['travelcomplete'] = 'Travel Form Complete Email'; $email_options_array['travelcomplete'] = 'Travel Form Complete Email';
//add in the custom email types //add in the custom email types
for ($i = 1; $i <= variable_get('booking_custom_email_count','5'); $i++) for ($i = 1; $i <= variable_get('booking_custom_email_count','5'); $i++)
{ {
$email_options_array['custom' . $i] = variable_get('booking_email_subject_custom' . $i, $event->booking_eventname . ' custom ' . $i); $email_options_array['custom' . $i] = variable_get('booking_email_subject_custom' . $i, $event->booking_eventname . ' custom ' . $i);
} }
$form['#attached']['css'] = array(
drupal_get_path('module', 'booking') . '/booking.css',
);
$form['email-type'] = array( $form['email-type'] = array(
'#type' => 'select', '#type' => 'select',
'#title' => t('Email Type'), '#title' => t('Email Type'),