diff options
author | diosmosis <diosmosis@users.noreply.github.com> | 2018-05-24 17:23:59 +0300 |
---|---|---|
committer | Matthieu Aubry <mattab@users.noreply.github.com> | 2018-05-24 17:23:59 +0300 |
commit | 5d0d5af2fad9f0e94dd2329b476eeebf112cdc42 (patch) | |
tree | f9aaa41cd25532e398fb954254a0cf833b76a80d /plugins/Installation/FormSuperUser.php | |
parent | 623bbf6fc331e5588e88666d0040857ae493f985 (diff) |
Add privacy notice blurb next to professional services input. (#12979)
Diffstat (limited to 'plugins/Installation/FormSuperUser.php')
-rw-r--r-- | plugins/Installation/FormSuperUser.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/Installation/FormSuperUser.php b/plugins/Installation/FormSuperUser.php index 2c440b5160..7c24bddcaa 100644 --- a/plugins/Installation/FormSuperUser.php +++ b/plugins/Installation/FormSuperUser.php @@ -62,9 +62,13 @@ class FormSuperUser extends QuickForm2 array("<a href='https://matomo.org/support/?pk_medium=App_Newsletter_link&pk_source=Piwik_App&pk_campaign=App_Installation' style='color:#444;' rel='noreferrer' target='_blank'>", "</a>") ); + $privacyNoticeLink = '<a href="https://matomo.org/privacy-policy/" target="_blank" rel="noreferrer noopener">'; + $privacyNotice = '<div class="form-help email-privacy-notice">' . Piwik::translate('Installation_EmailPrivacyNotice', [$privacyNoticeLink, '</a>']) + . '</div>'; + $this->addElement('checkbox', 'subscribe_newsletter_professionalservices', null, array( - 'content' => ' ' . $professionalServicesNewsletter, + 'content' => $privacyNotice . ' ' . $professionalServicesNewsletter )); $this->addElement('submit', 'submit', array('value' => Piwik::translate('General_Next') . ' ยป', 'class' => 'btn')); |