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