incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r815057 - in /websites/staging/ooo-site/trunk: cgi-bin/ content/ content/download/test/index_new_dl.html
Date Sun, 29 Apr 2012 23:04:53 GMT
Author: buildbot
Date: Sun Apr 29 23:04:52 2012
New Revision: 815057

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 Sun Apr 29 23:04:52 2012
@@ -1 +1 @@
-1332015
+1332016

Propchange: websites/staging/ooo-site/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sun Apr 29 23:04:52 2012
@@ -1 +1 @@
-1332015
+1332016

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 Sun Apr 29 23:04:52
2012
@@ -44,29 +44,7 @@
 <div class="optionset">
 
   <script type="text/javascript">
-  <!--
-  document.write ("<font color=\"red\">");
-  document.write ( "<h2>This page is to test how to get download requests to more than
one mirror hosts:</h2>" );
-  
-  document.write ( "<p>Complete SF URL: " + MIRROR_SOURCEFORGE_REF + "</p>" );
-  document.write ( "<p> Complete Apache URL: "+ MIRROR_APACHE_REF + "</p>" );
   
-  document.write ( "<h3>1. Mirror redirection by percent: Apache, SourceForge</h3>"
);
-
-  MIRROR = getMirrorHost();
-  alert ("New mirror: " + MIRROR);
-
-  document.write ( "<h3>2. Mirror redirection by percent: Apache, SourceForge, MirrorBrain</h3>"
);
-
-  getMirrorHost_asf_sf_mb_percent();
-
-  document.write ( "<h3>3. Mirror redirection by weight: Apache, SourceForge, MirrorBrain</h3>"
);
-
-  getMirrorHost_asf_sf_mb_weighted();
-  document.write ("</font>");
-
-  //-->
-  </script>
 
 </div>
 
@@ -76,20 +54,25 @@
   <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;\">" );
 
   if ( hasMirrorLink() ) {
-    document.write( "<h2><a href='" + LINK + " title= " + LINK + " '>Download
OpenOffice.org " + VERSION + "</a></h2>"
-    + "<p><a href='" + LINK + " title=" + LINK + " '>Click to start downloading
the most recent version for "
+    document.write( "<h2>" + myURLlink+ "Download OpenOffice.org " + VERSION + "</a></h2>"
+    + "<p>" + myURLlink + "Click to start downloading the most recent version for "
     + getPlatform() + " and " + getLanguage() + "."
     + "<br/>(Java Runtime Environment (JRE) included for all OS versions except Linux
32/64-bit Debian and Mac OS)</a>"
     + "</p>" );
   } else {
+	  <!-- route everybody to somplace else ??? -->
     document.write( "<h2><a href='" + LINK + "' title='" + LINK + "'>Download
OpenOffice.org</a></h2>"
-    + "<p><a href='" + LINK + "' title='" + LINK + "'>Get OpenOffice.org from
your " + getLanguage()
-    + " Native Language community</a></p>" );
+    + "<p><a href='" + LINK + "' title='" + LINK + "'>Get OpenOffice.org for
" + getLanguage()
+    + " from a Native Language community area.</a></p>" );
   }
+  
   document.write( "</div>" );
   document.write( "<div class=\"sub-green\">"
     + "<p><a href='other.html' title='Get all platforms, languages, language packs
to download'>"



Mime
View raw message