function submission($args) { $articleId = $args[0]; list($journal, $submission) = SubmissionCopyeditHandler::validate($articleId); parent::setupTemplate(true, $articleId); CopyeditorAction::copyeditUnderway($submission); $useLayoutEditors = $journal->getSetting('useLayoutEditors'); $templateMgr =& TemplateManager::getManager(); $templateMgr->assign_by_ref('submission', $submission); $templateMgr->assign_by_ref('copyeditor', $submission->getCopyeditor()); $templateMgr->assign_by_ref('initialCopyeditFile', $submission->getInitialCopyeditFile()); $templateMgr->assign_by_ref('editorAuthorCopyeditFile', $submission->getEditorAuthorCopyeditFile()); $templateMgr->assign_by_ref('finalCopyeditFile', $submission->getFinalCopyeditFile()); $templateMgr->assign_by_ref('proofAssignment', $submission->getProofAssignment()); $templateMgr->assign('useLayoutEditors', $useLayoutEditors); $templateMgr->assign('helpTopicId', 'editorial.copyeditorsRole.copyediting'); $templateMgr->display('copyeditor/submission.tpl'); }
function submission($args) { $articleId = $args[0]; $this->validate($articleId); $submission =& $this->submission; $this->setupTemplate(true, $articleId); $journal =& Request::getJournal(); CopyeditorAction::copyeditUnderway($submission); $useLayoutEditors = $journal->getSetting('useLayoutEditors'); $templateMgr =& TemplateManager::getManager(); $templateMgr->assign_by_ref('submission', $submission); $templateMgr->assign_by_ref('copyeditor', $submission->getUserBySignoffType('SIGNOFF_COPYEDITING_INITIAL')); $templateMgr->assign_by_ref('initialCopyeditFile', $submission->getFileBySignoffType('SIGNOFF_COPYEDITING_INITIAL')); $templateMgr->assign_by_ref('editorAuthorCopyeditFile', $submission->getFileBySignoffType('SIGNOFF_COPYEDITING_AUTHOR')); $templateMgr->assign_by_ref('finalCopyeditFile', $submission->getFileBySignoffType('SIGNOFF_COPYEDITING_FINAL')); $templateMgr->assign('useLayoutEditors', $useLayoutEditors); $templateMgr->assign('helpTopicId', 'editorial.copyeditorsRole.copyediting'); $templateMgr->display('copyeditor/submission.tpl'); }