missed one
This commit is contained in:
@@ -40,6 +40,11 @@ function _booking_registration_email($nid, $balance_payment, $manual = false) {
|
||||
}
|
||||
$params['subject'] = $subject;
|
||||
|
||||
//get the footer text
|
||||
$message_footer = variable_get('booking_html_mail_footer');
|
||||
$message_footer = isset($message_footer['format']) ? $message_footer['value'] : $message_footer;
|
||||
$message_footer = token_replace($message_footer, $tokens);
|
||||
|
||||
//Check if we should apply a HTML theme to the email text or just send a normal email
|
||||
if(variable_get('booking_enable_html_mail', 0) == 1) {
|
||||
$html_body = theme('booking_htmlmail_registration_mail',
|
||||
@@ -48,6 +53,7 @@ function _booking_registration_email($nid, $balance_payment, $manual = false) {
|
||||
'key' => 'registration_mail',
|
||||
'body' => _booking_registration_email_generate($node, $waiting_list, $balance_payment, $manual),
|
||||
'subject' => $subject,
|
||||
'footer' => $message_footer,
|
||||
));
|
||||
watchdog('booking_debug', "<pre>HTML body themed\n@info</pre>", array('@info' => print_r($html_body, true)));
|
||||
$params['body'] = $html_body;
|
||||
|
Reference in New Issue
Block a user