[gnomeweb-wml] Correct piwik code



commit f88d80f7ac48613f1988606bbd7dece5a7db993e
Author: Jaap A. Haitsma <jaap haitsma org>
Date:   Mon Nov 9 20:08:17 2009 +0100

    Correct piwik code
    
    Copy pasting introduced line breaks which made the code fail

 include/evilsedhack |   11 +++--------
 1 files changed, 3 insertions(+), 8 deletions(-)
---
diff --git a/include/evilsedhack b/include/evilsedhack
index eee8b2d..6150b11 100755
--- a/include/evilsedhack
+++ b/include/evilsedhack
@@ -109,21 +109,16 @@ cat <<FOOT
 
 <!-- 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>
 FOOT



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]