/** * 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)); } } }
function blindCcReviewsToReviewers($args) { import('pages.sectionEditor.SubmissionCommentsHandler'); SubmissionCommentsHandler::blindCcReviewsToReviewers($args); }
/** * 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)); } } }