You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by bu...@apache.org on 2014/04/27 20:03:58 UTC

svn commit: r907071 - in /websites/staging/ooo-site/trunk: cgi-bin/ content/ content/download/test/index_droplist.html

Author: buildbot
Date: Sun Apr 27 18:03:58 2014
New Revision: 907071

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

Propchange: websites/staging/ooo-site/trunk/cgi-bin/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sun Apr 27 18:03:58 2014
@@ -1 +1 @@
-1590432
+1590433

Propchange: websites/staging/ooo-site/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sun Apr 27 18:03:58 2014
@@ -1 +1 @@
-1590432
+1590433

Modified: websites/staging/ooo-site/trunk/content/download/test/index_droplist.html
==============================================================================
--- websites/staging/ooo-site/trunk/content/download/test/index_droplist.html (original)
+++ websites/staging/ooo-site/trunk/content/download/test/index_droplist.html Sun Apr 27 18:03:58 2014
@@ -3,12 +3,19 @@
 <head>
 <link href="/css/ooo.css" rel="stylesheet" type="text/css">
 
-  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+  <meta itemprop="name" content="Download Apache OpenOffice" />
+  <meta itemprop="description" content="Join the OpenOffice revolution, the free office productivity suite with over 90 million trusted downloads." />
+  <meta itemprop="image" content="http://www.openoffice.org/images/aoo-logo-100x100.png" />
+  <meta property="og:title" content="Download Apache OpenOffice" />
+  <meta property="og:description" content="Join the OpenOffice revolution, the free office productivity suite with over 90 million trusted downloads." />
+  <meta property="og:image" content="http://www.openoffice.org/images/aoo-logo-100x100.png" />
+  <meta name="description" content="Official Apache OpenOffice download page. Join the OpenOffice revolution, the free office productivity suite with over 90 million trusted downloads." />
   <title>Apache OpenOffice Downloads - Official Site</title>
-  <script type="text/javascript" src="globalvars.js"></script>
+  <script type="text/javascript" src="globalvars_droplist_merged.js"></script>
   <script type="text/javascript" src="languages.js"></script>
   <script type="text/javascript" src="release_matrix.js"></script>
-  <script type="text/javascript" src="download_droplist.js"></script>
+  <script type="text/javascript" src="download_droplist_merged.js"></script>
   <style type="text/css">
   /* <![CDATA[ */
   /*-------------------- Exceptions on standard css -----------------------*/
@@ -16,6 +23,23 @@
   @import "exceptions.css";
   /* ]]> */
   </style>
+  <script>
+    if (window.document.referrer.indexOf("shell.windows.com") != -1)
+       location.href = "../../why/why_odf.html";
+
+    function shareFacebook() {
+      _gaq.push(['_trackEvent','social', 'shareDownload', 'facebook']); 
+      window.open('https://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Fwww.openoffice.org%2Fdownload%2F','_blank','toolbar=0,status=0,width=580,height=325');	
+    }
+    function shareTwitter(){
+      _gaq.push(['_trackEvent','social', 'shareDownload', 'twitter']); 
+      window.open('https://twitter.com/intent/tweet?url=http%3A%2F%2Fwww.openoffice.org%2Fdownload%2F&text=Join+the+OpenOffice+revolution%2C+the+free+office+productivity+suite+with+over+90+million+trusted+downloads.','_blank','toolbar=0,status=0,width=580,height=325');
+    }
+    function shareGooglePlus(){
+      _gaq.push(['_trackEvent','social', 'shareDownload', 'google+']); 
+      window.open('https://plus.google.com/share?url=http%3A%2F%2Fwww.openoffice.org%2Fdownload%2F','_blank','toolbar=0,status=0,width=580,height=325');
+    }
+  </script>
 
 <!--#include virtual="/google-analytics.js" --> 
 <!--#include virtual="/scripts/entourage.js" -->
@@ -34,75 +58,589 @@
     
     
 
+<!-- The text in the H1 tag is intentionally shown as not displayable, just to please accessibility tools like a
+screen reader. -->
+<h1 style="display: none;">Apache OpenOffice Download</h1>
+
 <div class="optionset">
 
-	<!-- Grey: Listboxes -->
-	<script type="text/javascript">
-	<!--
-	// Set a specific language ISO code to force to assemble a certain localized build as download URL
-	var NL_LANGUAGE = "";
-	// Get the download URL for released install files (0 = release mode)
-	var LINK        = getLink();
-
-	/*
-	document.write ( "Language ISO: " + LANG_ISO + " - has MirrorLink()?: " + hasMirrorLink() + "<br />"
-	+ "SourceForge: " + SOURCEFORGE + " - Other: " + OTHER + " - Archive: " + ARCHIVE + "<br />"
-	+ "UI_PLATFORM: " + UI_PLATFORM + " - URL_PLATFORM: " + URL_PLATFORM + " - EXTENSION: " + EXTENSION + "<br />"
-	+ "LINK: " + LINK );
-	*/
-
-	document.write( "<div class='button grey' id='optionitem1'>"
-		+ "<h2><a>Searching for another version?</a></h2>"
-		+ "<p style='cursor: default;'>"
-		+ "<a>Select from all available full installation sets and language packs "
-		+ "to download your favorite version.</a></p>"
-
-		+ "<div>"
-		+ "<form name='download'>"
-		+ "<select name='os' onchange='get_os()'>"
-		+ "<option value='e1' selected='selected'>Choose OS</option>"
-		+ "<option value='e2'                    >----------------</option>"
-		+ "<option value='win32'                 >Windows         </option>"
-		+ "<option value='lnx32r'                >Linux 32-bit RPM</option>"
-		+ "<option value='lnx32d'                >Linux 32-bit DEB</option>"
-		+ "<option value='lnx64r'                >Linux 64-bit RPM</option>"
-		+ "<option value='lnx64d'                >Linux 64-bit DEB</option>"
-		+ "<option value='mac32'                 >Mac OS X x86    </option>"
-		+ "<option value='mac64'                 >Mac OS X x86-64 </option>"
-		+ "</select>"
-
-		+ "<select name='lang' onchange='get_lang()'>"
-		+ "<option value='e1' selected='selected'>Choose language</option>"
-		+ "<option value='e2'                    >---------------</option>"
-		+ "<option value='en-US'                 >English (US)   </option>"
-		+ "<option value='de'                    >German         </option>"
-		+ "<option value='fr'                    >French         </option>"
-		+ "<option value='it'                    >Italian        </option>"
-		+ "<option value='es'                    >Spanish        </option>"
-		+ "<option value='nl'                    >Dutch          </option>"
-		+ "</select>"
-
-		+ "<select name='type' onchange='get_type()'>"
-		+ "<option value='e1' selected='selected'>Choose install type</option>"
-		+ "<option value='e2'                    >-------------------</option>"
-		+ "<option value='full'                  >Full Installation  </option>"
-		+ "<option value='lp'                    >Language Pack      </option>"
-		+ "</select>"
-		+ "</form>"
-
-		+ "<h3><a href='" + LINK + "' title='" + LINK + "'>Download Now!</a></h3>"
-		+ "<br />"
-		+ "</div>"
-	+ "</div>" );
-	document.write( "<div class='sub-grey' id='optionitem1_2'>"
-		+ "<p><a href='other.html'>"
-		+ "Get all platforms, languages, language packs</a> | "
-		+ "<a href='http://development.openoffice.org/releases/" + VERSION
-		+ ".html'>Release Notes</a></p>"
-	+ "</div>" );
-	//-->
-	</script>
+  <!-- Green: Stable release -->
+  <script type="text/javascript">
+  <!--
+  // Set a specific language ISO code to force to assemble a certain localized build as download URL
+  var NL_LANGUAGE = "";
+  // Get the download URL for released install files (0 = release mode)
+  var LINK        = getLink( 0 );
+/*
+  document.write ( "Language ISO: " + LANG_ISO + " - has MirrorLink()?: " + hasMirrorLink() + "<br />"
+  + "SourceForge: " + SOURCEFORGE + " - Other: " + OTHER + " - Archive: " + ARCHIVE + "<br />"
+  + "UI_PLATFORM: " + UI_PLATFORM + " - URL_PLATFORM: " + URL_PLATFORM + " - EXTENSION: " + EXTENSION + "<br />"
+  + "LINK: " + LINK );
+*/
+  if ( hasMirrorLink() ) {
+    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;\">"
+        + "<h2><a href='" + LINK + "' title='Version " + VERSION + " | Milestone " + MILESTONE
+        + " | Build ID " + BUILD + " | SVN " + SVN_REV + " | Released: " + REL_DATE + "'>"
+        + "Download Apache OpenOffice " + VERSION + "</a></h2>"
+        + "<p><a href='" + LINK + "' title='Version " + VERSION + " | Milestone " + MILESTONE + " | Build ID " + BUILD
+        + " | SVN " + SVN_REV + " | Released: " + REL_DATE + "'>Click here to download for:<br />"
+        + "<b>" + UI_PLATFORM + "</b> and <b>" + LANG_ARRAY[ 2 ] + "</b> | "
+        + "~" + FILESIZE_FULL + "&nbsp;MByte | Released:&nbsp;" + REL_DATE + "<br /></a></p>"
+      + "</div>" );
+    } 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;\">"
+        + "<h2><a href='" + LINK + "' title='" + LINK + "'>"
+        + "Download Apache OpenOffice</a></h2>"
+        + "<p><a href='" + LINK + "' title='" + LINK + "'>Apache OpenOffice " + VERSION + " for "
+        + "<b>" + UI_PLATFORM + "</b> and <b>" + LANG_ARRAY[ 2 ] + " (" + LANG_ARRAY[ 1 ] + ")</b> is not available. "
+        + "Click here to choose from the alternative download webpage.</a></p>"
+      + "</div>" );
+    } else if ( ARCHIVE ) {
+      // If download URL contains "archive" (-> platform/OS is no longer supported),
+      // then provide a download link to the previous version.
+      document.write( "<div class=\"first button green\" id=\"optionitem1\" onclick=\"openItem('optionitem1','"
+        + LINK + "');" + "return false;\">"
+        + "<h2><a href='" + LINK + "' title='" + LINK + "'>"
+        + "Download Apache OpenOffice</a></h2>"
+        + "<p><a href='" + LINK + "' title='" + LINK + "'>Apache OpenOffice " + VERSION + " for "
+        + "<b>" + UI_PLATFORM + "</b> and <b>" + LANG_ARRAY[ 2 ] + " (" + LANG_ARRAY[ 1 ] + ")</b> is not available. "
+        + "Click here for the previous version " + PRE_VERSION + ".</a></p>"
+      + "</div>" );
+    }
+  } else {
+    // If browser language do not match with AOO languages, then download from an alternative webpage.
+    document.write( "<div class=\"first button green\" id=\"optionitem1\" onclick=\"openItem('optionitem1','"
+      + LINK + "');" + "return false;\">"
+      + "<h2><a href='" + LANG_ARRAY[ 4 ] + "' title='" + LANG_ARRAY[ 4 ] + "'>"
+      + "Download Apache OpenOffice</a></h2>"
+      + "<p><a href='" + LANG_ARRAY[ 4 ] + "' title='" + LANG_ARRAY[ 4 ] + "'>Apache OpenOffice " + VERSION + " for "
+      + "<b>" + LANG_ARRAY[ 2 ] + " (" + LANG_ARRAY[ 1 ] + ")</b> is not available. "
+      + "Click here to choose from the alternative " + LANG_ARRAY[ 1 ] + " download webpage.</a></p>"
+    + "</div>" );
+  }
+  // Show some helpful links for SDK, source, checksums, release notes, legacy version.
+  document.write( "<div class=\"sub-green\">" );
+  document.write( "<p>" );
+  if ( CHECKSUM_ASC_FULL ) {
+    document.write( "Signatures and hashes: "
+    + "<a href='" + CHECKSUM_KEYS	 + "' + title='KEYS signature'>KEYS</a> , "
+    + "<a href='" + CHECKSUM_ASC_FULL	 + "' + title='ASC signature'>ASC</a> , "
+    + "<a href='" + CHECKSUM_MD5_FULL	 + "' + title='MD5 hash'>MD5</a> , "
+    + "<a href='" + CHECKSUM_SHA256_FULL + "' + title='SHA256 hash'>SHA256</a> , "
+    + "<a href='../checksums.html' title='How to verify the download with checksums?'>How to verify?</a> | " );
+  }
+  if ( ARCHIVE ) {
+    VERSION = PRE_VERSION;
+  }
+  document.write( "<a href='https://cwiki.apache.org/confluence/display/OOOUSERS/AOO+" + VERSION + "+Release+Notes'"
+    + "title='What is new, what has been improved in Apache OpenOffice " + VERSION + "?'><b>Release Notes</b></a> | <br />"
+    + "<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#source' title='Get the source code and SDK to download'>Source code and SDK</a> | <br />"
+    + "<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> | "
+    + "Old and legacy version: <a href='../other-341.html' title='Get the old version of Apache OpenOffice "
+    + OLDVERSION + "'><b>" + OLDVERSION + "</b></a> + "
+    + "<a href='../legacy/index.html' title='Get the legacy version of OpenOffice.org "
+    + LEGACYVERSION + "'><b>" + LEGACYVERSION + "</b></a></p>"
+  + "</div>" );
+  entourage.initialize();
+  //-->
+  </script>
+
+  <!-- Green: Stable release: No JavaScript enabled -->
+  <noscript>
+  <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/"
+    title="Select from all platforms, languages, language packs to download">Your browser does not seem to allow JavaScript
+    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?"><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>
+  </noscript>
+
+  <!-- Grey: Listboxes -->
+  <script type="text/javascript">
+  <!--
+/*
+  document.write ( "Language ISO: " + LANG_ISO + "<br />"
+  + "SourceForge: " + SOURCEFORGE + " - Other: " + OTHER + " - Archive: " + ARCHIVE + "<br />"
+  + "UI_PLATFORM: " + UI_PLATFORM + " - URL_PLATFORM: " + URL_PLATFORM + " - EXTENSION: " + EXTENSION + "<br />"
+  + "LINK: " + LINK );
+*/
+  document.write( "<div class='button grey' id='optionitem2'>"
+    + "<h2><a>Searching for another OS or language?</a></h2>"
+    + "<p style='padding-bottom: 0px; '>"
+    + "<a>Select from all available full installation sets and language packs to download your favorite version:</a></p>"
+    + "<div>"
+      + "<form name='download'>"
+      + "<select id='os' name='os'>"
+      + "</select>"
+      + "<select id='lang' name='lang' onchange='getLinkAlt( 0 )'>"
+      + "</select>"
+/*
+      + "<select id='lang' name='lang'>"
+      + "</select>"
+      + "<select id='type' name='type' onchange='getLinkAlt( 0 )'>"
+      + "</select>"
+*/
+/*
+    + "<div>"
+      + "<form name='download'>"
+      + "<select name='os'>"
+      + "<option value='e1' selected='selected'>Choose OS</option>"
+      + "<option value='e2'                    >----------------</option>"
+      + "<option value='win32'                 >Windows         </option>"
+      + "<option value='lnx32r'                >Linux 32-bit RPM</option>"
+      + "<option value='lnx32d'                >Linux 32-bit DEB</option>"
+      + "<option value='lnx64r'                >Linux 64-bit RPM</option>"
+      + "<option value='lnx64d'                >Linux 64-bit DEB</option>"
+      + "<option value='mac32'                 >Mac OS X x86    </option>"
+      + "<option value='mac64'                 >Mac OS X x86-64 </option>"
+      + "</select>"
+
+      + "<select name='lang'>"
+      + "<option value='e1' selected='selected'>Choose language</option>"
+      + "<option value='e2'                    >---------------</option>"
+      + "<option value='en-US'                 >English (US)   </option>"
+      + "<option value='de'                    >German         </option>"
+      + "<option value='fr'                    >French         </option>"
+      + "<option value='it'                    >Italian        </option>"
+      + "<option value='es'                    >Spanish        </option>"
+      + "<option value='nl'                    >Dutch          </option>"
+      + "</select>"
+
+      + "<select name='type' onchange='getLinkAlt( 0 )'>"
+      + "<option value='e1' selected='selected'>Choose install type</option>"
+      + "<option value='e2'                    >-------------------</option>"
+      + "<option value='full'                  >Full Installation  </option>"
+      + "<option value='lp'                    >Language Pack      </option>"
+      + "</select>"
+*/
+      + "<input type='button' name='reset_select' value='Reset' onclick='resetSel()'>"
+      + "</form>"
+/*
+      + "<h3><p><a id='dl_full_link' href='#' title='Choose an OS, then the language!'>Choose an OS, then the language!</a>"
+      + "<a id='dl_lp_link' href='' title=''></a>"
+      + "<a id='dl_help' href='' title=''></a></p></h3>"
+*/
+      + "<h3 style='display: block';><a id='dl_full_link' href='#'"
+      + "title='Choose an OS, then the language'>Choose an OS, then the language</a>"
+      + "<a id='dl_lp_link' href='' title=''></a></h3><br />"
+      + "<p><a style='cursor: pointer'; id='dl_help' href='' title=''></a></p>"
+/*
+      + "<p><a id='dl_full_link' href='" + LINK_FULL + "' title='Version " + VERSION + " | Milestone " + MILESTONE
+      + " | Build ID " + BUILD + " | SVN " + SVN_REV + " | Released: " + REL_DATE + "'><br />"
+      + "<b>" + UI_PLATFORM + "</b> and <b>" + LANG_ARRAY[ 2 ] + "</b> | "
+      + "~" + FILESIZE_FULL + "&nbsp;MByte | Released:&nbsp;" + REL_DATE + "<br /></a>"
+
+      + "<a id='dl_lp_link' href='" + LINK_LP + "' title='Version " + VERSION + " | Milestone " + MILESTONE
+      + " | Build ID " + BUILD + " | SVN " + SVN_REV + " | Released: " + REL_DATE + "'>"
+      + "<b>" + UI_PLATFORM + "</b> and <b>" + LANG_ARRAY[ 2 ] + "</b> | "
+      + "~" + FILESIZE_LP + "&nbsp;MByte | Released:&nbsp;" + REL_DATE + "<br /></a>"
+
+      + "<a id='dl_help' href='http://www.openoffice.org/download/other.html#aoo' "
+      + "title='What is the difference between full installation and language pack?'>What is the difference between full installation and language pack?</a></p>"
+*/
+    + "</div>"
+  + "</div>" );
+
+  // Show some helpful links for SDK, source, checksums, release notes, legacy version.
+  document.write( "<div class=\"sub-grey\">" );
+  document.write( "<p>"
+    + "<a id='dl_full_chk_headline'></a>"
+    + "<a id='dl_full_chk_keys'   href='' title=''></a><a id='space1'></a>"
+    + "<a id='dl_full_chk_asc'    href='' title=''></a><a id='space2'></a>"
+    + "<a id='dl_full_chk_md5'    href='' title=''></a><a id='space3'></a>"
+    + "<a id='dl_full_chk_sha256' href='' title=''></a><a id='space4'></a>"
+    + "<a id='dl_chk_verify' href='' title=''></a><br />"
+    + "<a id='dl_lp_chk_headline'></a>"
+    + "<a id='dl_lp_chk_keys'     href='' title=''></a><a id='space5'></a>"
+    + "<a id='dl_lp_chk_asc'      href='' title=''></a><a id='space6'></a>"
+    + "<a id='dl_lp_chk_md5'      href='' title=''></a><a id='space7'></a>"
+    + "<a id='dl_lp_chk_sha256'   href='' title=''></a>" );
+  document.write( "</div>" );
+
+  fillSelOS();
+
+  //-->
+  </script>
+
+  <!-- Grey: Stable release: No JavaScript enabled -->
+  <noscript>
+  <div class="button grey" id="optionitem2">
+    <h2><a>Download Apache OpenOffice</a></h2>
+    <p><a href="http://www.apache.org/dyn/aoo-closer.cgi/openoffice/"
+    title="Select from all platforms, languages, language packs to download">Your browser does not seem to allow JavaScript
+    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>
+  </noscript>
+
+  <!-- Yellow: Beta Release online -->
+  <script type="text/javascript">
+  <!--
+  if ( BETA_ACTIVE == 1 ) {
+    // Set a specific language ISO code to force to assemble a certain localized build as download URL
+    var NL_LANGUAGE = "";
+    // Get the download URL for Beta releases (>0 = beta mode)
+    var LINK        = getLink( 1 );
+/*
+    document.write ( "Language ISO: " + LANG_ISO + " - has MirrorLink()?: " + hasMirrorLink() + "<br />"
+    + "SourceForge: " + SOURCEFORGE + " - Other: " + OTHER + " - Archive: " + ARCHIVE + "<br />"
+    + "UI_PLATFORM: " + UI_PLATFORM + " - URL_PLATFORM: " + URL_PLATFORM + " - EXTENSION: " + EXTENSION + "<br />"
+    + "LINK: " + LINK );
+*/
+    if ( hasMirrorLink() ) {
+      if ( SOURCEFORGE ) {
+        // If a Beta Release is available for download, then download from Sourceforge with displayed platform and language.
+        document.write( "<div class=\"button yellow\" id=\"optionitem3\" onclick=\"openItem('optionitem3','"
+          + LINK + "') return false;\">"
+          + "<h2><a href='" + LINK + "' title='Version " + BETA_NAME + " | Milestone " + BETA_MILESTONE
+          + " | Build ID " + BETA_BUILD + " | SVN " + BETA_SVN_REV + " | Released: " + BETA_REL_DATE + "'>"
+          + "Download Apache OpenOffice " + BETA_NAME + "</a></h2>"
+          + "<p><a href='" + LINK + "' title='Version " + BETA_NAME + " | Milestone " + BETA_MILESTONE + " | "
+          + "Build ID " + BETA_BUILD + " | SVN " + BETA_SVN_REV + " | Released: " + BETA_REL_DATE + "'>"
+          + "Click here to download for:<br /><b>" + UI_PLATFORM + "</b> and <b>" + LANG_ARRAY[ 2 ] + "</b> | "
+          + "~" + FILESIZE_FULL + " MByte | Released: " + BETA_REL_DATE + "<br />"
+          + "<br /><b>The Beta release is feature complete but not yet fully tested and can contain issues. "
+          + "It is strongly not recommended to use in production!</b></a></p>"
+        + "</div>" );
+      } 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=\"button yellow\" id=\"optionitem1\" onclick=\"openItem('optionitem1','"
+          + LINK + "');" + "return false;\">"
+          + "<h2><a href='" + LINK + "' title='" + LINK + "'>"
+          + "Download Apache OpenOffice</a></h2>"
+          + "<p><a href='" + LINK + "' title='" + LINK + "'>Apache OpenOffice " + BETA_NAME + " for "
+          + "<b>" + UI_PLATFORM + "</b> and <b>" + LANG_ARRAY[ 2 ] + " (" + LANG_ARRAY[ 1 ] + ")</b> is not available. "
+          + "Click here to choose from the alternative download webpage.</a></p>"
+        + "</div>" );
+      } else if ( ARCHIVE ) {
+        // If download URL contains "archive" (-> platform/OS is no longer supported),
+        // then provide a download link to the previous version.
+        document.write( "<div class=\"button yellow\" id=\"optionitem1\" onclick=\"openItem('optionitem1','"
+          + LINK + "');" + "return false;\">"
+          + "<h2><a href='" + LINK + "' title='" + LINK + "'>"
+          + "Download Apache OpenOffice</a></h2>"
+          + "<p><a href='" + LINK + "' title='" + LINK + "'>Apache OpenOffice " + BETA_NAME + " for "
+          + "<b>" + UI_PLATFORM + "</b> and <b>" + LANG_ARRAY[ 2 ] + " (" + LANG_ARRAY[ 1 ] + ")</b> is not available. "
+          + "Click here for the previous version " + PRE_VERSION + ".</a></p>"
+        + "</div>" );
+      }
+    } else {
+      // If browser language do not match with AOO languages, then use "all_beta.html" as download link.
+      // LINK = "http://www.openoffice.org/download/test/all_beta.html";
+      document.write( "<div class=\"button yellow\" id=\"optionitem2\" onclick=\"openItem('optionitem2','"
+        + LINK + "') return false;\">"
+        + "<h2><a href='" + LINK + "' title='" + LINK + "'>"
+        + "Download Apache OpenOffice " + BETA_NAME + "</a></h2>"
+        + "<p><a href='" + LINK + "' title='" + LINK + "'>Apache OpenOffice " + BETA_NAME + " for "
+        + "<b>" + LANG_ARRAY[ 2 ] + " (" + LANG_ARRAY[ 1 ] + ")</b> is not available. "
+        + "Click here to choose from the alternative download webpage.</a></p>"
+      + "</div>" );
+    }
+    // Show some helpful links for SDK, source, checksums, release notes.
+    document.write( "<div class=\"sub-yellow\">" );
+    document.write( "<p>" );
+    if ( CHECKSUM_ASC ) {
+      document.write( "Signatures and hashes: "
+      + "<a href='" + CHECKSUM_KEYS   + "' + title='KEYS signature'>KEYS</a> , "
+      + "<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='../checksums.html' title='How to verify the download with checksums?'>How to verify?</a> | " );
+    }
+    document.write( "<a href='https://cwiki.apache.org/confluence/display/OOOUSERS/AOO+4.1+Release+Notes'"
+      + "title='What is new, what has been improved in Apache OpenOffice " + BETA_NAME + "?'><b>Release Notes</b></a> | "
+      + "<br /><a href='all_beta.html' title='Get all platforms, languages, language packs to download'>"
+      + "<b>Get all platforms, languages, language packs</b></a> | "
+      + "<a href='all_beta.html#source' title='Get the source code and SDK to download'>Source code and SDK</a></p>"
+    + "</div>" );
+  } else if ( BETA_ACTIVE == 0 ) {
+    // Yellow: Beta Release coming soon
+    var ANN_LINK  = "https://blogs.apache.org/OOo/";
+    var ANN_TITLE = "Official blog of Apache OpenOffice";
+    document.write( "<div class=\"button yellow\" id=\"optionitem2_1\" onclick=\"openItem('optionitem2_1','"
+      + ANN_LINK + "') return false;\">"
+      + "<h2><a href='" + ANN_LINK + "' title='" + ANN_TITLE + "'>"
+      + "Get Apache OpenOffice " + BETA_NAME + "<br /><small>(planned for: " + BETA_REL_DATE + ")</small></a></h2>"
+      + "<p><a href='" + ANN_LINK + "' title='" + ANN_TITLE + "'><br />"
+      + "The Beta release is not yet available. Please make sure to come back on the release date to download and test the "
+      + "new version.</a></p>"
+    + "</div>" );
+  } else {
+    // Yellow: Beta Release, show nothing as it is not at all yet ready
+  }
+  //-->
+  </script>
+
+  <!-- Yellow: Beta: No JavaScript enabled -->
+  <noscript>
+  <div class="button yellow" id="optionitem3" onclick="openItem('optionitem3','all_beta.html'); return false;">
+    <h2><a href="all_beta.html" title="Select from all platforms, languages, language packs to download">
+    Download Apache OpenOffice Beta</a></h2>
+    <p><a href="http://sourceforge.net/projects/openofficeorg.mirror/files/"
+    title="Select from all platforms, languages, language packs to download">Your browser does not seem to allow JavaScript
+    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-yellow">
+    <p><a href="all_beta.html" title="Get all platforms, languages, language packs to download">
+    <b>Get all platforms, languages, language packs</b></a> |
+    <a href="../../development/releases/dev_index.html"
+    title="What is new, what has been improved in Apache OpenOffice?"><b>Release Notes</b></a></p>
+  </div>
+  </noscript>
+
+  <!-- Light Blue: Share download with social networks -->
+  <div class="button lightblue" id="optionitem4">
+    <h2><a style="cursor: default;" title="Help spread the word and tell your friends about Apache OpenOffice">
+    Help Spread the Word</a></h2>
+    <p style="cursor: default;" id="ShareDownloadLinks">
+    <a style="cursor: default;" title="Help spread the word and tell your friends about Apache OpenOffice">
+    Please tell your friends about Apache OpenOffice.</a>
+    <a style="display: inline; padding: 0 5px 0 30px;" href="javascript:shareFacebook()"
+    title="Please tell your friends about Apache OpenOffice via Facebook">
+    <img src="../../images/logo-facebook-32.png" alt="Please tell your friends about Apache OpenOffice via Facebook" /></a>
+    <a style="display: inline; padding: 0 5px;" href="javascript:shareTwitter()"
+    title="Please tell your friends about Apache OpenOffice via Twitter">
+    <img src="../../images/logo-twitter-32.png" alt="Please tell your friends about Apache OpenOffice via Twitter" /></a>
+    <a style="display: inline; padding: 0 5px;" href="javascript:shareGooglePlus()"
+    title="Please tell your friends about Apache OpenOffice via Google+">
+    <img src="../../images/logo-googleplus-32.png" alt="Please tell your friends about Apache OpenOffice via Google+" /></a>
+    </p>
+  </div>
+
+  <!-- Blue: Extensions -->
+  <div class="button blue" id="optionitem5" onclick="openItem('optionitem5','http://extensions.openoffice.org');
+    return false;">
+    <h2><a href="http://extensions.openoffice.org"
+    title="Choose from a wide range of additional and individual functionality">
+    Get Apache OpenOffice Extensions and Dictionaries</a></h2>
+    <p><a href="http://extensions.openoffice.org"
+    title="Choose from a wide range of additional and individual functionality">
+    Extend your Apache OpenOffice functionality with a large and growing library of extensions and dictionaries from
+    other users.</a></p>
+  </div>
 
+  <!-- Blue: Templates -->
+  <div class="button blue" id="optionitem6" onclick="openItem('optionitem6','http://templates.openoffice.org');
+    return false;">
+    <h2><a href="http://templates.openoffice.org"
+    title="Choose from a wide range of additional and individual documents">
+    Get Apache OpenOffice Templates</a></h2>
+    <p><a href="http://templates.openoffice.org"
+    title="Choose from a wide range of additional and individual documents">
+    Extend your Apache OpenOffice creativity with a large and growing library of templates from other users.</a></p>
+  </div>
+
+  <!-- Yellow: Release Candidate online -->
+  <script type="text/javascript">
+  /*
+  <!--
+  if ( RC_ACTIVE == 1 ) {
+    document.write( "<div class=\"button yellow\" id=\"optionitem4\" onclick=\"openItem('optionitem4',"
+      + "'all_rc.html#untested-full');"
+      + "return false;\">"
+      + "<h2><a href='all_rc.html#untested-full' title='Select from other platforms and languages to download'>"
+      + "Get OpenOffice.org Release Candidates</a></h2>"
+      + "<p><a href='all_rc.html#untested-full' title='Select from other platforms and languages to download'>"
+      + "<b>Most recent: OOo " + RC_NAME + " " + RC_NUMBER + "</b></a></p>"
+    + "</div>" );
+    document.write( "<div class=\"sub-yellow\">"
+      + "<p><a href='all_rc.html' title='Get all platforms, languages, language packs to download'>"
+      + "Get all platforms, languages, language packs</a> | "
+      + "<a href='http://www.openoffice.org/development/releases/" + RC_BUILD + ".html'"
+      + "title='What is new, what has been improved in OpenOffice.org " + RC_NAME + RC_NUMBER + "?'>Release Notes</a> | "
+      + "<a href='next/md5sums/" + RC_BUILD + "_md5sums.txt' title='MD5 checksums for OpenOffice.org " + RC_NAME + RC_NUMBER
+      + "'>MD5 checksums</a></p>"
+    + "</div>" );
+  } else if ( RC_ACTIVE == 0 ) {
+  // Yellow: Release Candidate coming soon
+    document.write( "<div class=\"button yellow\" id=\"optionitem4\">"
+      + "<h2><a>Get OpenOffice.org Release Candidate <small>(" + RC_NAME + RC_NUMBER + " coming soon)</small></a></h2>"
+      + "<p><a>A wide range of platforms and languages will be available."
+      + "<br /><b>Important:</b> These builds are nearly ready but needs to be finally tested and are therefore not "
+      + "released.</a></p>"
+    + "</div>" );
+  }
+  //-->
+  */
+  </script>
+
+  <!-- Yellow: Release Candidate: No JavaScript enabled -->
+  <!--
+  <noscript>
+  <div class="button yellow" id="optionitem4" onclick="openItem('optionitem4','all_rc.html#untested-full'); return false;">
+    <h2><a href="all_rc.html" title="Select from all platforms, languages, language packs to download">
+    Get OpenOffice.org Release Candidate</a></h2>
+    <p><a href="all_rc.html" title="Select from other platforms, languages, language packs to download">
+    JavaScript needs to be enabled to take full advantage of this download section. Currently it does not seem to be enabled.
+    Please click on this text to use the alternative webpage to select the favorite platform and language.</a></p>
+  </div>
+  <div class="sub-yellow">
+    <p><a href="all_rc.html" title="Get all platforms, languages, language packs to download">
+    Get all platforms, languages, language packs</a> |
+    <a href="http://www.openoffice.org/development/releases/dev_index.html"
+    title="What is new, what has been improved in OpenOffice.org?">Release Notes</a> |
+    <a href="next/md5sums/index.html" title="MD5 checksums for OpenOffice.org">MD5 checksums</a></p>
+  </div>
+  </noscript>
+  //-->
+
+  <!-- Red: Developer Snapshots online -->
+  <script type="text/javascript">
+  /*
+  <!--
+  document.write( "<div class=\"button orange\" id=\"optionitem5\" onclick=\"openItem('optionitem5','next/index.html');"
+    + "return false;\">"
+    + "<h2><a href='next/index.html' title='Select from the most recent OpenOffice.org Developer Snapshots'>"
+    + "Get OpenOffice.org Developer Snapshots</a></h2>" );
+    document.write( "<p><a href='next/index.html' title='Select from the most recent OpenOffice.org Developer "
+    + "Snapshots'><b>" );
+    if ( DEV1_VERSION != "" ) {
+      document.write( "Most recent: " + DEV1_VERSION + " (" + DEV1_BUILD + ") and " + DEV2_VERSION + " (" + DEV2_BUILD
+        + ")" );
+    } else {
+      document.write( "Most recent: " + DEV2_VERSION + " (" + DEV2_BUILD + ")" );
+    }
+    document.write( "</b></a></p>"
+  + "</div>" );
+  document.write( "<div class=\"sub-orange\">"
+    + "<p><a href='next/other.html' title='Get all platforms, languages, SDK builds, source tarballs to download'>"
+    + "Get all platforms, languages, SDK builds, source tarballs</a> | "
+    + "<a href='http://www.openoffice.org/development/releases/dev_index.html'"
+    + "title='What is new, what has been improved in OpenOffice.org?'>Release Notes</a> | "
+    + "<a href='next/md5sums/index.html' title='MD5 checksums for OpenOffice.org'>MD5 checksums</a></p>"
+  + "</div>" );
+  //-->
+  */
+  </script>
+
+  <!-- Red: Developer Snapshots: No JavaScript enabled -->
+  <!--
+  <noscript>
+  <div class="button orange" id="optionitem5" onclick="openItem('optionitem5','next/index.html'); return false;">
+    <h2><a href="next/other.html" title="Select from the most recent OpenOffice.org Developer Snapshots">
+    Get OpenOffice.org Developer Snapshots</a></h2>
+    <p><a href="next/other.html" title="Select from the most recent OpenOffice.org Developer Snapshots">
+    JavaScript needs to be enabled to take full advantage of this download section. Currently it does not seem to be enabled.
+    Please click on this text to use the alternative webpage to select the favorite platform and language.</a></p>
+  </div>
+  <div class="sub-orange">
+    <p><a href="next/other.html" title="Get all platforms, languages, language packs, SDK builds, source tarballs to
+    download">
+    Get all platforms, languages, language packs, SDK builds, source tarballs</a> |
+    <a href="http://www.openoffice.org/development/releases/dev_index.html" title="What is new, what has been improved in
+    OpenOffice.org?">
+    Release Notes</a> | <a href="next/md5sums/index.html" title="MD5 checksums for OpenOffice.org">MD5 checksums</a></p>
+  </div>
+  </noscript>
+  //-->
+</div>
+
+<div class="additionalinformation">
+
+  <h2>Additional Information</h2>
+  <ul>
+    <li><a href="../../license.html"
+    title="Apache OpenOffice License"><b>License</b></a></li>
+    <li><a href="other.html#source"
+    title="For developers and power users: Get the source to build Apache OpenOffice from scratch."><b>Source</b></a>
+    <li><a href="http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO"
+    title="For developers and power users: HowTo guide to build Apache OpenOffice from scratch.">Building Guide</a></li>
+    <li><a href="../../stats/index.html"
+    title="Download and other statistics">Download Statistics</a></li>
+  </ul>
+
+  <h3>Documentation</h3>
+  <ul>
+    <li><a href="https://cwiki.apache.org/confluence/display/OOOUSERS/Releases"
+    title="When are new releases planned?"><b>Release Schedule</b></a></li>
+    <li><a href="http://wiki.services.openoffice.org/wiki/Product_Release"
+    title="When were old releases planned?"> Historic Release Schedule</a></li>
+    <li><a href="../../development/releases/index.html"
+    title="What is new, what has been improved in Apache OpenOffice?">Release Notes</a></li>
+    <li><a href="../checksums.html"
+    title="How to verify the downloaded file with signatures and hashes?"><b>Verify the downloaded file</b></a></li>
+    <li><a href="../../product/index.html"
+    title="A tour through all Apache OpenOffice applications">Product Information</a></li>
+    <li><a href="../../dev_docs/source/sys_reqs_aoo40.html"
+    title="HDD: ~300MB free - Memory: &gt;128MB - Processor: &gt;500MHz - OS: Win, Linux, Mac OS, Solaris, FreeBSD...">
+    <b>System Requirements</b></a></li>
+    <li><a href="../common/instructions.html"
+    title="Instructions for installing Apache OpenOffice on Windows, Linux and Mac OS machines"><b>Install Guides</b></a> and
+    <a href="../../documentation/index.html"
+    title="Extensive user manuals for every day use"><b>User Guides</b></a></li>
+    <li><a href="../../development/releases/eol.html"
+    title="Information about releases that have reached End-Of-Life status">End-Of-Life Information</a></li>
+    <li><a href="../../support/index.html"
+    title="If the information above did not answer your question: Free and paid support!"><b>Support</b></a></li>
+    <li><a href="../common/java.html"
+    title="Explains why to use Java and what it is">Java and Apache OpenOffice</a></li>
+    <!--<li><a href="http://java.com/en/download/manual_v6.jsp"
+    title="Get the Java Runtime Environment (JRE 1.6)">Get the Java Runtime Environment (JRE 1.6)</a></li>-->
+  </ul>
+
+  <h3>Additional Resources</h3>
+  <ul>
+    <li><a href="http://extensions.openoffice.org/en/search?query=dictionaries"
+    title="Add additional language support to your Apache OpenOffice installation"><b>Dictionaries</b></a></li>
+    <li><a href="http://templates.openoffice.org"
+    title="Get a headstart with Apache OpenOffice"><b>Templates</b></a></li>
+    <li><a href="http://extensions.openoffice.org"
+    title="Choose from a wide range of additional and individual functionality"><b>Extensions</b></a></li>
+    <li><a href="http://openoffice.apache.org/native-lang.html"
+    title="Information and support in your favorite language">Localizations</a></li>
+    <li><a href="../devbuilds.html"
+    title="For QA volunteers: Development Builds">Development Builds</a></li>
+    <li><a href="../sdk/index.html"
+    title="For developers: Software Development Kit">Software Development Kit (SDK)</a></li>
+    <!--
+    <li><a href="../../distribution/index.html"
+    title="FAQ for distributions ">Distributions FAQ</a></li>
+    <li><a href="../../distribution/cdrom/iso_download.html"
+    title="Download OpenOffice.org as ISO file and burn it yourself on CD-ROM">ISO images</a> and
+    <a href="../../distribution/cdrom/index.html#cdrom"
+    title="If you cannot download OpenOffice.org, order a CD-ROM">Order CD-ROM</a>
+    <li><a href="../../distribution/mirrors#mirrors"
+    title="To get alternative download locations">All Mirror Server</a><br /></li>
+    -->
+    <li><a href="http://www.apache.org/dyn/aoo-closer.cgi/openoffice/"
+    title="Use Apache mirrors to download Apache OpenOffice">Alternative download mirrors</a><br /></li>
+    <li><a href="../archive.html"
+    title="Download legacy and archived releases">Archived and legacy releases</a><br /></li>
+  </ul>
+
+  <div id="SupportedAndSupporters">
+    <p>&nbsp;</p>
+    <a href="http://validator.w3.org/check?uri=referer" target="_blank"
+    title="W3C Markup Validation Service - Check the markup (HTML, XHTML, ...) of Web documents">
+    <img src="../../images/valid-xhtml10-blue.png"
+    alt="W3C Markup Validation Service - Check the markup (HTML, XHTML, ...) of Web documents" /></a>
+  </div>
 </div>