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 <benakamoorthi@fastmail.fm>2014-01-11 02:48:50 +0400
committerdiosmosis <benakamoorthi@fastmail.fm>2014-01-11 02:54:13 +0400
commitfb5454b703d00d50fb90fb7ddd0aa58656728093 (patch)
treefc5626edf1701b9c35baa1c5965a5dc5487067ba /plugins/PrivacyManager/templates
parent15853da8b03f0ab7a858a2335e9dbd62b7db4116 (diff)
Fixes #4493, move DoNotTrack & AnonymizeIP logic to PrivacyManager plugin. Includes modification to EventDipatcher to allow generic callbacks in getListHooksRegistered method.
Diffstat (limited to 'plugins/PrivacyManager/templates')
-rw-r--r--plugins/PrivacyManager/templates/privacySettings.twig7
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/PrivacyManager/templates/privacySettings.twig b/plugins/PrivacyManager/templates/privacySettings.twig
index 1ea461869d..045d6763c6 100644
--- a/plugins/PrivacyManager/templates/privacySettings.twig
+++ b/plugins/PrivacyManager/templates/privacySettings.twig
@@ -20,7 +20,6 @@
<input class="indented-radio-button" id="anonymizeIPEnable-0" type="radio" name="anonymizeIPEnable" value="0" {% if anonymizeIP.enabled == '0' %} checked {% endif %}/>
<label for="anonymizeIPEnable-0">{{ 'General_No'|translate }}</label>
<input type="hidden" name="token_auth" value="{{ token_auth }}"/>
- <input type="hidden" name="pluginName" value="{{ anonymizeIP.name }}"/>
</td>
<td width="200">
<div style="width:180px">
@@ -277,19 +276,19 @@
<td width="650">
<p>
{% if dntSupport %}
- {% set action='deactivate' %}
+ {% set action='deactivateDoNotTrack' %}
{% set nonce=deactivateNonce %}
<strong>{{ 'PrivacyManager_DoNotTrack_Enabled'|translate }}</strong>
<br/>
{{ 'PrivacyManager_DoNotTrack_EnabledMoreInfo'|translate }}
{% else %}
- {% set action='activate' %}
+ {% set action='activateDoNotTrack' %}
{% set nonce=activateNonce %}
{{ 'PrivacyManager_DoNotTrack_Disabled'|translate }} {{ 'PrivacyManager_DoNotTrack_DisabledMoreInfo'|translate }}
{% endif %}
</p>
<span style="margin-left:20px;">
- <a href='{{ {'module':'CorePluginsAdmin','nonce':nonce,'action':action,'pluginName':'DoNotTrack'} | urlRewriteWithParameters }}#DNT'>&rsaquo;
+ <a href='{{ {'module':'PrivacyManager','nonce':nonce,'action':action} | urlRewriteWithParameters }}#DNT'>&rsaquo;
{% if dntSupport %}{{ 'PrivacyManager_DoNotTrack_Disable'|translate }} {{ 'General_NotRecommended'|translate }}
{% else %}{{ 'PrivacyManager_DoNotTrack_Enable'|translate }} {{ 'General_Recommended'|translate }}{% endif %}
<br/>