incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject svn commit: r1385107 - /incubator/ooo/ooo-site/trunk/content/download/test/new/download_tables.js
Date Sat, 15 Sep 2012 16:28:08 GMT
Author: marcus
Date: Sat Sep 15 16:28:08 2012
New Revision: 1385107

URL: http://svn.apache.org/viewvc?rev=1385107&view=rev
Log:
Deleted some code (e.g., release mode, variables) to simplify the table creation

Modified:
    incubator/ooo/ooo-site/trunk/content/download/test/new/download_tables.js

Modified: incubator/ooo/ooo-site/trunk/content/download/test/new/download_tables.js
URL: http://svn.apache.org/viewvc/incubator/ooo/ooo-site/trunk/content/download/test/new/download_tables.js?rev=1385107&r1=1385106&r2=1385107&view=diff
==============================================================================
--- incubator/ooo/ooo-site/trunk/content/download/test/new/download_tables.js (original)
+++ incubator/ooo/ooo-site/trunk/content/download/test/new/download_tables.js Sat Sep 15 16:28:08 2012
@@ -1,62 +1,46 @@
 /*
  * Overview of all functions defined below
- * function write_table     ( REL_MODE )
+ * function write_table     ()
  * function write_empty_row ()
  * function write_top       ()
  * function write_header    ( FIRST_HEADER )
- * function write_build     ( URL_AOO, URL_HASH, PLATFORM, INSTALL_LANG, i, k, VERSION, AOO, TYPE )
- * function write_lang      ( REL_MODE, URL_AOO, URL_HASH, PLATFORM, FULL_LANG, LP_LANG, VERSION, AOO )
- * function write_sdk       ( REL_MODE, URL_SDK, URL_SRC, URL_HASH, PLATFORM, SDK_LANG, VERSION, AOO )
+ * function write_build     ( URL_AOO,          URL_HASH, PLATFORM, INSTALL_LANG, i, k, VERSION, AOO, TYPE )
+ * function write_lang      ( URL_AOO,          URL_HASH, PLATFORM, FULL_LANG, LP_LANG, VERSION, AOO )
+ * function write_sdk       ( URL_SDK, URL_SRC, URL_HASH, PLATFORM, SDK_LANG,           VERSION, AOO )
  */
 
 /*
  * Define global variables 
  */
 var COLSPAN		= 9;	// Defines the default number of columns for the table (default = 9)
-var ROW_COUNT		= 1;	// Counts the number of rows (default = 1)
-var FULL_LANG_COUNT	= 1;	// Counts the max number of languages for full install sets (default = 1)
-var LP_LANG_COUNT	= 1;	// Counts the max number of languages for language packs (default = 1)
+var ROW_COUNT		= 1;	// Counts the number of rows (start = 1)
+var FULL_LANG_COUNT	= 1;	// Counts the max number of languages for full install sets (start = 1)
+var LP_LANG_COUNT	= 1;	// Counts the max number of languages for language packs (start = 1)
 var LANG_MAX		= 133;  // The maximal available number of languages (see the bottom)
 
 /*
  * Define base variables
  * The main entry for writting the table into the webpage 
  */
-function write_table( REL_MODE ) {
-	// Depending from the release mode variables
-	if ( REL_MODE == "aoo" ) {
-		var PLATFORM	= AOO_PLATFORM;
-		var FULL_LANG	= AOO_FULL_LANG;
-		var LP_LANG	= AOO_LP_LANG;
-		var SDK_LANG	= AOO_SDK_LANG;
-		var AOO		= "/Apache_OpenOffice_incubating_";
-		var AOO_SDK	= "/Apache_OpenOffice_incubating-SDK_";
-		var VERSION	= AOO_VERSION;
-		var NAME	= "Apache OpenOffice " + AOO_VERSION + " - Full installation sets and language packs";
-		var DEV		= "";
-		var DEV_SRC	= "/source/aoo-";
-	} else {
-		// Write a hint when the release mode is unknown to have a starting point for debugging
-		document.write( "" );
-		document.write( "write_table(): Unknown release mode: '" + REL_MODE + "'" );
-		document.write( "<br /><br />" );
-
-		return;
-	}
+function write_table() {
+	var AOO		= "/Apache_OpenOffice_incubating_";
+	var AOO_SDK	= "/Apache_OpenOffice_incubating-SDK_";
+	var AOO_SRC	= "/source/aoo-";
 	var URL_AOO	= SOURCEFORGE_BASE_URL + "files/";
-	var URL_SDK	= SOURCEFORGE_BASE_URL + "files/stable/" + VERSION + AOO_SDK + VERSION;
-	var URL_SRC	= APACHE_BASE_URL                        + VERSION + DEV_SRC;
-	var URL_HASH	= APACHE_DIST_BASE_URL;
+	var URL_SDK	= SOURCEFORGE_BASE_URL + "files/stable/" + VERSION + "/Apache_OpenOffice_incubating-SDK_" + VERSION;
+	var URL_SRC	= APACHE_BASE_URL                        + VERSION + "/source/aoo-";
+	var URL_HASH	= APACHE_DIST_BASE_URL + "files/";
 
 	document.write( "<hr style='display: block;' />" );
 	document.write( "<div class='largetable'>" );
-	document.write( "<h3 id='" + REL_MODE + "'>" + NAME + "</h3><br />" );
+	document.write( "<h3 id='aoo'>Apache OpenOffice " + VERSION );
+	document.write( " - Full installation sets and language packs</h3><br />" );
 	document.write( "<table class='builds' cellpadding='2' cellspacing='2'>" );
 
 	write_header( 1 );
 	document.write( "<tbody>" );
-	write_lang( REL_MODE, URL_AOO,                   URL_HASH,          PLATFORM, FULL_LANG, LP_LANG, VERSION, AOO     );
-	write_sdk(  REL_MODE,          URL_SDK, URL_SRC, URL_HASH, DEV_SRC, PLATFORM, SDK_LANG,           VERSION, AOO_SDK );
+	write_lang( URL_AOO,                   URL_HASH,          PLATFORM, FULL_LANG, LP_LANG, VERSION, AOO     );
+	write_sdk(           URL_SDK, URL_SRC, URL_HASH, AOO_SRC, PLATFORM, SDK_LANG,           VERSION, AOO_SDK );
 	write_top();
 
 	document.write( "</tbody></table>" );
@@ -106,17 +90,17 @@ function write_header( FIRST_HEADER ) {
 	document.write( "<thead><tr>" );
 	document.write( "<th colspan='2' style='text-align: center'>"                  + SMALL1 + "Language<br />The names do not refer to countries.<br />&nbsp;" + SMALL2 + "</th>" );
 	document.write( "<th><span style='text-align: center' class='builds'>"         + SMALL1 + "Type<br />&nbsp;<br />&nbsp;"     + SMALL2 + "</span></th>" );
-	if ( AOO_PLATFORM.indexOf( "Win_x86" ) > -1 )
+	if ( PLATFORM.indexOf( "Win_x86" ) > -1 )
 		document.write( "<th><span style='text-align: center' class='builds'>" + SMALL1 + "Windows    <br />Intel <br />EXE" + SMALL2 + "</span></th>" );
-	if ( AOO_PLATFORM.indexOf( "Linux_x86_rpm" ) > -1 )
+	if ( PLATFORM.indexOf( "Linux_x86_rpm" ) > -1 )
 		document.write( "<th><span style='text-align: center' class='builds'>" + SMALL1 + "Linux      <br />Intel <br />RPM" + SMALL2 + "</span></th>" );
-	if ( AOO_PLATFORM.indexOf( "Linux_x86_deb" ) > -1 )
+	if ( PLATFORM.indexOf( "Linux_x86_deb" ) > -1 )
 		document.write( "<th><span style='text-align: center' class='builds'>" + SMALL1 + "Linux      <br />Intel <br />DEB" + SMALL2 + "</span></th>" );
-	if ( AOO_PLATFORM.indexOf( "Linux_x86-64_rpm" ) > -1 )
+	if ( PLATFORM.indexOf( "Linux_x86-64_rpm" ) > -1 )
 		document.write( "<th><span style='text-align: center' class='builds'>" + SMALL1 + "Linux      <br />x86-64<br />RPM" + SMALL2 + "</span></th>" );
-	if ( AOO_PLATFORM.indexOf( "Linux_x86-64_deb" ) > -1 )
+	if ( PLATFORM.indexOf( "Linux_x86-64_deb" ) > -1 )
 		document.write( "<th><span style='text-align: center' class='builds'>" + SMALL1 + "Linux      <br />x86-64<br />DEB" + SMALL2 + "</span></th>" );
-	if ( AOO_PLATFORM.indexOf( "Mac_OS_x86" ) > -1 )
+	if ( PLATFORM.indexOf( "Mac_OS_x86" ) > -1 )
 		document.write( "<th><span style='text-align: center' class='builds'>" + SMALL1 + "Mac&nbsp;OS<br />Intel <br />DMG" + SMALL2 + "</span></th>" );
 	document.write( "</tr></thead>" );
 }
@@ -147,117 +131,117 @@ function write_build( URL_AOO, URL_HASH,
 
 	if ( INSTALL_LANG[ k ] != "en-US" ) {
 		// Write download links for localized builds and its checksums
-		if ( AOO_PLATFORM.indexOf( "Win_x86" ) > -1 ) {
-			document.write( "<td style='text-align: center'><a href='" + URL_AOO  + "localized/"       + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_Win_x86_"       + TYPE          + "_" + INSTALL_LANG[ k ] + ".exe/download'><b>exe</b></a><br /><br />" );
-			document.write( "                               <a href='" + URL_HASH + "files/localized/" + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_Win_x86_"       + TYPE          + "_" + INSTALL_LANG[ k ] + ".exe.asc'>ASC</a>" );
-			document.write( "                               <a href='" + URL_HASH + "files/localized/" + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_Win_x86_"       + TYPE          + "_" + INSTALL_LANG[ k ] + ".exe.md5'>MD5</a><br />" );
-			document.write( "                               <a href='" + URL_HASH + "files/localized/" + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_Win_x86_"       + TYPE          + "_" + INSTALL_LANG[ k ] + ".exe.sha256'>SHA256</a></td>" );
-		}
-		if ( AOO_PLATFORM.indexOf( "Linux_x86_rpm" ) > -1 ) {
-			document.write( "<td style='text-align: center'><a href='" + URL_AOO  + "localized/"       + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE + "-rpm" + "_" + INSTALL_LANG[ k ] + ".tar.gz/download'><b>rpm</b></a><br /><br />" );
-			document.write( "                               <a href='" + URL_HASH + "files/localized/" + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.asc'>ASC</a>" );
-			document.write( "                               <a href='" + URL_HASH + "files/localized/" + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.md5'>MD5</a><br />" );
-			document.write( "                               <a href='" + URL_HASH + "files/localized/" + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.sha256'>SHA256</a></td>" );
-		}
-		if ( AOO_PLATFORM.indexOf( "Linux_x86_deb" ) > -1 ) {
-			document.write( "<td style='text-align: center'><a href='" + URL_AOO  + "localized/"       + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE + "-deb" + "_" + INSTALL_LANG[ k ] + ".tar.gz/download'><b>deb</b></a><br /><br />" );
-			document.write( "                               <a href='" + URL_HASH + "files/localized/" + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.asc'>ASC</a>" );
-			document.write( "                               <a href='" + URL_HASH + "files/localized/" + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.md5'>MD5</a><br />" );
-			document.write( "                               <a href='" + URL_HASH + "files/localized/" + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.sha256'>SHA256</a></td>" );
-		}
-		if ( AOO_PLATFORM.indexOf( "Linux_x86-64_rpm" ) > -1 ) {
-			document.write( "<td style='text-align: center'><a href='" + URL_AOO  + "localized/"       + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE + "-rpm" + "_" + INSTALL_LANG[ k ] + ".tar.gz/download'><b>rpm</b></a><br /><br />" );
-			document.write( "                               <a href='" + URL_HASH + "files/localized/" + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.asc'>ASC</a>" );
-			document.write( "                               <a href='" + URL_HASH + "files/localized/" + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.md5'>MD5</a><br />" );
-			document.write( "                               <a href='" + URL_HASH + "files/localized/" + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.sha256'>SHA256</a></td>" );
-		}
-		if ( AOO_PLATFORM.indexOf( "Linux_x86-64_deb" ) > -1 ) {
-			document.write( "<td style='text-align: center'><a href='" + URL_AOO  + "localized/"       + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE + "-deb" + "_" + INSTALL_LANG[ k ] + ".tar.gz/download'><b>deb</b></a><br /><br />" );
-			document.write( "                               <a href='" + URL_HASH + "files/localized/" + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.asc'>ASC</a>" );
-			document.write( "                               <a href='" + URL_HASH + "files/localized/" + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.md5'>MD5</a><br />" );
-			document.write( "                               <a href='" + URL_HASH + "files/localized/" + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.sha256'>SHA256</a></td>" );
-		}
-		if ( AOO_PLATFORM.indexOf( "Mac_OS_x86" ) > -1 ) {
-			document.write( "<td style='text-align: center'><a href='" + URL_AOO  + "localized/"       + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_MacOS_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".dmg/download'><b>dmg</b></a><br /><br />" );
-			document.write( "                               <a href='" + URL_HASH + "files/localized/" + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_MacOS_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".dmg.asc'>ASC</a>" );
-			document.write( "                               <a href='" + URL_HASH + "files/localized/" + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_MacOS_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".dmg.md5'>MD5</a><br />" );
-			document.write( "                               <a href='" + URL_HASH + "files/localized/" + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_MacOS_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".dmg.sha256'>SHA256</a></td>" );
+		if ( PLATFORM.indexOf( "Win_x86" ) > -1 ) {
+			document.write( "<td style='text-align: center'><a href='" + URL_AOO  + "localized/" + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_Win_x86_"       + TYPE          + "_" + INSTALL_LANG[ k ] + ".exe/download'><b>exe</b></a><br /><br />" );
+			document.write( "                               <a href='" + URL_HASH + "localized/" + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_Win_x86_"       + TYPE          + "_" + INSTALL_LANG[ k ] + ".exe.asc'>ASC</a>" );
+			document.write( "                               <a href='" + URL_HASH + "localized/" + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_Win_x86_"       + TYPE          + "_" + INSTALL_LANG[ k ] + ".exe.md5'>MD5</a><br />" );
+			document.write( "                               <a href='" + URL_HASH + "localized/" + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_Win_x86_"       + TYPE          + "_" + INSTALL_LANG[ k ] + ".exe.sha256'>SHA256</a></td>" );
+		}
+		if ( PLATFORM.indexOf( "Linux_x86_rpm" ) > -1 ) {
+			document.write( "<td style='text-align: center'><a href='" + URL_AOO  + "localized/" + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE + "-rpm" + "_" + INSTALL_LANG[ k ] + ".tar.gz/download'><b>rpm</b></a><br /><br />" );
+			document.write( "                               <a href='" + URL_HASH + "localized/" + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.asc'>ASC</a>" );
+			document.write( "                               <a href='" + URL_HASH + "localized/" + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.md5'>MD5</a><br />" );
+			document.write( "                               <a href='" + URL_HASH + "localized/" + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.sha256'>SHA256</a></td>" );
+		}
+		if ( PLATFORM.indexOf( "Linux_x86_deb" ) > -1 ) {
+			document.write( "<td style='text-align: center'><a href='" + URL_AOO  + "localized/" + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE + "-deb" + "_" + INSTALL_LANG[ k ] + ".tar.gz/download'><b>deb</b></a><br /><br />" );
+			document.write( "                               <a href='" + URL_HASH + "localized/" + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.asc'>ASC</a>" );
+			document.write( "                               <a href='" + URL_HASH + "localized/" + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.md5'>MD5</a><br />" );
+			document.write( "                               <a href='" + URL_HASH + "localized/" + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.sha256'>SHA256</a></td>" );
+		}
+		if ( PLATFORM.indexOf( "Linux_x86-64_rpm" ) > -1 ) {
+			document.write( "<td style='text-align: center'><a href='" + URL_AOO  + "localized/" + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE + "-rpm" + "_" + INSTALL_LANG[ k ] + ".tar.gz/download'><b>rpm</b></a><br /><br />" );
+			document.write( "                               <a href='" + URL_HASH + "localized/" + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.asc'>ASC</a>" );
+			document.write( "                               <a href='" + URL_HASH + "localized/" + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.md5'>MD5</a><br />" );
+			document.write( "                               <a href='" + URL_HASH + "localized/" + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.sha256'>SHA256</a></td>" );
+		}
+		if ( PLATFORM.indexOf( "Linux_x86-64_deb" ) > -1 ) {
+			document.write( "<td style='text-align: center'><a href='" + URL_AOO  + "localized/" + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE + "-deb" + "_" + INSTALL_LANG[ k ] + ".tar.gz/download'><b>deb</b></a><br /><br />" );
+			document.write( "                               <a href='" + URL_HASH + "localized/" + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.asc'>ASC</a>" );
+			document.write( "                               <a href='" + URL_HASH + "localized/" + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.md5'>MD5</a><br />" );
+			document.write( "                               <a href='" + URL_HASH + "localized/" + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.sha256'>SHA256</a></td>" );
+		}
+		if ( PLATFORM.indexOf( "Mac_OS_x86" ) > -1 ) {
+			document.write( "<td style='text-align: center'><a href='" + URL_AOO  + "localized/" + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_MacOS_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".dmg/download'><b>dmg</b></a><br /><br />" );
+			document.write( "                               <a href='" + URL_HASH + "localized/" + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_MacOS_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".dmg.asc'>ASC</a>" );
+			document.write( "                               <a href='" + URL_HASH + "localized/" + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_MacOS_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".dmg.md5'>MD5</a><br />" );
+			document.write( "                               <a href='" + URL_HASH + "localized/" + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_MacOS_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".dmg.sha256'>SHA256</a></td>" );
 		}
 	} else if ( URL_AOO.indexOf( "SDK" ) > -1 ) {
 		// Write download links for SDK VERSIONs and its checksums
-		if ( AOO_PLATFORM.indexOf( "Win_x86" ) > -1 ) {
-			document.write( "<td style='text-align: center'><a href='" + URL_AOO  +                                                                      "_Win_x86_"           + TYPE          + "_" + INSTALL_LANG[ k ] + ".exe/download'><b>exe</b></a><br /><br />" );
-			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_Win_x86_"       + TYPE          + "_" + INSTALL_LANG[ k ] + ".exe.asc'>ASC</a>" );
-			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_Win_x86_"       + TYPE          + "_" + INSTALL_LANG[ k ] + ".exe.md5'>MD5</a><br />" );
-			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_Win_x86_"       + TYPE          + "_" + INSTALL_LANG[ k ] + ".exe.sha256'>SHA256</a></td>" );
-		}
-		if ( AOO_PLATFORM.indexOf( "Linux_x86_rpm" ) > -1 ) {
-			document.write( "<td style='text-align: center'><a href='" + URL_AOO  +                                                                      "_Linux_x86_"         + TYPE + "-rpm" + "_" + INSTALL_LANG[ k ] + ".tar.gz/download'><b>rpm</b></a><br /><br />" );
-			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.asc'>ASC</a>" );
-			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.md5'>MD5</a><br />" );
-			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.sha256'>SHA256</a></td>" );
-		}
-		if ( AOO_PLATFORM.indexOf( "Linux_x86_deb" ) > -1 ) {
-			document.write( "<td style='text-align: center'><a href='" + URL_AOO  +                                                                      "_Linux_x86_"         + TYPE + "-deb" + "_" + INSTALL_LANG[ k ] + ".tar.gz/download'><b>deb</b></a><br /><br />" );
-			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.asc'>ASC</a>" );
-			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.md5'>MD5</a><br />" );
-			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.sha256'>SHA256</a></td>" );
-		}
-		if ( AOO_PLATFORM.indexOf( "Linux_x86-64_rpm" ) > -1 ) {
-			document.write( "<td style='text-align: center'><a href='" + URL_AOO  +                                                                      "_Linux_x86-64_"      + TYPE + "-rpm" + "_" + INSTALL_LANG[ k ] + ".tar.gz/download'><b>rpm</b></a><br /><br />" );
-			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.asc'>ASC</a>" );
-			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.md5'>MD5</a><br />" );
-			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.sha256'>SHA256</a></td>" );
-		}
-		if ( AOO_PLATFORM.indexOf( "Linux_x86-64_deb" ) > -1 ) {
-			document.write( "<td style='text-align: center'><a href='" + URL_AOO  +                                                                      "_Linux_x86-64_"      + TYPE + "-deb" + "_" + INSTALL_LANG[ k ] + ".tar.gz/download'><b>deb</b></a><br /><br />" );
-			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.asc'>ASC</a>" );
-			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.md5'>MD5</a><br />" );
-			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.sha256'>SHA256</a></td>" );
-		}
-		if ( AOO_PLATFORM.indexOf( "Mac_OS_x86" ) > -1 ) {
-			document.write( "<td style='text-align: center'><a href='" + URL_AOO  +                                                                      "_MacOS_x86_"         + TYPE          + "_" + INSTALL_LANG[ k ] + ".dmg/download'><b>dmg</b></a><br /><br />" );
-			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_MacOS_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".dmg.asc'>ASC</a>" );
-			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_MacOS_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".dmg.md5'>MD5</a><br />" );
-			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_MacOS_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".dmg.sha256'>SHA256</a></td>" );
+		if ( PLATFORM.indexOf( "Win_x86" ) > -1 ) {
+			document.write( "<td style='text-align: center'><a href='" + URL_AOO  +                                                                    "_Win_x86_"       + TYPE          + "_" + INSTALL_LANG[ k ] + ".exe/download'><b>exe</b></a><br /><br />" );
+			document.write( "                               <a href='" + URL_HASH + "stable/"    +                           VERSION + AOO + VERSION + "_Win_x86_"       + TYPE          + "_" + INSTALL_LANG[ k ] + ".exe.asc'>ASC</a>" );
+			document.write( "                               <a href='" + URL_HASH + "stable/"    +                           VERSION + AOO + VERSION + "_Win_x86_"       + TYPE          + "_" + INSTALL_LANG[ k ] + ".exe.md5'>MD5</a><br />" );
+			document.write( "                               <a href='" + URL_HASH + "stable/"    +                           VERSION + AOO + VERSION + "_Win_x86_"       + TYPE          + "_" + INSTALL_LANG[ k ] + ".exe.sha256'>SHA256</a></td>" );
+		}
+		if ( PLATFORM.indexOf( "Linux_x86_rpm" ) > -1 ) {
+			document.write( "<td style='text-align: center'><a href='" + URL_AOO  +                                                                    "_Linux_x86_"     + TYPE + "-rpm" + "_" + INSTALL_LANG[ k ] + ".tar.gz/download'><b>rpm</b></a><br /><br />" );
+			document.write( "                               <a href='" + URL_HASH + "stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.asc'>ASC</a>" );
+			document.write( "                               <a href='" + URL_HASH + "stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.md5'>MD5</a><br />" );
+			document.write( "                               <a href='" + URL_HASH + "stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.sha256'>SHA256</a></td>" );
+		}
+		if ( PLATFORM.indexOf( "Linux_x86_deb" ) > -1 ) {
+			document.write( "<td style='text-align: center'><a href='" + URL_AOO  +                                                                    "_Linux_x86_"     + TYPE + "-deb" + "_" + INSTALL_LANG[ k ] + ".tar.gz/download'><b>deb</b></a><br /><br />" );
+			document.write( "                               <a href='" + URL_HASH + "stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.asc'>ASC</a>" );
+			document.write( "                               <a href='" + URL_HASH + "stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.md5'>MD5</a><br />" );
+			document.write( "                               <a href='" + URL_HASH + "stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.sha256'>SHA256</a></td>" );
+		}
+		if ( PLATFORM.indexOf( "Linux_x86-64_rpm" ) > -1 ) {
+			document.write( "<td style='text-align: center'><a href='" + URL_AOO  +                                                                    "_Linux_x86-64_"  + TYPE + "-rpm" + "_" + INSTALL_LANG[ k ] + ".tar.gz/download'><b>rpm</b></a><br /><br />" );
+			document.write( "                               <a href='" + URL_HASH + "stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.asc'>ASC</a>" );
+			document.write( "                               <a href='" + URL_HASH + "stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.md5'>MD5</a><br />" );
+			document.write( "                               <a href='" + URL_HASH + "stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.sha256'>SHA256</a></td>" );
+		}
+		if ( PLATFORM.indexOf( "Linux_x86-64_deb" ) > -1 ) {
+			document.write( "<td style='text-align: center'><a href='" + URL_AOO  +                                                                    "_Linux_x86-64_"  + TYPE + "-deb" + "_" + INSTALL_LANG[ k ] + ".tar.gz/download'><b>deb</b></a><br /><br />" );
+			document.write( "                               <a href='" + URL_HASH + "stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.asc'>ASC</a>" );
+			document.write( "                               <a href='" + URL_HASH + "stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.md5'>MD5</a><br />" );
+			document.write( "                               <a href='" + URL_HASH + "stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.sha256'>SHA256</a></td>" );
+		}
+		if ( PLATFORM.indexOf( "Mac_OS_x86" ) > -1 ) {
+			document.write( "<td style='text-align: center'><a href='" + URL_AOO  +                                                                    "_MacOS_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".dmg/download'><b>dmg</b></a><br /><br />" );
+			document.write( "                               <a href='" + URL_HASH + "stable/"    +                           VERSION + AOO + VERSION + "_MacOS_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".dmg.asc'>ASC</a>" );
+			document.write( "                               <a href='" + URL_HASH + "stable/"    +                           VERSION + AOO + VERSION + "_MacOS_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".dmg.md5'>MD5</a><br />" );
+			document.write( "                               <a href='" + URL_HASH + "stable/"    +                           VERSION + AOO + VERSION + "_MacOS_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".dmg.sha256'>SHA256</a></td>" );
 		}
 	} else {
-		// Write download links for en-US VERSIONs and its checksums
-		if ( AOO_PLATFORM.indexOf( "Win_x86" ) > -1 ) {
-			document.write( "<td style='text-align: center'><a href='" + URL_AOO  + "stable/"          +                           VERSION + AOO + VERSION + "_Win_x86_"       + TYPE          + "_" + INSTALL_LANG[ k ] + ".exe/download'><b>exe</b></a><br /><br />" );
-			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_Win_x86_"       + TYPE          + "_" + INSTALL_LANG[ k ] + ".exe.asc'>ASC</a>" );
-			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_Win_x86_"       + TYPE          + "_" + INSTALL_LANG[ k ] + ".exe.md5'>MD5</a><br />" );
-			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_Win_x86_"       + TYPE          + "_" + INSTALL_LANG[ k ] + ".exe.sha256'>SHA256</a></td>" );
-		}
-		if ( AOO_PLATFORM.indexOf( "Linux_x86_rpm" ) > -1 ) {
-			document.write( "<td style='text-align: center'><a href='" + URL_AOO  + "stable/"          +                           VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE + "-rpm" + "_" + INSTALL_LANG[ k ] + ".tar.gz/download'><b>rpm</b></a><br /><br />" );
-			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.asc'>ASC</a>" );
-			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.md5'>MD5</a><br />" );
-			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.sha256'>SHA256</a></td>" );
-		}
-		if ( AOO_PLATFORM.indexOf( "Linux_x86_deb" ) > -1 ) {
-			document.write( "<td style='text-align: center'><a href='" + URL_AOO  + "stable/"          +                           VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE + "-deb" + "_" + INSTALL_LANG[ k ] + ".tar.gz/download'><b>deb</b></a><br /><br />" );
-			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.asc'>ASC</a>" );
-			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.md5'>MD5</a><br />" );
-			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.sha256'>SHA256</a></td>" );
-		}
-		if ( AOO_PLATFORM.indexOf( "Linux_x86-64_rpm" ) > -1 ) {
-			document.write( "<td style='text-align: center'><a href='" + URL_AOO  + "stable/"          +                           VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE + "-rpm" + "_" + INSTALL_LANG[ k ] + ".tar.gz/download'><b>rpm</b></a><br /><br />" );
-			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.asc'>ASC</a>" );
-			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.md5'>MD5</a><br />" );
-			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.sha256'>SHA256</a></td>" );
-		}
-		if ( AOO_PLATFORM.indexOf( "Linux_x86-64_deb" ) > -1 ) {
-			document.write( "<td style='text-align: center'><a href='" + URL_AOO  + "stable/"          +                           VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE + "-deb" + "_" + INSTALL_LANG[ k ] + ".tar.gz/download'><b>deb</b></a><br /><br />" );
-			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.asc'>ASC</a>" );
-			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.md5'>MD5</a><br />" );
-			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.sha256'>SHA256</a></td>" );
-		}
-		if ( AOO_PLATFORM.indexOf( "Mac_OS_x86" ) > -1 ) {
-			document.write( "<td style='text-align: center'><a href='" + URL_AOO  + "stable/"          +                           VERSION + AOO + VERSION + "_MacOS_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".dmg/download'><b>dmg</b></a><br /><br />" );
-			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_MacOS_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".dmg.asc'>ASC</a>" );
-			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_MacOS_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".dmg.md5'>MD5</a><br />" );
-			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_MacOS_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".dmg.sha256'>SHA256</a></td>" );
+		// Write download links for en-US builds and its checksums
+		if ( PLATFORM.indexOf( "Win_x86" ) > -1 ) {
+			document.write( "<td style='text-align: center'><a href='" + URL_AOO  + "stable/"    +                           VERSION + AOO + VERSION + "_Win_x86_"       + TYPE          + "_" + INSTALL_LANG[ k ] + ".exe/download'><b>exe</b></a><br /><br />" );
+			document.write( "                               <a href='" + URL_HASH + "stable/"    +                           VERSION + AOO + VERSION + "_Win_x86_"       + TYPE          + "_" + INSTALL_LANG[ k ] + ".exe.asc'>ASC</a>" );
+			document.write( "                               <a href='" + URL_HASH + "stable/"    +                           VERSION + AOO + VERSION + "_Win_x86_"       + TYPE          + "_" + INSTALL_LANG[ k ] + ".exe.md5'>MD5</a><br />" );
+			document.write( "                               <a href='" + URL_HASH + "stable/"    +                           VERSION + AOO + VERSION + "_Win_x86_"       + TYPE          + "_" + INSTALL_LANG[ k ] + ".exe.sha256'>SHA256</a></td>" );
+		}
+		if ( PLATFORM.indexOf( "Linux_x86_rpm" ) > -1 ) {
+			document.write( "<td style='text-align: center'><a href='" + URL_AOO  + "stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE + "-rpm" + "_" + INSTALL_LANG[ k ] + ".tar.gz/download'><b>rpm</b></a><br /><br />" );
+			document.write( "                               <a href='" + URL_HASH + "stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.asc'>ASC</a>" );
+			document.write( "                               <a href='" + URL_HASH + "stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.md5'>MD5</a><br />" );
+			document.write( "                               <a href='" + URL_HASH + "stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.sha256'>SHA256</a></td>" );
+		}
+		if ( PLATFORM.indexOf( "Linux_x86_deb" ) > -1 ) {
+			document.write( "<td style='text-align: center'><a href='" + URL_AOO  + "stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE + "-deb" + "_" + INSTALL_LANG[ k ] + ".tar.gz/download'><b>deb</b></a><br /><br />" );
+			document.write( "                               <a href='" + URL_HASH + "stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.asc'>ASC</a>" );
+			document.write( "                               <a href='" + URL_HASH + "stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.md5'>MD5</a><br />" );
+			document.write( "                               <a href='" + URL_HASH + "stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.sha256'>SHA256</a></td>" );
+		}
+		if ( PLATFORM.indexOf( "Linux_x86-64_rpm" ) > -1 ) {
+			document.write( "<td style='text-align: center'><a href='" + URL_AOO  + "stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE + "-rpm" + "_" + INSTALL_LANG[ k ] + ".tar.gz/download'><b>rpm</b></a><br /><br />" );
+			document.write( "                               <a href='" + URL_HASH + "stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.asc'>ASC</a>" );
+			document.write( "                               <a href='" + URL_HASH + "stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.md5'>MD5</a><br />" );
+			document.write( "                               <a href='" + URL_HASH + "stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.sha256'>SHA256</a></td>" );
+		}
+		if ( PLATFORM.indexOf( "Linux_x86-64_deb" ) > -1 ) {
+			document.write( "<td style='text-align: center'><a href='" + URL_AOO  + "stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE + "-deb" + "_" + INSTALL_LANG[ k ] + ".tar.gz/download'><b>deb</b></a><br /><br />" );
+			document.write( "                               <a href='" + URL_HASH + "stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.asc'>ASC</a>" );
+			document.write( "                               <a href='" + URL_HASH + "stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.md5'>MD5</a><br />" );
+			document.write( "                               <a href='" + URL_HASH + "stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.sha256'>SHA256</a></td>" );
+		}
+		if ( PLATFORM.indexOf( "Mac_OS_x86" ) > -1 ) {
+			document.write( "<td style='text-align: center'><a href='" + URL_AOO  + "stable/"    +                           VERSION + AOO + VERSION + "_MacOS_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".dmg/download'><b>dmg</b></a><br /><br />" );
+			document.write( "                               <a href='" + URL_HASH + "stable/"    +                           VERSION + AOO + VERSION + "_MacOS_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".dmg.asc'>ASC</a>" );
+			document.write( "                               <a href='" + URL_HASH + "stable/"    +                           VERSION + AOO + VERSION + "_MacOS_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".dmg.md5'>MD5</a><br />" );
+			document.write( "                               <a href='" + URL_HASH + "stable/"    +                           VERSION + AOO + VERSION + "_MacOS_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".dmg.sha256'>SHA256</a></td>" );
 		}
 	}
 
@@ -275,7 +259,7 @@ function write_build( URL_AOO, URL_HASH,
 /*
  * This writes the English and native name of a language and all download links
  */
-function write_lang( REL_MODE, URL_AOO, URL_HASH, PLATFORM, FULL_LANG, LP_LANG, VERSION, AOO ) {
+function write_lang( URL_AOO, URL_HASH, PLATFORM, FULL_LANG, LP_LANG, VERSION, AOO ) {
 	ROW_COUNT	= 1;
 	FULL_LANG_COUNT	= 1;
 	LP_LANG_COUNT	= 1;
@@ -300,9 +284,9 @@ function write_lang( REL_MODE, URL_AOO, 
 					}
 					FULL_LANG_COUNT++;
 
-					// if ( URL_AOO.indexOf( "SDK" ) == -1 ) {
-					//	write_empty_row();
-					// }
+					if ( URL_AOO.indexOf( "SDK" ) == -1 ) {
+						write_empty_row();
+					}
 				}
 			}
 		}
@@ -332,18 +316,17 @@ function write_lang( REL_MODE, URL_AOO, 
 /*
  * This writes the column names and download links for SDK builds, source tarballs and other files
  */
-function write_sdk( REL_MODE, URL_SDK, URL_SRC, URL_HASH, DEV_SRC, PLATFORM, SDK_LANG, VERSION, AOO_SDK ) {
+function write_sdk( URL_SDK, URL_SRC, URL_HASH, AOO_SRC, PLATFORM, SDK_LANG, VERSION, AOO_SDK ) {
 	// Frist write one or two empty rows (depending on the previous row, odd or even row number --> class a or b)
 	// if ( ROW_COUNT ==  1 || ROW_COUNT ==  3 || ROW_COUNT ==  5 || ROW_COUNT ==  7 || ROW_COUNT ==  9 ||
-	//    ROW_COUNT == 11 || ROW_COUNT == 13 || ROW_COUNT == 15 || ROW_COUNT == 17 || ROW_COUNT == 19 )
+	//	ROW_COUNT == 11 || ROW_COUNT == 13 || ROW_COUNT == 15 || ROW_COUNT == 17 || ROW_COUNT == 19 )
 	//	document.write( "<tr class='a'><td class='footer' colspan='" + COLSPAN + "'>&nbsp;</td></tr>" );
-
+	//
 	// document.write( "<tr id='sdk' class='b'><td class='footer' colspan='" + COLSPAN + "'>&nbsp;</td></tr>" );
 
 	// Then write the row with the SDK builds
-	write_lang( REL_MODE, URL_SDK, URL_HASH, PLATFORM, SDK_LANG, SDK_LANG, VERSION, AOO_SDK );
-	if ( REL_MODE == "aoo" )
-		write_empty_row();
+	write_lang( URL_SDK, URL_HASH, PLATFORM, SDK_LANG, SDK_LANG, VERSION, AOO_SDK );
+
 
 	// Then write the row with the source tarballs
 	if ( ROW_COUNT ==  1 || ROW_COUNT ==  3 || ROW_COUNT ==  5 || ROW_COUNT ==  7 || ROW_COUNT ==  9 ||
@@ -353,39 +336,31 @@ function write_sdk( REL_MODE, URL_SDK, U
 		document.write( "<tr class='b'><td>-</td><td>-</td><td><small>Source</small></td>" );
 
 	document.write( "<td style='text-align: center'><a href='" + URL_SRC                      + VERSION + "-incubating-src.tar.bz2'><b>tar.bz2</b></a><br /><br />" );
-	document.write( "                               <a href='" + URL_HASH + VERSION + DEV_SRC + VERSION + "-incubating-src.tar.bz2.asc'>ASC</a>" );
-	document.write( "                               <a href='" + URL_HASH + VERSION + DEV_SRC + VERSION + "-incubating-src.tar.bz2.md5'>MD5</a><br />" );
-	document.write( "                               <a href='" + URL_HASH + VERSION + DEV_SRC + VERSION + "-incubating-src.tar.bz2.sha256'>SHA256</a></td>" );
+	document.write( "                               <a href='" + URL_HASH + VERSION + AOO_SRC + VERSION + "-incubating-src.tar.bz2.asc'>ASC</a>" );
+	document.write( "                               <a href='" + URL_HASH + VERSION + AOO_SRC + VERSION + "-incubating-src.tar.bz2.md5'>MD5</a><br />" );
+	document.write( "                               <a href='" + URL_HASH + VERSION + AOO_SRC + VERSION + "-incubating-src.tar.bz2.sha256'>SHA256</a></td>" );
 	document.write( "<td>&nbsp;</td>" );
 	document.write( "<td style='text-align: center'><a href='" + URL_SRC                      + VERSION + "-incubating-src.tar.gz'><b>tar.gz</b></a><br /><br />" );
-	document.write( "                               <a href='" + URL_HASH + VERSION + DEV_SRC + VERSION + "-incubating-src.tar.gz.asc'>ASC</a>" );
-	document.write( "                               <a href='" + URL_HASH + VERSION + DEV_SRC + VERSION + "-incubating-src.tar.gz.md5'>MD5</a><br />" );
-	document.write( "                               <a href='" + URL_HASH + VERSION + DEV_SRC + VERSION + "-incubating-src.tar.gz.sha256'>SHA256</a></td>" );
+	document.write( "                               <a href='" + URL_HASH + VERSION + AOO_SRC + VERSION + "-incubating-src.tar.gz.asc'>ASC</a>" );
+	document.write( "                               <a href='" + URL_HASH + VERSION + AOO_SRC + VERSION + "-incubating-src.tar.gz.md5'>MD5</a><br />" );
+	document.write( "                               <a href='" + URL_HASH + VERSION + AOO_SRC + VERSION + "-incubating-src.tar.gz.sha256'>SHA256</a></td>" );
 	document.write( "<td>&nbsp;</td>" );
 	document.write( "<td style='text-align: center'><a href='" + URL_SRC                      + VERSION + "-incubating-src.zip'><b>zip</b></a><br /><br />" );
-	document.write( "                               <a href='" + URL_HASH + VERSION + DEV_SRC + VERSION + "-incubating-src.zip.asc'>ASC</a>" );
-	document.write( "                               <a href='" + URL_HASH + VERSION + DEV_SRC + VERSION + "-incubating-src.zip.md5'>MD5</a><br />" );
-	document.write( "                               <a href='" + URL_HASH + VERSION + DEV_SRC + VERSION + "-incubating-src.zip.sha256'>SHA256</a></td>" );
+	document.write( "                               <a href='" + URL_HASH + VERSION + AOO_SRC + VERSION + "-incubating-src.zip.asc'>ASC</a>" );
+	document.write( "                               <a href='" + URL_HASH + VERSION + AOO_SRC + VERSION + "-incubating-src.zip.md5'>MD5</a><br />" );
+	document.write( "                               <a href='" + URL_HASH + VERSION + AOO_SRC + VERSION + "-incubating-src.zip.sha256'>SHA256</a></td>" );
 	document.write( "<td>&nbsp;</td>" );
 
 	document.write( "</tr>" );
 	ROW_COUNT++;
 
 	// At last write the row with the other files (release notes and checksums)
-	if ( REL_MODE == "aoo" )
-		write_empty_row();
-
 	document.write( "<tr class='a'><td>-</td><td>-</td><td><small>Other&nbsp;files</small></td>" );
 
-	if ( REL_MODE == "aoo" ) {
-		document.write( "<td style='text-align: center'><a href='http://www.openoffice.org/development/releases/" + VERSION + ".html'>         AOO<br />Release<br />Notes</a></td>" );
-		document.write( "<td>&nbsp;</td>" );
-		document.write( "<td style='text-align: center'><a href='http://www.openoffice.org/development/releases/" + VERSION + "_sdk.html'>     SDK<br />Release<br />Notes</a></td>" );
-	} else {
-		document.write( "<td style='text-align: center'><a href='http://www.openoffice.org/development/releases/" + VERSION + "_snapshot.html'>AOO<br />Release<br />Notes</a></td>" );
-		document.write( "<td>&nbsp;</td>" );
-		document.write( "<td>&nbsp;</td>" );
-	}
+	document.write( "<td style='text-align: center'><a href='http://www.openoffice.org/development/releases/" + VERSION + ".html'>         AOO<br />Release<br />Notes</a></td>" );
+	document.write( "<td>&nbsp;</td>" );
+	// document.write( "<td style='text-align: center'><a href='http://www.openoffice.org/development/releases/" + VERSION + "_sdk.html'>     SDK<br />Release<br />Notes</a></td>" );
+	document.write( "<td>&nbsp;</td>" );
 
 	document.write( "<td>&nbsp;</td>" );
 	document.write( "<td>&nbsp;</td>" );
@@ -399,8 +374,7 @@ function write_sdk( REL_MODE, URL_SDK, U
  * All language names were taken from Wikipedia (http://en.wikipedia.org)
  *
  * Important:
- * When new languages where added please increase the value appropriate
- * in the "LANG_MAX" at the top.
+ * When new languages where added please increase the value appropriate in the "LANG_MAX" at the top.
  */
 
 var LANG  = new Array();



Mime
View raw message