This commit is contained in:
2017-06-27 08:47:11 +10:00
parent ec7a9ea0d8
commit c02e933cb8

View File

@@ -64,13 +64,14 @@ function booking_emails_admin() {
$form['emails']['booking_email_notification_text'] = array( $form['emails']['booking_email_notification_text'] = array(
'#title' => t('Notification Email'), '#title' => t('Notification Email'),
'#type' => 'textarea', '#type' => 'textarea',
'#format' => 'full_html', //'#format' => 'full_html',
'#description' => t('Email to send to the notification email address (defined in general configuration) when a person has registered'), '#description' => t('Email to send to the notification email address (defined in general configuration) when a person has registered'),
'#default_value' => variable_get('booking_email_notification_text', '[booking:regn-summary]'), '#default_value' => variable_get('booking_email_notification_text', '[booking:regn-summary]'),
); );
$form['emails']['booking_email_bookedin_text'] = array( $form['emails']['booking_email_bookedin_text'] = array(
'#title' => t('Registration Successful Email'), '#title' => t('Registration Successful Email'),
'#type' => 'textarea', //'#type' => 'textarea',
'#type' => 'text_format',
'#format' => 'full_html', '#format' => 'full_html',
'#description' => t('Text to use in an email indicating the person has booked in, paid their deposit and is not on the waiting list'), '#description' => t('Text to use in an email indicating the person has booked in, paid their deposit and is not on the waiting list'),
'#default_value' => variable_get('booking_email_bookedin_text', $default_email_text), '#default_value' => variable_get('booking_email_bookedin_text', $default_email_text),