summaryrefslogtreecommitdiff
path: root/email.inc
diff options
context:
space:
mode:
authorSashi202019-05-29 15:40:23 +0530
committerSashi202019-05-29 15:40:23 +0530
commit355471fdcdd28f4f689a6dc736ed8f6d0b945a92 (patch)
tree98fbddeeb47c3d26378707236cceaf2d277ef9d1 /email.inc
parent7ddf0c9d6345ca84c34efd2266e84eddbcda8554 (diff)
downloaddwsim_flowsheet-355471fdcdd28f4f689a6dc736ed8f6d0b945a92.tar.gz
dwsim_flowsheet-355471fdcdd28f4f689a6dc736ed8f6d0b945a92.tar.bz2
dwsim_flowsheet-355471fdcdd28f4f689a6dc736ed8f6d0b945a92.zip
Replace user name with contributor name in email templates
Diffstat (limited to 'email.inc')
-rwxr-xr-xemail.inc36
1 files changed, 18 insertions, 18 deletions
diff --git a/email.inc b/email.inc
index da04468..64b7a8f 100755
--- a/email.inc
+++ b/email.inc
@@ -43,7 +43,7 @@ function dwsim_flowsheet_mail($key, &$message, $params)
));
$message['body'] = array(
'body' => t('
-Dear !user_name,
+Dear ' . $proposal_data->contributor_name . ',
Thank you for submitting proposal for the DWSIM Flowsheeting Project. The details of your proposal are as below.
@@ -59,8 +59,8 @@ Your proposal is under review. You will be notified via email about the approval
Best Wishes,
-!site_name Team,
-FOSSEE,IIT Bombay', array(
+!site_name Team
+FOSSEE, IIT Bombay', array(
'!site_name' => variable_get('site_name', ''),
'!user_name' => $user_data->name
), array(
@@ -101,7 +101,7 @@ FOSSEE,IIT Bombay', array(
));
$message['body'] = array(
'body' => t('
-Dear !user_name,
+Dear ' . $proposal_data->contributor_name . ',
We regret to inform you that your DWSIM Flowsheeting Project proposal with following details have been disapproved.
@@ -117,8 +117,8 @@ Thank you for participating in the DWSIM Flowsheeting Project. You are welcome t
Best Wishes,
-!site_name Team,
-FOSSEE,IIT Bombay', array(
+!site_name Team
+FOSSEE, IIT Bombay', array(
'!site_name' => variable_get('site_name', ''),
'!user_name' => $user_data->name
), array(
@@ -159,7 +159,7 @@ FOSSEE,IIT Bombay', array(
));
$message['body'] = array(
'body' => t('
-Dear !user_name,
+Dear ' . $proposal_data->contributor_name . ',
Congratulations! Your proposal for DWSIM Flowsheeting Project with the following details is approved.
@@ -173,8 +173,8 @@ You can upload your abstract using abstract submission interface.
Best Wishes,
-!site_name Team,
-FOSSEE,IIT Bombay', array(
+!site_name Team
+FOSSEE, IIT Bombay', array(
'!site_name' => variable_get('site_name', ''),
'!user_name' => $user_data->name
), array(
@@ -214,7 +214,7 @@ FOSSEE,IIT Bombay', array(
));
$message['body'] = array(
'body' => t('
-Dear !user_name,
+Dear ' . $proposal_data->contributor_name . ',
Your DWSIM flowsheet and abstract on the following process have been published successfully.
@@ -231,8 +231,8 @@ Thank you for participating in the DWSIM Flowsheeting Project. You are welcome t
Best Wishes,
-!site_name Team,
-FOSSEE,IIT Bombay', array(
+!site_name Team
+FOSSEE, IIT Bombay', array(
'!site_name' => variable_get('site_name', ''),
'!user_name' => $user_data->name
), array(
@@ -273,7 +273,7 @@ FOSSEE,IIT Bombay', array(
));
$message['body'] = array(
'body' => t('
-Dear !user_name,
+Dear ' . $proposal_data->contributor_name . ',
Your DWSIM Flowsheeting Project proposal with the following details has been deleted :
@@ -300,8 +300,8 @@ You can propose a new flowsheet project.
Best Wishes,
-!site_name Team,
-FOSSEE,IIT Bombay', array(
+!site_name Team
+FOSSEE, IIT Bombay', array(
'!site_name' => variable_get('site_name', ''),
'!user_name' => $user_data->name
), array(
@@ -327,7 +327,7 @@ FOSSEE,IIT Bombay', array(
$message['headers'] = $params['abstract_uploaded']['headers'];
$message['body'] = array(
'body' => t('
-Dear !user_name,
+Dear ' . $proposal_data->contributor_name . ',
You have successfully uploaded your DWSIM flowsheet and abstract with the following details.
@@ -339,8 +339,8 @@ You shall be notified via email after the flowsheet and abstract are reviewed an
Best Wishes,
-!site_name Team,
-FOSSEE,IIT Bombay', array(
+!site_name Team
+FOSSEE, IIT Bombay', array(
'!site_name' => variable_get('site_name', ''),
'!user_name' => $user_data->name
), array(