Clarify email definitions; split out registration form and node

This commit is contained in:
2015-03-18 10:54:28 +11:00
parent 8c4191eaf5
commit c78e4bedbc
7 changed files with 902 additions and 37 deletions

View File

@@ -146,8 +146,10 @@ function _booking_balance_payment_email($nid)
//calculate the remaining parameters
$to = $node->booking_email;
$subject = t('!event Payment Required', array('!event' => $event->booking_eventname));
$params['subject'] = $subject;
//$subject = t('!event Payment Required', array('!event' => $event->booking_eventname));
//$params['subject'] = $subject;
$params['subject'] = token_replace(variable_get('booking_email_paymentoutstanding_subject',
t('!event Payment Required', array('!event' => $event->booking_eventname))), $tokens);
$params['headers']['Bcc'] = "it@coadcorp.com, " . variable_get('booking_notify_email', variable_get('site_mail', ini_get('sendmail_from')));
//retrieve the body of the email for a married couple only if we're combining pricing for couples