diff --git a/application/common/Reviewer.php b/application/common/Reviewer.php index c8ee88d..5b90d8a 100644 --- a/application/common/Reviewer.php +++ b/application/common/Reviewer.php @@ -13,21 +13,22 @@ class Reviewer protected $aEmailConfig = [ 'reviewer' => [ - 'email_subject' => 'Invitation to review manuscript for {journal_title}-[{accept_sn}]', + 'email_subject' => 'Invitation to review a manuscript for {journal_title}-[{accept_sn}]', 'email_content' => ' - {accept_sn}
- Dear Dr {realname}

- The manuscript entitled “{article_title}“ has been submitted to the journal {journal_title}.The Editor-in-Chief would be most grateful if you could offer an opinion regarding its suitability for publication in the journal {journal_title}.
- Please bring into our knowledge if there is any potential Conflict of Interest. If you agree to review this manuscript, we ask you to complete your review and submit it by submission system within 14 days of receipt of the manuscript.

- Thank you for your consideration.
Look forward for your reply.
+ Dear Dr. {realname},

+ The manuscript entitled "{article_title}" has been submitted to the journal {journal_title}.The Editor-in-Chief would be most grateful if you could offer an opinion regarding its suitability for publication in the journal {journal_title}.

+ Abstract of the Manuscript:
+ {abstrart}

+ Please let us know if there are any potential conflicts of interest. If you agree to review this manuscript, we kindly request that you complete and submit your review through the submission system within 14 days of receiving the manuscript.
Click here to accept the invitation to review
Click here to decline the invitation to review
- Your username:{account}

+ Your username: {account}
Your original password:123456qwe, if you have reset the password, please login with the new one or click the "forgot password".
+ Thank you for your continued support of our journal.

Sincerely,
Editorial Office
Subscribe to this journal
{journal_title}
- Email:{journal_email}
- Website:{website}' + Email: {journal_email}
+ Website: {website}' ], 'editor' => [ 'email_subject' => 'Reminder: Request to Assign New Reviewers!', @@ -39,8 +40,8 @@ class Reviewer Editorial Office
Subscribe to this journal
{journal_title}
- Email:{journal_email}
- Website:{website}' + Email: {journal_email}
+ Website: {website}' ], 'revision' => [ 'email_subject' => 'Termination of Review Assignment for [{accept_sn}]', @@ -55,8 +56,8 @@ class Reviewer Editorial Office
Subscribe to this journal
{journal_title}
- Email:{journal_email}
- Website:{website}' + Email: {journal_email}
+ Website: {website}' ] ]; @@ -411,7 +412,7 @@ class Reviewer //查询送审中的文章 $aWhere = ['state' => 2,'article_id' => $iArticleId]; - $aArticle = Db::name('article')->field('article_id,user_id,journal_id,accept_sn,title')->where($aWhere)->find(); + $aArticle = Db::name('article')->field('article_id,user_id,journal_id,accept_sn,title,abstrart')->where($aWhere)->find(); if(empty($aArticle)){ return json_encode(array('status' => 3,'msg' => 'No articles requiring review were found' )); } @@ -448,6 +449,7 @@ class Reviewer $aSearch = [ '{accept_sn}' => empty($aArticle['accept_sn']) ? '' : $aArticle['accept_sn'],//accept_sn '{article_title}' => empty($aArticle['title']) ? '' : $aArticle['title'],//文章标题 + '{abstrart}' => empty($aArticle['abstrart']) ? '' : $aArticle['abstrart'],//文章摘要 '{journal_title}' => empty($aJournal['title']) ? '' : $aJournal['title'],//期刊名 '{journal_issn}' => empty($aJournal['issn']) ? '' : $aJournal['issn'], '{journal_email}' => empty($aJournal['email']) ? '' : $aJournal['email'], @@ -489,7 +491,6 @@ class Reviewer $net = Env::get('emailtemplete.net'); $net1 = str_replace("{{email}}",trim($email),$net); $content=$pre.$content.$net1; - //发送邮件 $memail = empty($aJournal['email']) ? '' : $aJournal['email']; $mpassword = empty($aJournal['epassword']) ? '' : $aJournal['epassword'];