incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r815489 - in /websites/staging/ooo-site/trunk: cgi-bin/ content/ content/download/test/index_new_dl.html
Date Wed, 02 May 2012 23:15:43 GMT
Author: buildbot
Date: Wed May  2 23:15:43 2012
New Revision: 815489

Log:
Staging update by buildbot for openofficeorg

Modified:
    websites/staging/ooo-site/trunk/cgi-bin/   (props changed)
    websites/staging/ooo-site/trunk/content/   (props changed)
    websites/staging/ooo-site/trunk/content/download/test/index_new_dl.html

Propchange: websites/staging/ooo-site/trunk/cgi-bin/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Wed May  2 23:15:43 2012
@@ -1 +1 @@
-1333113
+1333247

Propchange: websites/staging/ooo-site/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Wed May  2 23:15:43 2012
@@ -1 +1 @@
-1333113
+1333247

Modified: websites/staging/ooo-site/trunk/content/download/test/index_new_dl.html
==============================================================================
--- websites/staging/ooo-site/trunk/content/download/test/index_new_dl.html (original)
+++ websites/staging/ooo-site/trunk/content/download/test/index_new_dl.html Wed May  2 23:15:43
2012
@@ -61,22 +61,23 @@
   <script type="text/javascript">  
   <!--
   LINK = getLink( VERSION, MIRROR, SCHEMA );
-  var myURLlink = "<a href=\"" + LINK + "\"" + " title = \"" + LINK + " \" >";
-  //alert ("myURLlink :" + myURLlink);
-  
-  document.write( "<div class=\"first button green\" id=\"optionitem1\" onclick=\"openItem('optionitem1','"
+ LINK + "');"
-    + "return false;\">" );
-
+  // normal processing to simply quoting issues -- keep original
+  var newLINK = "<a href=\"" + LINK + "\"" + " title = \"" + LINK + " \" >";
+     
   //alert ("hasMirroLink: " + hasMirrorLink() );
   if ( hasMirrorLink() ) {
-    document.write( "<h2>" + myURLlink+ "Download Apache OpenOffice " + VERSION + "</a></h2>"
-    + "<p>" + myURLlink + "Click to start downloading the most recent version for "
+	document.write( "<div class=\"first button green\" id=\"optionitem1\" onclick=\"openItem('optionitem1','"
+ newLINK + "');"
+			    + "return false;\">" );
+    document.write( "<h2>" + newLINK+ "Download Apache OpenOffice " + VERSION + "</a></h2>"
+    + "<p>" + newLINK + "Click to start downloading the most recent version for "
     + getPlatform(SCHEMA) + " and " + getLanguage() + "."
     + "<br/></p>" );
   } else {
-	  <!-- dump SF extension -->
+	  <!-- dump SF extension if no mirror link -->
 	  alert("link before replacment: " + LINK);
 	  var newLINK = LINK.replace(/\/download$/,"");
+	  document.write( "<div class=\"first button green\" id=\"optionitem1\" onclick=\"openItem('optionitem1','"
+ newLINK + "');"
+			    + "return false;\">" );
 	  alert ("link after replacment: " + newLINK);
 	  <!-- route everybody to somplace else ??? -->
     document.write( "<h2><a href='" + newLINK + "' title='" + newLINK + "'>Download
Apache OpenOffice</a></h2>"



Mime
View raw message