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 2013/07/13 18:24:28 UTC

svn commit: r1502821 - /openoffice/ooo-site/trunk/content/download/test/index.html

Author: marcus
Date: Sat Jul 13 16:24:28 2013
New Revision: 1502821

URL: http://svn.apache.org/r1502821
Log:
Adjusted index file for AOO 4.0 release

Modified:
    openoffice/ooo-site/trunk/content/download/test/index.html

Modified: openoffice/ooo-site/trunk/content/download/test/index.html
URL: http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/download/test/index.html?rev=1502821&r1=1502820&r2=1502821&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/download/test/index.html (original)
+++ openoffice/ooo-site/trunk/content/download/test/index.html Sat Jul 13 16:24:28 2013
@@ -49,10 +49,9 @@
   <!--
   // Set a specific language ISO code to force to assemble a certain localized build as download URL
   var NL_LANGUAGE = "";
-  // var LINK     = getLink( VERSION, NL_LANGUAGE, MIRROR, SCHEMA );
   var LINK        = getLink();
 
-  if ( hasMirrorLink( NL_LANGUAGE ) ) {
+  if ( hasMirrorLink() ) {
     //  if ( LINK.toLowerCase().indexOf( "other" ) ) {
     //    // OS and/or package manager was not recognized, therefore use "other.html" as download link.
     //    document.write( "<div class=\"first button green\" id=\"optionitem1\" onclick=\"openItem('optionitem1','"
@@ -69,11 +68,11 @@
       + UI_PLATFORM + "</b> and <b>" + LANG_ARRAY[ 2 ] + "</b>.<br /></a></p>");
     //  }
   } else {
-    // Download from an alternative webpage if hasMirrorLink( NL_LANGUAGE ) == false.
+    // Download from an alternative webpage if hasMirrorLink() == false.
     document.write( "<div class=\"first button green\" id=\"optionitem1\" onclick=\"openItem('optionitem1','"
     + LANG_ARRAY[ 3 ] + "');" + "return false;\">" );
-    document.write( "<h2><a href='" + LANG_ARRAY[ 3 ] + "' title='" + LANG_ARRAY[ 3 ] + "'>Download Apache OpenOffice "
-    + VERSION + "</a></h2><p><a href='" + LANG_ARRAY[ 3 ] + "' title='" + LANG_ARRAY[ 3 ] + "'>A release for <b>"
+    document.write( "<h2><a href='" + LANG_ARRAY[ 4 ] + "' title='" + LANG_ARRAY[ 4 ] + "'>Download Apache OpenOffice "
+    + VERSION + "</a></h2><p><a href='" + LANG_ARRAY[ 4 ] + "' title='" + LANG_ARRAY[ 4 ] + "'>A release for <b>"
     + LANG_ARRAY[ 2 ] + " (" + LANG_ARRAY[ 1 ] + ")</b> is not available. Please choose another language from the alternative "
     + "download webpage.</a></p>" );
   }
@@ -83,13 +82,16 @@
     + "<p><a href='other.html' title='Get all platforms, languages, language packs to download'>"
     + "<b>Get all platforms, languages, language packs</b></a> | "
     + "<a href='other.html#tested-sdk' title='Get all source code tarballs and SDK to download'>"
-    + "<b>Source Code tarballs and SDK</b></a> | <br />"
-    + "Signatures and Hashes: "
-    + "<a href='" + CHECKSUM_ASC    + "' + title='ASC signature'>ASC</a> , "
-    + "<a href='" + CHECKSUM_MD5    + "' + title='MD5 hash'>MD5</a> , "
-    + "<a href='" + CHECKSUM_SHA256 + "' + title='SHA256 hash'>SHA256</a> | "
-    + "<a href='../development/releases/" + VERSION + ".html'"
-    + "title='What is new, what has been improved in Apache OpenOffice " + VERSION + "?'>Release Notes</a> | "
+    + "<b>Source Code tarballs and SDK</b></a> | <br />");
+    if ( CHECKSUM_ASC ) {
+      document.write( "Signatures and Hashes: "
+      + "<a href='" + CHECKSUM_ASC    + "' + title='ASC signature'>ASC</a> , "
+      + "<a href='" + CHECKSUM_MD5    + "' + title='MD5 hash'>MD5</a> , "
+      + "<a href='" + CHECKSUM_SHA256 + "' + title='SHA256 hash'>SHA256</a> | ");
+    }
+    document.write( "<a href='../development/releases/" + VERSION + ".html'"
+    + "title='What is new, what has been improved in Apache OpenOffice " + VERSION
+    + "?'>Release Notes</a> | "
     + "<a href='legacy/index.html' title='Get the legacy version OpenOffice.org 3.3.0'>Legacy Version</a></p>"
   + "</div>" );
 
@@ -378,6 +380,7 @@
   </ul>
 
   <div id="SupportedAndSupporters">
+    <p>&nbsp;</p>
     <a href="http://validator.w3.org/check?uri=http://www.openoffice.org/download/index.html"
     title="W3C Markup Validation Service - Check the markup (HTML, XHTML, ...) of Web documents">
     <img src="../../images/valid-xhtml10-blue.png"