Hi,
It appears that Journal Signatures are added to all the email templates, even to ones which are sent from the reviewers like REVIEW_CONFIRM and REVIEW_DECLINE.
The fix for that would be:
lib/pkp/classes/submission/reviewer/ReviewerAction.inc.php
function getResponseEmail:
$email = new SubmissionMailTemplate($submission,$decline?'REVIEW_DECLINE':'REVIEW_CONFIRM');
TO:
$email = new SubmissionMailTemplate($submission,$decline?'REVIEW_DECLINE':'REVIEW_CONFIRM', null, null, false);
And
lib/pkp/classes/mail/MailTemplate.inc.php
function send()
Make adding the signature conditional:
if($this->includeSignature){
if (strstr($this->getBody(), '{$templateSignature}') === false) {
$this->setBody($this->getBody() . "<br/>" . $signature);
} else {
$this->setBody(str_replace('{$templateSignature}', $signature, $this->getBody()));
}
}
Thanks