function thankFinalCopyedit($args) { $articleId = Request::getUserVar('articleId'); list($journal, $submission) = SubmissionEditHandler::validate($articleId, SECTION_EDITOR_ACCESS_EDIT); $send = Request::getUserVar('send') ? true : false; parent::setupTemplate(true, $articleId, 'editing'); if (SectionEditorAction::thankFinalCopyedit($submission, $send)) { Request::redirect(null, null, 'submissionEditing', $articleId); } }
function thankFinalCopyedit($args) { $articleId = Request::getUserVar('articleId'); $this->validate($articleId, SECTION_EDITOR_ACCESS_EDIT); $submission =& $this->submission; $send = Request::getUserVar('send') ? true : false; $this->setupTemplate(true, $articleId, 'editing'); if (SectionEditorAction::thankFinalCopyedit($submission, $send)) { Request::redirect(null, null, 'submissionEditing', $articleId); } }