Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordiosmosis <diosmosis@users.noreply.github.com>2018-05-24 17:23:59 +0300
committerMatthieu Aubry <mattab@users.noreply.github.com>2018-05-24 17:23:59 +0300
commit5d0d5af2fad9f0e94dd2329b476eeebf112cdc42 (patch)
treef9aaa41cd25532e398fb954254a0cf833b76a80d /plugins/Installation/FormSuperUser.php
parent623bbf6fc331e5588e88666d0040857ae493f985 (diff)
Add privacy notice blurb next to professional services input. (#12979)
Diffstat (limited to 'plugins/Installation/FormSuperUser.php')
-rw-r--r--plugins/Installation/FormSuperUser.php6
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' => '&nbsp;&nbsp;' . $professionalServicesNewsletter,
+ 'content' => $privacyNotice . '&nbsp;&nbsp;' . $professionalServicesNewsletter
));
$this->addElement('submit', 'submit', array('value' => Piwik::translate('General_Next') . ' ยป', 'class' => 'btn'));