You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ma...@apache.org on 2012/05/01 01:43:42 UTC

svn commit: r1332474 - in /incubator/ooo/ooo-site/trunk/content/download/legacy: index.html other.html

Author: marcus
Date: Mon Apr 30 23:43:42 2012
New Revision: 1332474

URL: http://svn.apache.org/viewvc?rev=1332474&view=rev
Log:
Updated the GA code

Modified:
    incubator/ooo/ooo-site/trunk/content/download/legacy/index.html
    incubator/ooo/ooo-site/trunk/content/download/legacy/other.html

Modified: incubator/ooo/ooo-site/trunk/content/download/legacy/index.html
URL: http://svn.apache.org/viewvc/incubator/ooo/ooo-site/trunk/content/download/legacy/index.html?rev=1332474&r1=1332473&r2=1332474&view=diff
==============================================================================
--- incubator/ooo/ooo-site/trunk/content/download/legacy/index.html (original)
+++ incubator/ooo/ooo-site/trunk/content/download/legacy/index.html Mon Apr 30 23:43:42 2012
@@ -8,6 +8,7 @@
   <script type="text/javascript" src="download.js"></script>
   <script type="text/javascript" src="download_bouncer.js"></script>
   <script type="text/javascript" src="download_mirrorbrain.js"></script>
+  <script src="../scripts/entourage.js"></script>
   <style type="text/css">
   /* <![CDATA[ */
   /*-------------------- Exceptions on standard css -----------------------*/
@@ -15,6 +16,18 @@
   @import "exceptions.css";
   /* ]]> */
   </style>
+  <script type="text/javascript">
+    var _gaq = _gaq || [];
+    _gaq.push(['_setAccount', 'UA-30193653-1']);
+    _gaq.push(['_setDomainName', 'openoffice.org']);
+    _gaq.push(['_trackPageview']);
+
+    (function() {
+      var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+      ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+      var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+    })();
+  </script>	
 </head>
 
 <body>
@@ -65,8 +78,6 @@
     + "<a href='md5sums/" + VERSION + "_md5sums.txt' title='MD5 checksums for OpenOffice.org " + VERSION + "'>MD5 checksums"
     + "</a></p>"
   + "</div>" );
-
-	entourage.initialize();
   //-->
   </script>
 

Modified: incubator/ooo/ooo-site/trunk/content/download/legacy/other.html
URL: http://svn.apache.org/viewvc/incubator/ooo/ooo-site/trunk/content/download/legacy/other.html?rev=1332474&r1=1332473&r2=1332474&view=diff
==============================================================================
--- incubator/ooo/ooo-site/trunk/content/download/legacy/other.html (original)
+++ incubator/ooo/ooo-site/trunk/content/download/legacy/other.html Mon Apr 30 23:43:42 2012
@@ -8,6 +8,7 @@
   <script type="text/javascript" src="download.js"></script>
   <script type="text/javascript" src="download_bouncer.js"></script>
   <script type="text/javascript" src="download_mirrorbrain.js"></script>
+  <script src="../scripts/entourage.js"></script>
   <style type="text/css">
   /* <![CDATA[ */
   /*-------------------- Exceptions on standard css -----------------------*/
@@ -15,6 +16,18 @@
   @import "exceptions.css";
   /* ]]> */
   </style>
+  <script type="text/javascript">
+    var _gaq = _gaq || [];
+    _gaq.push(['_setAccount', 'UA-30193653-1']);
+    _gaq.push(['_setDomainName', 'openoffice.org']);
+    _gaq.push(['_trackPageview']);
+
+    (function() {
+      var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+      ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+      var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+    })();
+  </script>	
 </head>
 
 <body>