diff --git a/lib/ConsentHelper.php b/lib/ConsentHelper.php index 5e7164c411e932ae53cb1d1b65b4edcdafe5ac70..e241c3a7a6740164e6c497c5f8c53eb48bb81d65 100644 --- a/lib/ConsentHelper.php +++ b/lib/ConsentHelper.php @@ -120,12 +120,15 @@ class ConsentHelper { if (!empty($parsedJurisdiction)) { echo '<div class="alert alert-danger" role="alert">' . PHP_EOL; - if ($parsedJurisdiction === 'INT' || $parsedJurisdiction === 'EMBL') { + if ( + $parsedJurisdiction === self::JURISDICTION_EMBL + || $parsedJurisdiction === self::JURISDICTION_INTERNATIONAL_ORG + ) { echo ' <h6>This service is provided by an international organization.</h6>' . PHP_EOL; } else { - echo ' <h6>This service is ' . $parsedJurisdiction . '</h6>' . PHP_EOL; + echo ' <h6>This service is in ' . $parsedJurisdiction . '</h6>' . PHP_EOL; } - if ($parsedJurisdiction === 'EMBL') { + if ($parsedJurisdiction === self::JURISDICTION_EMBL) { echo ' <p>In order to access the requested services, the Life Science Login needs to transfer ' . 'your personal data to an international organization outside EU/EEA jurisdictions.<br/>' . '<i>Please be aware that upon transfer your personal data will be protected by <a href="' .