incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robw...@apache.org
Subject svn commit: r1354614 - in /incubator/ooo/ooo-site/trunk/content/download: index-windows.html index.html
Date Wed, 27 Jun 2012 16:22:33 GMT
Author: robweir
Date: Wed Jun 27 16:22:32 2012
New Revision: 1354614

URL: http://svn.apache.org/viewvc?rev=1354614&view=rev
Log:
Prep for content experiment:  JS direct of visits to download page from shell.windows.com
to special index-windows.html.  Add new page, index.html in windows-odf directory which will
be tested against the copy of the main download page.

Added:
    incubator/ooo/ooo-site/trunk/content/download/index-windows.html
      - copied unchanged from r1354146, incubator/ooo/ooo-site/trunk/content/download/index.html
Modified:
    incubator/ooo/ooo-site/trunk/content/download/index.html

Modified: incubator/ooo/ooo-site/trunk/content/download/index.html
URL: http://svn.apache.org/viewvc/incubator/ooo/ooo-site/trunk/content/download/index.html?rev=1354614&r1=1354613&r2=1354614&view=diff
==============================================================================
--- incubator/ooo/ooo-site/trunk/content/download/index.html (original)
+++ incubator/ooo/ooo-site/trunk/content/download/index.html Wed Jun 27 16:22:32 2012
@@ -3,6 +3,12 @@
 <head>
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   <title>Apache OpenOffice Downloads</title>
+
+  <script type="text/javascript">
+if (document.referrer.indexOf("shell.windows.com") != -1)
+      location.href = "http://www.openoffice.org/download/index-windows.html";
+</script>
+    
   <!-- <script type="text/javascript" src="globalvars.js"></script> -->
   <!-- <script type="text/javascript" src="download.js"></script> -->
   <!-- <script type="text/javascript" src="download_bouncer.js"></script>
-->



Mime
View raw message