/**
  * Thank the layout editor.
  */
 function thankLayoutEditor($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::thankLayoutEditor($submission, $send)) {
         Request::redirect(null, null, 'submissionEditing', $articleId);
     }
 }
 /**
  * Thank the layout editor.
  */
 function thankLayoutEditor($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::thankLayoutEditor($submission, $send)) {
         Request::redirect(null, null, 'submissionEditing', $articleId);
     }
 }