openoffice-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r897214 - in /websites/staging/ooo-site/trunk: cgi-bin/ content/ content/download/test/index.html
Date Mon, 10 Feb 2014 21:43:50 GMT
Author: buildbot
Date: Mon Feb 10 21:43:50 2014
New Revision: 897214

Log:
Staging update by buildbot for ooo-site

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.html

Propchange: websites/staging/ooo-site/trunk/cgi-bin/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Mon Feb 10 21:43:50 2014
@@ -1 +1 @@
-1566736
+1566757

Propchange: websites/staging/ooo-site/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Mon Feb 10 21:43:50 2014
@@ -1 +1 @@
-1566736
+1566757

Modified: websites/staging/ooo-site/trunk/content/download/test/index.html
==============================================================================
--- websites/staging/ooo-site/trunk/content/download/test/index.html (original)
+++ websites/staging/ooo-site/trunk/content/download/test/index.html Mon Feb 10 21:43:50 2014
@@ -73,8 +73,9 @@ screen reader. -->
   var LINK        = getLink();
 
   if ( hasMirrorLink() ) {
-    if ( LINK.toLowerCase().indexOf( "sourceforge" ) != -1 ) {
-      // Download directly from Sourceforge with displayed platform and language.
+    if ( SOURCEFORGE ) {
+      // If download URL contains "sourceforge" (-> normal and correct download link),
+      // then download from Sourceforge with displayed platform and language.
       document.write( "<div class=\"first button green\" id=\"optionitem1\" onclick=\"openItem('optionitem1','"
       + LINK + "');" + "return false;\">" );
       document.write( "<h2><a href='" + LINK + "' title='Version " + VERSION + "
| Milestone " + MILESTONE
@@ -84,8 +85,9 @@ screen reader. -->
       + " | SVN " + SVN_REV + " | Released: " + REL_DATE + "'>Click here for the most
recent version for:<br />"
       + "<b>" + UI_PLATFORM + "</b> and <b>" + LANG_ARRAY[ 2 ] + "</b>
| ~" + FILESIZE + " MByte | Released: "
       + REL_DATE + "<br /></a></p>" );
-    } else if ( UI_PLATFORM.toLowerCase().indexOf( "unknown" ) != -1 ) {
-      // If platform and/or package manager was not recognized, then use "other.html" as
download link.
+    } else if ( OTHER ) {
+      // If download URL contains "other" (-> platform, OS or package manager was not
recognized),
+      // then use "other.html" as download link.
       document.write( "<div class=\"first button green\" id=\"optionitem1\" onclick=\"openItem('optionitem1','"
       + LINK + "');" + "return false;\">" );
       document.write( "<h2><a href='" + LINK + "' title='" + LINK + "'>"
@@ -93,8 +95,9 @@ screen reader. -->
       + "<p><a href='" + LINK + "' title='" + LINK + "'>Apache OpenOffice " +
VERSION + " for "
       + "<b>" + UI_PLATFORM + "</b> is not available. Please choose another platform
build from the alternative download "
       + "webpage.</a></p>" );
-    } else if ( OLD_PLATFORM ) {
-      // If MacOS X version is <= 10.6, then provide download link form AOO 4.0.1 archive.
+    } else if ( ARCHIVE ) {
+      // If download URL contains "archive" (-> platform/OS is no longer supported),
+      // then use the ASF archive as download link.
       document.write( "<div class=\"first button green\" id=\"optionitem1\" onclick=\"openItem('optionitem1','"
       + LINK + "');" + "return false;\">" );
       document.write( "<h2><a href='" + LINK + "' title='" + LINK + "'>"
@@ -150,16 +153,16 @@ screen reader. -->
   <div class="first button green" id="optionitem1">
     <h2><a>Download Apache OpenOffice</a></h2>
     <p><a href="http://www.apache.org/dyn/aoo-closer.cgi/openoffice/">Your browser
does not seem to allow JavaScript
-    on websites. This technique is used on this webpage for presenting the actual download
links. If you want to
-    download Apache OpenOffice, go to the alternative download page, and you will skip this
page. Our apologies for
-    the inconvenience.</a></p>
+    on websites. This technique is used on this webpage for presenting the actual download
link. If you want to download
+    Apache OpenOffice, click here to go to the alternative download page, and you will skip
this page.
+    Our apologies for the inconvenience.</a></p>
   </div>
   <div class="sub-green">
     <p><a href="../../porting/index.html"
     title="Get Apache OpenOffice software packaged as portable USB versions and third-party
ports">
     <b>Portable USB versions</b> and third-party ports</a> |
     <a href="../../development/releases/index.html"
-    title="What is new, what has been improved in Apache OpenOffice?">Release Notes</a>
| <br />
+    title="What is new, what has been improved in Apache OpenOffice?"><b>Release
Notes</b></a> | <br />
     <a href="../other-341.html" title="Get the old version of Apache OpenOffice">Old
Apache OpenOffice</a> |
     <a href="../legacy/index.html" title="Get the legacy version of OpenOffice.org">Legacy
OpenOffice.org</a></p>
   </div>



Mime
View raw message