diff options
author | Sashi20 | 2019-05-29 16:19:00 +0530 |
---|---|---|
committer | GitHub | 2019-05-29 16:19:00 +0530 |
commit | 5884ad7ce0931b8c68ba6bb59041d70652cb2561 (patch) | |
tree | 98fbddeeb47c3d26378707236cceaf2d277ef9d1 /abstract_bulk_approval.inc | |
parent | 8b776450608a614d4e440ac11fefb2b7cb9151e5 (diff) | |
parent | 355471fdcdd28f4f689a6dc736ed8f6d0b945a92 (diff) | |
download | dwsim_flowsheet-5884ad7ce0931b8c68ba6bb59041d70652cb2561.tar.gz dwsim_flowsheet-5884ad7ce0931b8c68ba6bb59041d70652cb2561.tar.bz2 dwsim_flowsheet-5884ad7ce0931b8c68ba6bb59041d70652cb2561.zip |
Merge pull request #37 from Sashi20/drupal_7.x
Replace user name with contributor name in email templates
Diffstat (limited to 'abstract_bulk_approval.inc')
-rwxr-xr-x | abstract_bulk_approval.inc | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/abstract_bulk_approval.inc b/abstract_bulk_approval.inc index 5a56682..f05693e 100755 --- a/abstract_bulk_approval.inc +++ b/abstract_bulk_approval.inc @@ -132,7 +132,7 @@ function dwsim_flowsheet_abstract_bulk_approval_form_submit($form, &$form_state) $email_body = array( 0 => t(' -Dear !user_name, +Dear ' . $user_info->contributor_name . ', Congratulations! Your DWSIM flowsheet and abstract with the following details have been approved. @@ -148,8 +148,8 @@ Note: It will take upto 30 days from the time we receive your forms, to process 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 )) @@ -202,7 +202,7 @@ FOSSEE,IIT Bombay', array( $email_body = array( 0 => t(' -Dear !user_name, +Dear ' . $user_info->contributor_name . ', Your all the uploaded flowsheeting project with Title : ' . $user_info->project_title . ' have been marked as pending to be reviewed. @@ -210,8 +210,8 @@ You will be able to see the flowsheeting project after approved by one of our re 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 )) @@ -259,23 +259,23 @@ FOSSEE,IIT Bombay', array( $email_body = array( 0 => t(' - Dear !user_name, +Dear ' . $user_info->contributor_name . ', - We regret to inform you that your DWSIM flowsheet and abstract with the following details have been disapproved: +We regret to inform you that your DWSIM flowsheet and abstract with the following details have been disapproved: - Full Name: ' . $user_info->name_title . ' ' . $user_info->contributor_name . ' - Project Title: ' . $user_info->project_title . ' - Name of compound for which process development is carried out : ' . $user_info->process_development_compound_name . ' - Reason for dis-approval: ' . $form_state['values']['message'] . ' +Full Name: ' . $user_info->name_title . ' ' . $user_info->contributor_name . ' +Project Title: ' . $user_info->project_title . ' +Name of compound for which process development is carried out : ' . $user_info->process_development_compound_name . ' +Reason for dis-approval: ' . $form_state['values']['message'] . ' - Best Wishes, +Best Wishes, - !site_name Team, - FOSSEE,IIT Bombay', array( - '!site_name' => variable_get('site_name', ''), - '!user_name' => $user_data->name - )) - ); +!site_name Team +FOSSEE, IIT Bombay', array( + '!site_name' => variable_get('site_name', ''), + '!user_name' => $user_data->name + )) + ); $email_to = $user_data->mail; $from = variable_get('dwsim_flowsheet_from_email', ''); $bcc = variable_get('dwsim_flowsheet_emails', ''); |