N°5037 - Setup: Add disclaimer about collected data

This commit is contained in:
Benjamin Dalsass
2022-06-14 10:54:25 +02:00
parent ca98066d68
commit b3ea1050eb

View File

@@ -2304,14 +2304,10 @@ CSS
$oPage->add('</fieldset>');
if ($this->NeedsRgpdConsent()) {
$oConfig = new Config(utils::GetConfigFilePath());
$oProductionEnv = new RunTimeEnvironment('production');
$oProductionEnv->InitDataModel($oConfig, true);
$sRgpdUrl = $oConfig->GetModuleSetting('itop-hub-connector', 'rgpd_url', '');
$oPage->add('<div id="rgpd_message" class="message message-info">iTop software is compliant with the processing of personal data according to the European General Data Protection Regulation (GDPR).
By installing iTop you agree that some information will be collected by Combodo to help you manage your instances and for statistical purposes.
This data remains anonymous until it is associated to a user account on iTop Hub.
List of collected data available in our Data privacy section.<p><a target="_blank" href="' . $sRgpdUrl . '">More informations here</a></p>');
List of collected data available in our Data privacy section.<p><a target="_blank" href="https://www.itophub.io/page/data-privacy">More informations here</a></p>');
$oPage->add('<input type="checkbox" id="rgpd_consent">');
$oPage->add('<label for="rgpd_consent">&nbsp;I accept the processing of my personal data</label>');
$oPage->add('</div>');