Author: marcus
Date: Wed Jul 24 21:16:27 2013
New Revision: 1506721

URL: http://svn.apache.org/r1506721
Log:
Updated links

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

Modified: openoffice/ooo-site/trunk/content/download/test/download_tables.js
URL: 
http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/download/test/download_tables.js?rev=1506721&r1=1506720&r2=1506721&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/download/test/download_tables.js 
(original)
+++ openoffice/ooo-site/trunk/content/download/test/download_tables.js Wed Jul 
24 21:16:27 2013
@@ -16,7 +16,7 @@ var COLSPAN           = 9;    // Defines the default
 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)
+var LANG_MAX           = 133;  // The maximal available number of languages 
(see the bottom)
 
 /*
  * Define base variables
@@ -25,14 +25,14 @@ var LANG_MAX                = 133;  // The maximal ava
 function write_table() {
        var AOO         = "Apache_OpenOffice_";
        var AOO_SDK     = "Apache_OpenOffice-SDK_";
-       var AOO_SRC     = "source/apache-openoffice-" + VERSION + "-" + SVN_REV 
+ "-src";
-       // var URL_AOO  = PEOPLE_BASE_URL + "/binaries/";
+       var AOO_SRC     = "/source/apache-openoffice-" + VERSION + "-" + 
SVN_REV + "-src";
        var URL_AOO     = SOURCEFORGE_BASE_URL;
-       // var URL_SDK  = PEOPLE_BASE_URL + 
"/binaries/SDK/Apache_OpenOffice-SDK_" + VERSION;
        var URL_SDK     = SOURCEFORGE_BASE_URL + "SDK/Apache_OpenOffice-SDK_" + 
VERSION;
+       var URL_SRC     = APACHE_DIST_BASE_URL + AOO_SRC;
+       // var URL_AOO  = PEOPLE_BASE_URL + "/binaries/";
+       // var URL_SDK  = PEOPLE_BASE_URL + 
"/binaries/SDK/Apache_OpenOffice-SDK_" + VERSION;
        // var URL_SRC  = PEOPLE_BASE_URL + "/source/" + AOO_SRC + VERSION + 
"-" + SVN_REV;
-       var URL_SRC     = APACHE_BASE_URL + "/" + AOO_SRC;
-       var URL_HASH    = APACHE_DIST_BASE_URL + "/";
+       var URL_HASH    = APACHE_DIST_BASE_URL;
 
        document.write( "<hr style='display: block;' />" );
        document.write( "<div class='largetable'>" );
@@ -112,6 +112,9 @@ function write_header( FIRST_HEADER ) {
  * This writes the build rows (full install, langpack, SDK)
  */
 function write_build( URL_AOO, URL_HASH, PLATFORM, INSTALL_LANG, i, k, 
VERSION, AOO, TYPE ) {
+       // Show the checksum links in smaller font size than the binary links
+       var SMALL = "style='font-size: x-small'";
+
        if ( ROW_COUNT ==  1 || ROW_COUNT ==  2 || ROW_COUNT ==  5 || ROW_COUNT 
== 6  || ROW_COUNT == 9 ||
             ROW_COUNT == 10 || ROW_COUNT == 13 || ROW_COUNT == 14 || ROW_COUNT 
== 17 || ROW_COUNT == 18 )
                document.write( "<tr class='a'>" );
@@ -135,80 +138,80 @@ function write_build( URL_AOO, URL_HASH,
        if ( URL_AOO.indexOf( "SDK" ) < 0 ) {
                // Write download links for binary builds and its checksums
                if ( PLATFORM.indexOf( "Win_x86" ) > -1 ) {
-                       document.write( "<td style='text-align: center'><a 
href='" + URL_AOO  +               INSTALL_LANG[ k ] + "/" + AOO + VERSION + 
"_Win_x86_"      + TYPE          + "_" + INSTALL_LANG[ k ] + 
".exe'><b>exe</b></a><br /><br />" );
-                       document.write( "                               <a 
href='" + URL_HASH + "binaries/" + INSTALL_LANG[ k ] + "/" + AOO + VERSION + 
"_Win_x86_"      + TYPE          + "_" + INSTALL_LANG[ k ] + 
".exe.asc'>ASC</a>" );
-                       document.write( "                               <a 
href='" + URL_HASH + "binaries/" + INSTALL_LANG[ k ] + "/" + AOO + VERSION + 
"_Win_x86_"      + TYPE          + "_" + INSTALL_LANG[ k ] + 
".exe.md5'>MD5</a><br />" );
-                       document.write( "                               <a 
href='" + URL_HASH + "binaries/" + INSTALL_LANG[ k ] + "/" + AOO + VERSION + 
"_Win_x86_"      + TYPE          + "_" + INSTALL_LANG[ k ] + 
".exe.sha256'>SHA256</a></td>" );
+                       document.write( "<td style='text-align: center'><a 
href='"              + URL_AOO                 + INSTALL_LANG[ k ] + "/" + AOO 
+ VERSION + "_Win_x86_"      + TYPE          + "_" + INSTALL_LANG[ k ] + 
".exe'><b>exe</b></a><br /><br />" );
+                       document.write( "                               <a " + 
SMALL + "href='" + URL_HASH + "/binaries/" + INSTALL_LANG[ k ] + "/" + AOO + 
VERSION + "_Win_x86_"      + TYPE          + "_" + INSTALL_LANG[ k ] + 
".exe.asc'>ASC</a>" );
+                       document.write( "                               <a " + 
SMALL + "href='" + URL_HASH + "/binaries/" + INSTALL_LANG[ k ] + "/" + AOO + 
VERSION + "_Win_x86_"      + TYPE          + "_" + INSTALL_LANG[ k ] + 
".exe.md5'>MD5</a><br />" );
+                       document.write( "                               <a " + 
SMALL + "href='" + URL_HASH + "/binaries/" + INSTALL_LANG[ k ] + "/" + 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  +               INSTALL_LANG[ k ] + "/" + AOO + VERSION + 
"_Linux_x86_"    + TYPE + "-rpm" + "_" + INSTALL_LANG[ k ] + 
".tar.gz'><b>rpm</b></a><br /><br />" );
-                       document.write( "                               <a 
href='" + URL_HASH + "binaries/" + INSTALL_LANG[ k ] + "/" + AOO + VERSION + 
"_Linux_x86_"    + TYPE          + "_" + INSTALL_LANG[ k ] + 
".tar.gz.asc'>ASC</a>" );
-                       document.write( "                               <a 
href='" + URL_HASH + "binaries/" + INSTALL_LANG[ k ] + "/" + AOO + VERSION + 
"_Linux_x86_"    + TYPE          + "_" + INSTALL_LANG[ k ] + 
".tar.gz.md5'>MD5</a><br />" );
-                       document.write( "                               <a 
href='" + URL_HASH + "binaries/" + INSTALL_LANG[ k ] + "/" + AOO + VERSION + 
"_Linux_x86_"    + TYPE          + "_" + INSTALL_LANG[ k ] + 
".tar.gz.sha256'>SHA256</a></td>" );
+                       document.write( "<td style='text-align: center'><a 
href='"              + URL_AOO                 + INSTALL_LANG[ k ] + "/" + AOO 
+ VERSION + "_Linux_x86_"    + TYPE + "-rpm" + "_" + INSTALL_LANG[ k ] + 
".tar.gz'><b>rpm</b></a><br /><br />" );
+                       document.write( "                               <a " + 
SMALL + "href='" + URL_HASH + "/binaries/" + INSTALL_LANG[ k ] + "/" + AOO + 
VERSION + "_Linux_x86_"    + TYPE          + "_" + INSTALL_LANG[ k ] + 
".tar.gz.asc'>ASC</a>" );
+                       document.write( "                               <a " + 
SMALL + "href='" + URL_HASH + "/binaries/" + INSTALL_LANG[ k ] + "/" + AOO + 
VERSION + "_Linux_x86_"    + TYPE          + "_" + INSTALL_LANG[ k ] + 
".tar.gz.md5'>MD5</a><br />" );
+                       document.write( "                               <a " + 
SMALL + "href='" + URL_HASH + "/binaries/" + INSTALL_LANG[ k ] + "/" + 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  +               INSTALL_LANG[ k ] + "/" + AOO + VERSION + 
"_Linux_x86_"    + TYPE + "-deb" + "_" + INSTALL_LANG[ k ] + 
".tar.gz'><b>deb</b></a><br /><br />" );
-                       document.write( "                               <a 
href='" + URL_HASH + "binaries/" + INSTALL_LANG[ k ] + "/" + AOO + VERSION + 
"_Linux_x86_"    + TYPE          + "_" + INSTALL_LANG[ k ] + 
".tar.gz.asc'>ASC</a>" );
-                       document.write( "                               <a 
href='" + URL_HASH + "binaries/" + INSTALL_LANG[ k ] + "/" + AOO + VERSION + 
"_Linux_x86_"    + TYPE          + "_" + INSTALL_LANG[ k ] + 
".tar.gz.md5'>MD5</a><br />" );
-                       document.write( "                               <a 
href='" + URL_HASH + "binaries/" + INSTALL_LANG[ k ] + "/" + AOO + VERSION + 
"_Linux_x86_"    + TYPE          + "_" + INSTALL_LANG[ k ] + 
".tar.gz.sha256'>SHA256</a></td>" );
+                       document.write( "<td style='text-align: center'><a 
href='"              + URL_AOO                 + INSTALL_LANG[ k ] + "/" + AOO 
+ VERSION + "_Linux_x86_"    + TYPE + "-deb" + "_" + INSTALL_LANG[ k ] + 
".tar.gz'><b>deb</b></a><br /><br />" );
+                       document.write( "                               <a " + 
SMALL + "href='" + URL_HASH + "/binaries/" + INSTALL_LANG[ k ] + "/" + AOO + 
VERSION + "_Linux_x86_"    + TYPE          + "_" + INSTALL_LANG[ k ] + 
".tar.gz.asc'>ASC</a>" );
+                       document.write( "                               <a " + 
SMALL + "href='" + URL_HASH + "/binaries/" + INSTALL_LANG[ k ] + "/" + AOO + 
VERSION + "_Linux_x86_"    + TYPE          + "_" + INSTALL_LANG[ k ] + 
".tar.gz.md5'>MD5</a><br />" );
+                       document.write( "                               <a " + 
SMALL + "href='" + URL_HASH + "/binaries/" + INSTALL_LANG[ k ] + "/" + 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  +               INSTALL_LANG[ k ] + "/" + AOO + VERSION + 
"_Linux_x86-64_" + TYPE + "-rpm" + "_" + INSTALL_LANG[ k ] + 
".tar.gz'><b>rpm</b></a><br /><br />" );
-                       document.write( "                               <a 
href='" + URL_HASH + "binaries/" + INSTALL_LANG[ k ] + "/" + AOO + VERSION + 
"_Linux_x86-64_" + TYPE          + "_" + INSTALL_LANG[ k ] + 
".tar.gz.asc'>ASC</a>" );
-                       document.write( "                               <a 
href='" + URL_HASH + "binaries/" + INSTALL_LANG[ k ] + "/" + AOO + VERSION + 
"_Linux_x86-64_" + TYPE          + "_" + INSTALL_LANG[ k ] + 
".tar.gz.md5'>MD5</a><br />" );
-                       document.write( "                               <a 
href='" + URL_HASH + "binaries/" + INSTALL_LANG[ k ] + "/" + AOO + VERSION + 
"_Linux_x86-64_" + TYPE          + "_" + INSTALL_LANG[ k ] + 
".tar.gz.sha256'>SHA256</a></td>" );
+                       document.write( "<td style='text-align: center'><a 
href='"              + URL_AOO                 + INSTALL_LANG[ k ] + "/" + AOO 
+ VERSION + "_Linux_x86-64_" + TYPE + "-rpm" + "_" + INSTALL_LANG[ k ] + 
".tar.gz'><b>rpm</b></a><br /><br />" );
+                       document.write( "                               <a " + 
SMALL + "href='" + URL_HASH + "/binaries/" + INSTALL_LANG[ k ] + "/" + AOO + 
VERSION + "_Linux_x86-64_" + TYPE          + "_" + INSTALL_LANG[ k ] + 
".tar.gz.asc'>ASC</a>" );
+                       document.write( "                               <a " + 
SMALL + "href='" + URL_HASH + "/binaries/" + INSTALL_LANG[ k ] + "/" + AOO + 
VERSION + "_Linux_x86-64_" + TYPE          + "_" + INSTALL_LANG[ k ] + 
".tar.gz.md5'>MD5</a><br />" );
+                       document.write( "                               <a " + 
SMALL + "href='" + URL_HASH + "/binaries/" + INSTALL_LANG[ k ] + "/" + 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  +               INSTALL_LANG[ k ] + "/" + AOO + VERSION + 
"_Linux_x86-64_" + TYPE + "-deb" + "_" + INSTALL_LANG[ k ] + 
".tar.gz'><b>deb</b></a><br /><br />" );
-                       document.write( "                               <a 
href='" + URL_HASH + "binaries/" + INSTALL_LANG[ k ] + "/" + AOO + VERSION + 
"_Linux_x86-64_" + TYPE          + "_" + INSTALL_LANG[ k ] + 
".tar.gz.asc'>ASC</a>" );
-                       document.write( "                               <a 
href='" + URL_HASH + "binaries/" + INSTALL_LANG[ k ] + "/" + AOO + VERSION + 
"_Linux_x86-64_" + TYPE          + "_" + INSTALL_LANG[ k ] + 
".tar.gz.md5'>MD5</a><br />" );
-                       document.write( "                               <a 
href='" + URL_HASH + "binaries/" + INSTALL_LANG[ k ] + "/" + AOO + VERSION + 
"_Linux_x86-64_" + TYPE          + "_" + INSTALL_LANG[ k ] + 
".tar.gz.sha256'>SHA256</a></td>" );
+                       document.write( "<td style='text-align: center'><a 
href='"              + URL_AOO                 + INSTALL_LANG[ k ] + "/" + AOO 
+ VERSION + "_Linux_x86-64_" + TYPE + "-deb" + "_" + INSTALL_LANG[ k ] + 
".tar.gz'><b>deb</b></a><br /><br />" );
+                       document.write( "                               <a " + 
SMALL + "href='" + URL_HASH + "/binaries/" + INSTALL_LANG[ k ] + "/" + AOO + 
VERSION + "_Linux_x86-64_" + TYPE          + "_" + INSTALL_LANG[ k ] + 
".tar.gz.asc'>ASC</a>" );
+                       document.write( "                               <a " + 
SMALL + "href='" + URL_HASH + "/binaries/" + INSTALL_LANG[ k ] + "/" + AOO + 
VERSION + "_Linux_x86-64_" + TYPE          + "_" + INSTALL_LANG[ k ] + 
".tar.gz.md5'>MD5</a><br />" );
+                       document.write( "                               <a " + 
SMALL + "href='" + URL_HASH + "/binaries/" + INSTALL_LANG[ k ] + "/" + AOO + 
VERSION + "_Linux_x86-64_" + TYPE          + "_" + INSTALL_LANG[ k ] + 
".tar.gz.sha256'>SHA256</a></td>" );
                }
                if ( PLATFORM.indexOf( "MacOS_x86" ) > -1 ) {
-                       document.write( "<td style='text-align: center'><a 
href='" + URL_AOO  +               INSTALL_LANG[ k ] + "/" + AOO + VERSION + 
"_MacOS_x86_"    + TYPE          + "_" + INSTALL_LANG[ k ] + 
".dmg'><b>dmg</b></a><br /><br />" );
-                       document.write( "                               <a 
href='" + URL_HASH + "binaries/" + INSTALL_LANG[ k ] + "/" + AOO + VERSION + 
"_MacOS_x86_"    + TYPE          + "_" + INSTALL_LANG[ k ] + 
".dmg.asc'>ASC</a>" );
-                       document.write( "                               <a 
href='" + URL_HASH + "binaries/" + INSTALL_LANG[ k ] + "/" + AOO + VERSION + 
"_MacOS_x86_"    + TYPE          + "_" + INSTALL_LANG[ k ] + 
".dmg.md5'>MD5</a><br />" );
-                       document.write( "                               <a 
href='" + URL_HASH + "binaries/" + INSTALL_LANG[ k ] + "/" + AOO + VERSION + 
"_MacOS_x86_"    + TYPE          + "_" + INSTALL_LANG[ k ] + 
".dmg.sha256'>SHA256</a></td>" );
+                       document.write( "<td style='text-align: center'><a 
href='"              + URL_AOO                 + INSTALL_LANG[ k ] + "/" + AOO 
+ VERSION + "_MacOS_x86_"    + TYPE          + "_" + INSTALL_LANG[ k ] + 
".dmg'><b>dmg</b></a><br /><br />" );
+                       document.write( "                               <a " + 
SMALL + "href='" + URL_HASH + "/binaries/" + INSTALL_LANG[ k ] + "/" + AOO + 
VERSION + "_MacOS_x86_"    + TYPE          + "_" + INSTALL_LANG[ k ] + 
".dmg.asc'>ASC</a>" );
+                       document.write( "                               <a " + 
SMALL + "href='" + URL_HASH + "/binaries/" + INSTALL_LANG[ k ] + "/" + AOO + 
VERSION + "_MacOS_x86_"    + TYPE          + "_" + INSTALL_LANG[ k ] + 
".dmg.md5'>MD5</a><br />" );
+                       document.write( "                               <a " + 
SMALL + "href='" + URL_HASH + "/binaries/" + INSTALL_LANG[ k ] + "/" + AOO + 
VERSION + "_MacOS_x86_"    + TYPE          + "_" + INSTALL_LANG[ k ] + 
".dmg.sha256'>SHA256</a></td>" );
                }
        } else {
 
 
                // Write download links for SDK builds and its checksums
                if ( PLATFORM.indexOf( "Win_x86" ) > -1 ) {
-                       document.write( "<td style='text-align: center'><a 
href='" + URL_AOO  +                                   "_Win_x86_"      + TYPE  
        + "_" + INSTALL_LANG[ k ] + ".exe'><b>exe</b></a><br /><br />" );
-                       document.write( "                               <a 
href='" + URL_HASH + "binaries/SDK/" + AOO + VERSION + "_Win_x86_"      + TYPE  
        + "_" + INSTALL_LANG[ k ] + ".exe.asc'>ASC</a>" );
-                       document.write( "                               <a 
href='" + URL_HASH + "binaries/SDK/" + AOO + VERSION + "_Win_x86_"      + TYPE  
        + "_" + INSTALL_LANG[ k ] + ".exe.md5'>MD5</a><br />" );
-                       document.write( "                               <a 
href='" + URL_HASH + "binaries/SDK/" + AOO + VERSION + "_Win_x86_"      + TYPE  
        + "_" + INSTALL_LANG[ k ] + ".exe.sha256'>SHA256</a></td>" );
+                       document.write( "<td style='text-align: center'><a 
href='"              + URL_AOO  +                                    
"_Win_x86_"      + TYPE          + "_" + INSTALL_LANG[ k ] + 
".exe'><b>exe</b></a><br /><br />" );
+                       document.write( "                               <a " + 
SMALL + "href='" + URL_HASH + "/binaries/SDK/" + AOO + VERSION + "_Win_x86_"    
  + TYPE          + "_" + INSTALL_LANG[ k ] + ".exe.asc'>ASC</a>" );
+                       document.write( "                               <a " + 
SMALL + "href='" + URL_HASH + "/binaries/SDK/" + AOO + VERSION + "_Win_x86_"    
  + TYPE          + "_" + INSTALL_LANG[ k ] + ".exe.md5'>MD5</a><br />" );
+                       document.write( "                               <a " + 
SMALL + "href='" + URL_HASH + "/binaries/SDK/" + 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'><b>rpm</b></a><br /><br />" );
-                       document.write( "                               <a 
href='" + URL_HASH + "binaries/SDK/" + AOO + VERSION + "_Linux_x86_"    + TYPE  
        + "_" + INSTALL_LANG[ k ] + ".tar.gz.asc'>ASC</a>" );
-                       document.write( "                               <a 
href='" + URL_HASH + "binaries/SDK/" + AOO + VERSION + "_Linux_x86_"    + TYPE  
        + "_" + INSTALL_LANG[ k ] + ".tar.gz.md5'>MD5</a><br />" );
-                       document.write( "                               <a 
href='" + URL_HASH + "binaries/SDK/" + AOO + VERSION + "_Linux_x86_"    + TYPE  
        + "_" + INSTALL_LANG[ k ] + ".tar.gz.sha256'>SHA256</a></td>" );
+                       document.write( "<td style='text-align: center'><a 
href='"              + URL_AOO  +                                    
"_Linux_x86_"    + TYPE + "-rpm" + "_" + INSTALL_LANG[ k ] + 
".tar.gz'><b>rpm</b></a><br /><br />" );
+                       document.write( "                               <a " + 
SMALL + "href='" + URL_HASH + "/binaries/SDK/" + AOO + VERSION + "_Linux_x86_"  
  + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.asc'>ASC</a>" );
+                       document.write( "                               <a " + 
SMALL + "href='" + URL_HASH + "/binaries/SDK/" + AOO + VERSION + "_Linux_x86_"  
  + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.md5'>MD5</a><br />" );
+                       document.write( "                               <a " + 
SMALL + "href='" + URL_HASH + "/binaries/SDK/" + 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'><b>deb</b></a><br /><br />" );
-                       document.write( "                               <a 
href='" + URL_HASH + "binaries/SDK/" + AOO + VERSION + "_Linux_x86_"    + TYPE  
        + "_" + INSTALL_LANG[ k ] + ".tar.gz.asc'>ASC</a>" );
-                       document.write( "                               <a 
href='" + URL_HASH + "binaries/SDK/" + AOO + VERSION + "_Linux_x86_"    + TYPE  
        + "_" + INSTALL_LANG[ k ] + ".tar.gz.md5'>MD5</a><br />" );
-                       document.write( "                               <a 
href='" + URL_HASH + "binaries/SDK/" + AOO + VERSION + "_Linux_x86_"    + TYPE  
        + "_" + INSTALL_LANG[ k ] + ".tar.gz.sha256'>SHA256</a></td>" );
+                       document.write( "<td style='text-align: center'><a 
href='"              + URL_AOO  +                                    
"_Linux_x86_"    + TYPE + "-deb" + "_" + INSTALL_LANG[ k ] + 
".tar.gz'><b>deb</b></a><br /><br />" );
+                       document.write( "                               <a " + 
SMALL + "href='" + URL_HASH + "/binaries/SDK/" + AOO + VERSION + "_Linux_x86_"  
  + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.asc'>ASC</a>" );
+                       document.write( "                               <a " + 
SMALL + "href='" + URL_HASH + "/binaries/SDK/" + AOO + VERSION + "_Linux_x86_"  
  + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.md5'>MD5</a><br />" );
+                       document.write( "                               <a " + 
SMALL + "href='" + URL_HASH + "/binaries/SDK/" + 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'><b>rpm</b></a><br /><br />" );
-                       document.write( "                               <a 
href='" + URL_HASH + "binaries/SDK/" + AOO + VERSION + "_Linux_x86-64_" + TYPE  
        + "_" + INSTALL_LANG[ k ] + ".tar.gz.asc'>ASC</a>" );
-                       document.write( "                               <a 
href='" + URL_HASH + "binaries/SDK/" + AOO + VERSION + "_Linux_x86-64_" + TYPE  
        + "_" + INSTALL_LANG[ k ] + ".tar.gz.md5'>MD5</a><br />" );
-                       document.write( "                               <a 
href='" + URL_HASH + "binaries/SDK/" + AOO + VERSION + "_Linux_x86-64_" + TYPE  
        + "_" + INSTALL_LANG[ k ] + ".tar.gz.sha256'>SHA256</a></td>" );
+                       document.write( "<td style='text-align: center'><a 
href='"              + URL_AOO  +                                    
"_Linux_x86-64_" + TYPE + "-rpm" + "_" + INSTALL_LANG[ k ] + 
".tar.gz'><b>rpm</b></a><br /><br />" );
+                       document.write( "                               <a " + 
SMALL + "href='" + URL_HASH + "/binaries/SDK/" + AOO + VERSION + 
"_Linux_x86-64_" + TYPE          + "_" + INSTALL_LANG[ k ] + 
".tar.gz.asc'>ASC</a>" );
+                       document.write( "                               <a " + 
SMALL + "href='" + URL_HASH + "/binaries/SDK/" + AOO + VERSION + 
"_Linux_x86-64_" + TYPE          + "_" + INSTALL_LANG[ k ] + 
".tar.gz.md5'>MD5</a><br />" );
+                       document.write( "                               <a " + 
SMALL + "href='" + URL_HASH + "/binaries/SDK/" + 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'><b>deb</b></a><br /><br />" );
-                       document.write( "                               <a 
href='" + URL_HASH + "binaries/SDK/" + AOO + VERSION + "_Linux_x86-64_" + TYPE  
        + "_" + INSTALL_LANG[ k ] + ".tar.gz.asc'>ASC</a>" );
-                       document.write( "                               <a 
href='" + URL_HASH + "binaries/SDK/" + AOO + VERSION + "_Linux_x86-64_" + TYPE  
        + "_" + INSTALL_LANG[ k ] + ".tar.gz.md5'>MD5</a><br />" );
-                       document.write( "                               <a 
href='" + URL_HASH + "binaries/SDK/" + AOO + VERSION + "_Linux_x86-64_" + TYPE  
        + "_" + INSTALL_LANG[ k ] + ".tar.gz.sha256'>SHA256</a></td>" );
+                       document.write( "<td style='text-align: center'><a 
href='"              + URL_AOO  +                                    
"_Linux_x86-64_" + TYPE + "-deb" + "_" + INSTALL_LANG[ k ] + 
".tar.gz'><b>deb</b></a><br /><br />" );
+                       document.write( "                               <a " + 
SMALL + "href='" + URL_HASH + "/binaries/SDK/" + AOO + VERSION + 
"_Linux_x86-64_" + TYPE          + "_" + INSTALL_LANG[ k ] + 
".tar.gz.asc'>ASC</a>" );
+                       document.write( "                               <a " + 
SMALL + "href='" + URL_HASH + "/binaries/SDK/" + AOO + VERSION + 
"_Linux_x86-64_" + TYPE          + "_" + INSTALL_LANG[ k ] + 
".tar.gz.md5'>MD5</a><br />" );
+                       document.write( "                               <a " + 
SMALL + "href='" + URL_HASH + "/binaries/SDK/" + AOO + VERSION + 
"_Linux_x86-64_" + TYPE          + "_" + INSTALL_LANG[ k ] + 
".tar.gz.sha256'>SHA256</a></td>" );
                }
                if ( PLATFORM.indexOf( "MacOS_x86" ) > -1 ) {
-                       document.write( "<td style='text-align: center'><a 
href='" + URL_AOO  +                                   "_MacOS_x86_"    + TYPE  
        + "_" + INSTALL_LANG[ k ] + ".dmg'><b>dmg</b></a><br /><br />" );
-                       document.write( "                               <a 
href='" + URL_HASH + "binaries/SDK/" + AOO + VERSION + "_MacOS_x86_"    + TYPE  
        + "_" + INSTALL_LANG[ k ] + ".dmg.asc'>ASC</a>" );
-                       document.write( "                               <a 
href='" + URL_HASH + "binaries/SDK/" + AOO + VERSION + "_MacOS_x86_"    + TYPE  
        + "_" + INSTALL_LANG[ k ] + ".dmg.md5'>MD5</a><br />" );
-                       document.write( "                               <a 
href='" + URL_HASH + "binaries/SDK/" + AOO + VERSION + "_MacOS_x86_"    + TYPE  
        + "_" + INSTALL_LANG[ k ] + ".dmg.sha256'>SHA256</a></td>" );
+                       document.write( "<td style='text-align: center'><a 
href='"              + URL_AOO  +                                    
"_MacOS_x86_"    + TYPE          + "_" + INSTALL_LANG[ k ] + 
".dmg'><b>dmg</b></a><br /><br />" );
+                       document.write( "                               <a " + 
SMALL + "href='" + URL_HASH + "/binaries/SDK/" + AOO + VERSION + "_MacOS_x86_"  
  + TYPE          + "_" + INSTALL_LANG[ k ] + ".dmg.asc'>ASC</a>" );
+                       document.write( "                               <a " + 
SMALL + "href='" + URL_HASH + "/binaries/SDK/" + AOO + VERSION + "_MacOS_x86_"  
  + TYPE          + "_" + INSTALL_LANG[ k ] + ".dmg.md5'>MD5</a><br />" );
+                       document.write( "                               <a " + 
SMALL + "href='" + URL_HASH + "/binaries/SDK/" + AOO + VERSION + "_MacOS_x86_"  
  + TYPE          + "_" + INSTALL_LANG[ k ] + ".dmg.sha256'>SHA256</a></td>" );
                }
        }
 
@@ -284,6 +287,9 @@ function write_lang( URL_AOO, URL_HASH, 
  * This writes the column names and download links for SDK builds, source 
tarballs and other files
  */
 function write_sdk( URL_SDK, URL_SRC, URL_HASH, AOO_SRC, PLATFORM, SDK_LANG, 
VERSION, AOO_SDK ) {
+       // Show the checksum links in smaller font size than the binary links
+       var SMALL = "style='font-size: x-small'";
+
        // 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 )
@@ -302,20 +308,20 @@ function write_sdk( URL_SDK, URL_SRC, UR
        else
                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  + 
          ".tar.bz2'><b>tar.bz2</b></a><br /><br />" );
-       document.write( "                               <a href='" + URL_HASH + 
AOO_SRC + ".tar.bz2.asc'>ASC</a>" );
-       document.write( "                               <a href='" + URL_HASH + 
AOO_SRC + ".tar.bz2.md5'>MD5</a><br />" );
-       document.write( "                               <a href='" + URL_HASH + 
AOO_SRC + ".tar.bz2.sha256'>SHA256</a></td>" );
+       document.write( "<td style='text-align: center'><a href='"              
+ URL_SRC                                      + 
".tar.bz2'><b>tar.bz2</b></a><br /><br />" );
+       document.write( "                               <a " + SMALL + "href='" 
+ URL_HASH + AOO_SRC                           + ".tar.bz2.asc'>ASC</a>" );
+       document.write( "                               <a " + SMALL + "href='" 
+ URL_HASH + AOO_SRC                           + ".tar.bz2.md5'>MD5</a><br />" 
);
+       document.write( "                               <a " + SMALL + "href='" 
+ URL_HASH + AOO_SRC                           + 
".tar.bz2.sha256'>SHA256</a></td>" );
        document.write( "<td>&nbsp;</td>" );
-       document.write( "<td style='text-align: center'><a href='" + URL_SRC  + 
                                    "-src.tar.gz'><b>tar.gz</b></a><br /><br 
/>" );
-       document.write( "                               <a href='" + URL_HASH + 
AOO_SRC + VERSION + "-" + SVN_REV + "-src.tar.gz.asc'>ASC</a>" );
-       document.write( "                               <a href='" + URL_HASH + 
AOO_SRC + VERSION + "-" + SVN_REV + "-src.tar.gz.md5'>MD5</a><br />" );
-       document.write( "                               <a href='" + URL_HASH + 
AOO_SRC + VERSION + "-" + SVN_REV + "-src.tar.gz.sha256'>SHA256</a></td>" );
+       document.write( "<td style='text-align: center'><a href='"              
+ URL_SRC  +                                     ".tar.gz'><b>tar.gz</b></a><br 
/><br />" );
+       document.write( "                               <a " + SMALL + "href='" 
+ URL_HASH + AOO_SRC + VERSION + "-" + SVN_REV + ".tar.gz.asc'>ASC</a>" );
+       document.write( "                               <a " + SMALL + "href='" 
+ URL_HASH + AOO_SRC + VERSION + "-" + SVN_REV + ".tar.gz.md5'>MD5</a><br />" );
+       document.write( "                               <a " + SMALL + "href='" 
+ URL_HASH + AOO_SRC + VERSION + "-" + SVN_REV + 
".tar.gz.sha256'>SHA256</a></td>" );
        document.write( "<td>&nbsp;</td>" );
-       document.write( "<td style='text-align: center'><a href='" + URL_SRC  + 
                                    "-src.zip'><b>zip</b></a><br /><br />" );
-       document.write( "                               <a href='" + URL_HASH + 
AOO_SRC + VERSION + "-" + SVN_REV + "-src.zip.asc'>ASC</a>" );
-       document.write( "                               <a href='" + URL_HASH + 
AOO_SRC + VERSION + "-" + SVN_REV + "-src.zip.md5'>MD5</a><br />" );
-       document.write( "                               <a href='" + URL_HASH + 
AOO_SRC + VERSION + "-" + SVN_REV + "-src.zip.sha256'>SHA256</a></td>" );
+       document.write( "<td style='text-align: center'><a href='"              
+ URL_SRC  +                                     ".zip'><b>zip</b></a><br /><br 
/>" );
+       document.write( "                               <a " + SMALL + "href='" 
+ URL_HASH + AOO_SRC + VERSION + "-" + SVN_REV + ".zip.asc'>ASC</a>" );
+       document.write( "                               <a " + SMALL + "href='" 
+ URL_HASH + AOO_SRC + VERSION + "-" + SVN_REV + ".zip.md5'>MD5</a><br />" );
+       document.write( "                               <a " + SMALL + "href='" 
+ URL_HASH + AOO_SRC + VERSION + "-" + SVN_REV + ".zip.sha256'>SHA256</a></td>" 
);
        document.write( "<td>&nbsp;</td>" );
 
        document.write( "</tr>" );


Reply via email to