Skip to content

Commit

Permalink
refs #4022 Fix iframe attributes in privacy settings
Browse files Browse the repository at this point in the history
Original fix was only applied to `plugins/CoreAdminHome/templates/generalSettings.twig`.
  • Loading branch information
fhemberger committed Mar 29, 2014
1 parent 7d35a79 commit 770fd36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/PrivacyManager/templates/privacySettings.twig
Expand Up @@ -305,7 +305,7 @@
<h2 id="optOutAnchor">{{ 'CoreAdminHome_OptOutForYourVisitors'|translate }}</h2>
<p>{{ 'CoreAdminHome_OptOutExplanation'|translate }}
{% set optOutUrl %}{{ piwikUrl }}index.php?module=CoreAdminHome&action=optOut&language={{ language }}{% endset %}
{% set iframeOptOut %}<iframe frameborder="no" width="600px" height="200px" src="{{ optOutUrl }}"></iframe>{% endset %}
{% set iframeOptOut %}<iframe style="border: 0; height: 200px; width: 600px;" src="{{ optOutUrl }}"></iframe>{% endset %}
<code>{{ iframeOptOut|e('html') }}</code>
<br/>
{{ 'CoreAdminHome_OptOutExplanationBis'|translate("<a href='" ~ optOutUrl ~ "' target='_blank'>","</a>")|raw }}
Expand Down

0 comments on commit 770fd36

Please sign in to comment.