Esempio n. 1
0
 /**
  * View copyedit comments.
  * @param $article object
  */
 function viewCopyeditComments($article)
 {
     if (!HookRegistry::call('CopyeditorAction::viewCopyeditComments', array(&$article))) {
         import('classes.submission.form.comment.CopyeditCommentForm');
         $commentForm = new CopyeditCommentForm($article, ROLE_ID_COPYEDITOR);
         $commentForm->initData();
         $commentForm->display();
     }
 }
Esempio n. 2
0
 /**
  * View copyedit comments.
  * @param $article object
  */
 function viewCopyeditComments($article)
 {
     if (HookRegistry::call('SectionEditorAction::viewCopyeditComments', array(&$article))) {
         return;
     }
     import('classes.submission.form.comment.CopyeditCommentForm');
     $commentForm = new CopyeditCommentForm($article, Validation::isEditor() ? ROLE_ID_EDITOR : ROLE_ID_SECTION_EDITOR);
     $commentForm->initData();
     $commentForm->display();
 }
Esempio n. 3
0
 /**
  * View copyedit comments.
  * @param $article object
  */
 function viewCopyeditComments($article)
 {
     if (!HookRegistry::call('AuthorAction::viewCopyeditComments', array(&$article))) {
         import("submission.form.comment.CopyeditCommentForm");
         $commentForm = new CopyeditCommentForm($article, ROLE_ID_AUTHOR);
         $commentForm->initData();
         $commentForm->display();
     }
 }