[foundation-web] Fix piwik snippet
- From: Jaap A. Haitsma <jhaitsma src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [foundation-web] Fix piwik snippet
- Date: Mon, 9 Nov 2009 19:09:56 +0000 (UTC)
commit 1fe04d644a9004d0b7b536c955e06d5925a3a9ad
Author: Jaap A. Haitsma <jaap haitsma org>
Date: Mon Nov 9 20:09:23 2009 +0100
Fix piwik snippet
Copy pasting from an email introduced linebreaks :-(
include/evilsedhack | 11 +++--------
1 files changed, 3 insertions(+), 8 deletions(-)
---
diff --git a/include/evilsedhack b/include/evilsedhack
index 5d71fbe..7c5171c 100755
--- a/include/evilsedhack
+++ b/include/evilsedhack
@@ -52,22 +52,17 @@ Hosted by <a href="http://www.redhat.com/">Red Hat</a>.
<!-- Piwik -->
<script type="text/javascript">
-var pkBaseURL = (("https:" == document.location.protocol) ?
-"https://webstats.gnome.org/" : "http://webstats.gnome.org/");
-document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js'
-type='text/javascript'%3E%3C/script%3E"));
+var pkBaseURL = (("https:" == document.location.protocol) ? "https://webstats.gnome.org/" : "http://webstats.gnome.org/");
+document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
</script><script type="text/javascript">
try {
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 1);
piwikTracker.trackPageView();
piwikTracker.enableLinkTracking();
} catch( err ) {}
-</script><noscript><p><img
-src="http://webstats.gnome.org/piwik.php?idsite=1" style="border:0"
-alt=""/></p></noscript>
+</script><noscript><p><img src="http://webstats.gnome.org/piwik.php?idsite=1" style="border:0" alt=""/></p></noscript>
<!-- End Piwik Tag -->
-
</body>
</html>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]