aboutsummaryrefslogtreecommitdiffstats
path: root/addon
diff options
context:
space:
mode:
authortobiasd <tobias.diekershoff@gmx.net>2011-08-18 09:07:48 -0700
committertobiasd <tobias.diekershoff@gmx.net>2011-08-18 09:07:48 -0700
commitc8cf2d1773623980d8055ff392b400aecb2a09b3 (patch)
tree9167867df902e6ef86ee1a3a2432038c983bb46f /addon
parent012e039dae4b8f6207b0f0e58667819c016948a2 (diff)
parentcf64ae0e4bae6efd7fd6997f699bdf6c7401618b (diff)
downloadvolse-hubzilla-c8cf2d1773623980d8055ff392b400aecb2a09b3.tar.gz
volse-hubzilla-c8cf2d1773623980d8055ff392b400aecb2a09b3.tar.bz2
volse-hubzilla-c8cf2d1773623980d8055ff392b400aecb2a09b3.zip
Merge pull request #157 from tobiasd/master
piwik analytics opt-out note now translate able
Diffstat (limited to 'addon')
-rw-r--r--addon/piwik/piwik.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/addon/piwik/piwik.php b/addon/piwik/piwik.php
index 8389416e9..890309d4f 100644
--- a/addon/piwik/piwik.php
+++ b/addon/piwik/piwik.php
@@ -66,7 +66,12 @@ function piwik_analytics($a,&$b) {
* otherwise just include the above code into the page.
*/
if ($optout) {
- $b .= "<div id='piwik-optout-link'>This website is tracked using the <a href='http://www.piwik.org'>Piwik</a> analytics tool. If you do not want that your visits are logged this way you <a href='http://". $baseurl ."index.php?module=CoreAdminHome&action=optOut'>can set a cookie to prevent Piwik from tracking further visits of the site</a> (opt-out).</div>";
+ $b .= "<div id='piwik-optout-link'>";
+ $b .= t("This website is tracked using the <a href='http://www.piwik.org'>Piwik</a> analytics tool.");
+ $b .= " ";
+ $the_url = "http://".$baseurl ."index.php?module=CoreAdminHome&action=optOut";
+ $b .= sprintf(t("If you do not want that your visits are logged this way you <a href='%s'>can set a cookie to prevent Piwik from tracking further visits of the site</a> (opt-out)."), $the_url);
+ $b .= "</div>";
}
}