diff --git a/comment_notify.module b/comment_notify.module index 3e0e28fc9ca65d443ed2b23b13ec435d9f4bdc05..2903dbed6ddb86652c3244899f88c9c815e05456 100644 --- a/comment_notify.module +++ b/comment_notify.module @@ -411,6 +411,7 @@ function _comment_notify_mailalert($comment) { $message['body'] = t( variable_get('node_notify_default_mailtext', AUTHOR_MAILTEXT), array( + '!cid' => $cid, '!commname' => $comment->name, '!commtext' => drupal_html_to_text($comment_text), '!commsubj' => $comment->subject, @@ -418,6 +419,7 @@ function _comment_notify_mailalert($comment) { '!node_title' => $node->title, '!node_teaser' => drupal_html_to_text($node_teaser), '!mission' => variable_get('site_mission', ''), + '!nid' => $nid, '!node_body' => drupal_html_to_text($node_body), '!name' => $author->name, '!site' => variable_get('site_name', 'drupal'), @@ -469,6 +471,7 @@ function _comment_notify_mailalert($comment) { $message['body'] = t( variable_get('comment_notify_default_mailtext', DEFAULT_MAILTEXT), array( + '!cid' => $cid, '!commname' => $comment->name, '!commtext' => drupal_html_to_text($comment_text), '!commsubj' => $comment->subject, @@ -476,6 +479,7 @@ function _comment_notify_mailalert($comment) { '!node_title' => $node->title, '!node_teaser' => drupal_html_to_text($node_teaser), '!mission' => variable_get('site_mission', ''), + '!nid' => $nid, '!node_body' => drupal_html_to_text($node_body), '!name' => $alert->name, '!site' => variable_get('site_name', 'drupal'), @@ -646,10 +650,12 @@ function comment_notify_settings() { '#description' => t( 'You can use the following variables to be replaced: