// Prepare content
$content = array(
'sender_userid' => $DATA['sender'],
- 'category' => getCategory($DATA['cat_id']),
+ 'cat_id' => $DATA['cat_id'],
'text' => $DATA['text'],
'url' => $DATA['url'],
- 'expiration' => createFancyTime(getPaymentPoints($DATA['payment_id'], "time"))
+ 'expiration' => createFancyTime(getPaymentPoints($DATA['payment_id'], 'time'))
);
// Yes we do, so we notify admin and sender about fully sent mail!
- sendAdminNotification(getMessage('ADMIN_SUBJ_SEND_DONE'), 'done-admin', $content, $userid);
+ sendAdminNotification('{--ADMIN_SEND_DONE_SUBJECT--}', 'done-admin', $content, $userid);
// Get sender's data
if (fetchUserData($DATA['sender'])) {
$mailText = loadEmailTemplate('done-member', $content, $DATA['sender']);
// Send it also waway
- sendEmail(getUserData('email'), '{--MEMBER_SUBJ_SEND_DONE--}', $mailText);
+ sendEmail(getUserData('email'), '{--MEMBER_SEND_DONE_SUBJECT--}', $mailText);
} // END - if
// Set status to SEND because we completely send it away
addPointsToJackpot($PB);
// Send mail out to admin
- sendAdminNotification(getMessage('ADMIN_BACK_JACKPOT') . ' (' . $userid . ')', 'back-admin', $content, 'admin');
+ sendAdminNotification('{--ADMIN_BACK_JACKPOT--}' . ' (' . $userid . ')', 'back-admin', $content, 'admin');
}
} // END - if
} // END - foreach