This commit is contained in:
2017-06-27 20:28:46 +10:00
parent d0f8d44516
commit 4768fe7ba1
3 changed files with 35 additions and 4 deletions

View File

@@ -17,7 +17,7 @@ function booking_admin() {
'booking' => 'BookingMailSystem',
));
*/
//create the mysql view booking_person_view if necessary
try {
$sqlview_check = db_query("SELECT * FROM {booking_person_view}")->fetchAssoc();
@@ -34,6 +34,17 @@ function booking_admin() {
'#title' => 'Email Addresses',
'#collapsible' => TRUE,
);
$form['features']['booking_enable_html_mail'] = array(
'#type' => 'radios',
'#title' => t('Enable html emails?'),
'#description' => t('Turn this feature on for html based emails, otherwise plaintext emails will be used. HTML based emails will require a custom template file to be defined.'),
'#options' => array(
0 => t('No'),
t('Yes')
),
'#default_value' => variable_get('booking_enable_html_mail', 0)
);
$form['email']['booking_from_email'] = array(
'#type' => 'textfield',