Skip to content

Commit

Permalink
Merge branch 'hotfix' of github.com:NETivism/netiCRM into hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
jimyhuang committed Jun 28, 2024
2 parents 9c1890f + cf2d6c3 commit 1bc28e6
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CRM/Mailing/Form/ForwardMailing.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,11 @@ function preProcess() {
$this->set('queue_id', $queue_id);
$this->set('job_id', $job_id);
$this->set('hash', $hash);
$obj = array(
'type' => 'markup',
'markup' => '<meta name="robots" content="noindex" />'.PHP_EOL,
);
CRM_Utils_System::addHTMLHead($obj);
}

/**
Expand Down
5 changes: 5 additions & 0 deletions CRM/Mailing/Form/Optout.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ function preProcess() {
$this->assign('display_name', $displayName);
$this->assign('email', $email);
$this->assign('confirm', $confirm);
$obj = array(
'type' => 'markup',
'markup' => '<meta name="robots" content="noindex" />'.PHP_EOL,
);
CRM_Utils_System::addHTMLHead($obj);
}

public function buildQuickForm() {
Expand Down
5 changes: 5 additions & 0 deletions CRM/Mailing/Form/Resubscribe.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ function preProcess() {
}
}
$this->assign('groupExist', $groupExist);
$obj = array(
'type' => 'markup',
'markup' => '<meta name="robots" content="noindex" />'.PHP_EOL,
);
CRM_Utils_System::addHTMLHead($obj);
}

public function buildQuickForm() {
Expand Down
5 changes: 5 additions & 0 deletions CRM/Mailing/Form/Unsubscribe.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ function preProcess() {
}
}
$this->assign('groupExist', $groupExist);
$obj = array(
'type' => 'markup',
'markup' => '<meta name="robots" content="noindex" />'.PHP_EOL,
);
CRM_Utils_System::addHTMLHead($obj);
}

public function buildQuickForm() {
Expand Down
5 changes: 5 additions & 0 deletions CRM/Mailing/Page/Confirm.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@ function run() {
list($displayName, $email) = CRM_Contact_BAO_Contact_Location::getEmailDetails($contact_id);
$this->assign('display_name', $displayName);
$this->assign('email', $email);
$obj = array(
'type' => 'markup',
'markup' => '<meta name="robots" content="noindex" />'.PHP_EOL,
);
CRM_Utils_System::addHTMLHead($obj);

return parent::run();
}
Expand Down

0 comments on commit 1bc28e6

Please sign in to comment.