diff --git a/themes/fid_bbi/scss/compiled.scss b/themes/fid_bbi/scss/compiled.scss index fc525853f529363f0640264986e59c79a1c9c297..919ae9fa311d9dfd8cdc4a6581a0977f96e6c851 100644 --- a/themes/fid_bbi/scss/compiled.scss +++ b/themes/fid_bbi/scss/compiled.scss @@ -614,3 +614,11 @@ button.search-filter-toggle { } } +/* #15914 opt-out iframe for user tracking*/ +#matomo { + border: 0; + margin-left:-.5rem; + padding: 0; + width: 100%; +} + diff --git a/themes/fid_bbi/templates/fid/user/policy-de.phtml b/themes/fid_bbi/templates/fid/user/policy-de.phtml index 0424761e7bd653229603bddab235895a61798395..2bf8f02fa3e60b85aaf86fd8e973a1d4bc371dc6 100644 --- a/themes/fid_bbi/templates/fid/user/policy-de.phtml +++ b/themes/fid_bbi/templates/fid/user/policy-de.phtml @@ -491,10 +491,17 @@ Hier können Sie das Tracking durch Matomo ein- oder ausschalten, sofern diese Einstellung nicht bereits automatisch durch die Einstellungen Ihres Browsers bzw. eines Adblockers gesteuert wird.<br/> - <iframe style="border: 0; height: 150px; width: 100%; margin-left:-.5rem" id="piwk" name="piwk" - onLoad="addCSS()" - src="https://piwik.ub.uni-leipzig.de/index.php?module=CoreAdminHome&action=optOut&language={$userLang}&idSite=6"></iframe> - + <?= $this->context($this)->renderInContext( + 'matomo.phtml', + [ + 'backgroundColor' => 'ffffff', + 'fontColor' => '8A141A', + 'fontFamily' => urlencode("\"Helvetica Neue\",Helvetica,Roboto,Arial,sans-serif"), + 'fontSize' => '15px', + 'language' => $this->layout()->userLang + ]); + ?> + <br/> Nähere Informationen zu den Privatsphäreeinstellungen der Matomo Software finden Sie unter folgendem Link: <a href="https://matomo.org/docs/privacy/">https://matomo.org/docs/privacy/</a>.<br/> </p> @@ -775,4 +782,4 @@ </li> </ol> <br/> -</div> +</div> \ No newline at end of file diff --git a/themes/fid_bbi/templates/fid/user/policy-en.phtml b/themes/fid_bbi/templates/fid/user/policy-en.phtml index a1ad326d367161cb2a5d64b3e1a19a3777484744..b9915638ee8a34ebd2fd8a4e2698556727b46615 100644 --- a/themes/fid_bbi/templates/fid/user/policy-en.phtml +++ b/themes/fid_bbi/templates/fid/user/policy-en.phtml @@ -424,10 +424,19 @@ again. More information about the privacy settings of the Matomo software can be found under the following link: https://matomo.org/docs/privacy/. Here you can switch tracking on or off, if this setting is not already - automatically controlled by the settings of your browser or an ad-blocker. - <iframe style="border: 0; height: 150px; width: 100%; margin-left:-.5rem" id="piwk" name="piwk" - onLoad="addCSS()" - src="https://piwik.ub.uni-leipzig.de/index.php?module=CoreAdminHome&action=optOut&language={$userLang}&idSite=6"></iframe> + automatically controlled by the settings of your browser or an ad-blocker.<br/> + + <?= $this->context($this)->renderInContext( + 'matomo.phtml', + [ + 'backgroundColor' => 'ffffff', + 'fontColor' => '8A141A', + 'fontFamily' => urlencode("\"Helvetica Neue\",Helvetica,Roboto,Arial,sans-serif"), + 'fontSize' => '15px', + 'language' => $this->layout()->userLang + ]); + ?> + <br/> </p> </li> </ol>