hgbook

diff stylesheets/it/web.xsl @ 878:7037e4bcb90c

Minor fix
author Dongsheng Song <dongsheng.song@gmail.com>
date Wed Oct 21 14:26:58 2009 +0800 (2009-10-21)
parents 84629ae2c99d
children
line diff
     1.1 --- a/stylesheets/it/web.xsl	Sun Aug 23 00:51:45 2009 +0200
     1.2 +++ b/stylesheets/it/web.xsl	Wed Oct 21 14:26:58 2009 +0800
     1.3 @@ -32,7 +32,15 @@
     1.4    </xsl:template>
     1.5    
     1.6    <xsl:template name="user.footer.navigation">
     1.7 -    <!-- No Google Analytics script for the moment -->
     1.8 +    <script type="text/javascript">
     1.9 +    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
    1.10 +    document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
    1.11 +    </script>
    1.12 +    <script type="text/javascript">
    1.13 +    try {
    1.14 +    var pageTracker = _gat._getTracker("UA-10482652-1");
    1.15 +    pageTracker._trackPageview();
    1.16 +    } catch(err) {}</script>
    1.17    </xsl:template>
    1.18    
    1.19  </xsl:stylesheet>