/** * View proofread comments. * @param $article object */ function viewProofreadComments($article) { if (HookRegistry::call('SectionEditorAction::viewProofreadComments', array(&$article))) { return; } import('classes.submission.form.comment.ProofreadCommentForm'); $commentForm = new ProofreadCommentForm($article, Validation::isEditor() ? ROLE_ID_EDITOR : ROLE_ID_SECTION_EDITOR); $commentForm->initData(); $commentForm->display(); }
/** * View proofread comments. * @param $article object */ function viewProofreadComments($article) { if (!HookRegistry::call('LayoutEditorAction::viewProofreadComments', array(&$article))) { import("submission.form.comment.ProofreadCommentForm"); $commentForm = new ProofreadCommentForm($article, ROLE_ID_LAYOUT_EDITOR); $commentForm->initData(); $commentForm->display(); } }
/** * View proofread comments. * @param $article object */ function viewProofreadComments($article) { if (!HookRegistry::call('AuthorAction::viewProofreadComments', array(&$article))) { import('classes.submission.form.comment.ProofreadCommentForm'); $commentForm = new ProofreadCommentForm($article, ROLE_ID_AUTHOR); $commentForm->initData(); $commentForm->display(); } }
/** * View proofread comments. * @param $article object */ function viewProofreadComments($article) { if (!HookRegistry::call('ProofreaderAction::viewProofreadComments', array(&$article))) { import("submission.form.comment.ProofreadCommentForm"); $commentForm = new ProofreadCommentForm($article, ROLE_ID_PROOFREADER); $commentForm->initData(); $commentForm->display(); } }