/**
  * Email an editor decision comment.
  */
 function emailEditorDecisionComment()
 {
     $articleId = (int) Request::getUserVar('articleId');
     $submissionEditHandler = new SubmissionEditHandler();
     $submissionEditHandler->validate($articleId);
     $submission =& $submissionEditHandler->submission;
     $this->setupTemplate(true);
     if (SectionEditorAction::emailEditorDecisionComment($submission, Request::getUserVar('send'))) {
         if (Request::getUserVar('blindCcReviewers')) {
             SubmissionCommentsHandler::blindCcReviewsToReviewers();
         } else {
             Request::redirect(null, null, 'submissionReview', array($articleId));
         }
     }
 }
コード例 #2
0
 function blindCcReviewsToReviewers($args)
 {
     import('pages.sectionEditor.SubmissionCommentsHandler');
     SubmissionCommentsHandler::blindCcReviewsToReviewers($args);
 }
コード例 #3
0
 /**
  * Email an editor decision comment.
  */
 function emailEditorDecisionComment()
 {
     $articleId = (int) Request::getUserVar('articleId');
     list($journal, $submission) = SubmissionEditHandler::validate($articleId);
     parent::setupTemplate(true);
     if (SectionEditorAction::emailEditorDecisionComment($submission, Request::getUserVar('send'))) {
         if (Request::getUserVar('blindCcReviewers')) {
             SubmissionCommentsHandler::blindCcReviewsToReviewers();
         } else {
             Request::redirect(null, null, 'submissionReview', array($articleId));
         }
     }
 }