work on adding support for email attachments

This commit is contained in:
Nathan Coad
2018-06-16 19:59:11 +10:00
parent b0ea07b789
commit 39449c2cad
7 changed files with 549 additions and 494 deletions

View File

@@ -84,6 +84,15 @@ function booking_admin() {
'#maxlength' => 3,
'#default_value' => variable_get('booking_custom_email_count', '5')
);
$form['email']['booking_email_allowed_attachments'] = array(
'#type' => 'textfield',
'#title' => t('Allowed email attachments'),
'#description' => t("File extensions to allow as email attachments for the manual email page."),
'#size' => 60,
'#maxlength' => 150,
'#required' => TRUE,
'#default_value' => variable_get('booking_email_allowed_attachments', 'pdf docx'),
);
$form['attendee'] = array(
'#type' => 'fieldset',