Author: marcus Date: Sun Jul 14 18:48:48 2013 New Revision: 1503022 URL: http://svn.apache.org/r1503022 Log: Adjusted plaform strings
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=1503022&r1=1503021&r2=1503022&view=diff ============================================================================== --- openoffice/ooo-site/trunk/content/download/test/download_tables.js (original) +++ openoffice/ooo-site/trunk/content/download/test/download_tables.js Sun Jul 14 18:48:48 2013 @@ -103,7 +103,7 @@ function write_header( FIRST_HEADER ) { document.write( "<th><span style='text-align: center' class='builds'>" + SMALL1 + "Linux <br />x86-64<br />RPM" + SMALL2 + "</span></th>" ); 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 ( PLATFORM.indexOf( "Mac_OS_x86" ) > -1 ) + if ( PLATFORM.indexOf( "MacOS_x86" ) > -1 ) document.write( "<th><span style='text-align: center' class='builds'>" + SMALL1 + "Mac OS<br />Intel <br />DMG" + SMALL2 + "</span></th>" ); document.write( "</tr></thead>" ); } @@ -164,7 +164,7 @@ function write_build( URL_AOO, URL_HASH, 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>" ); } - if ( PLATFORM.indexOf( "Mac_OS_x86" ) > -1 ) { + 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 />" ); @@ -204,7 +204,7 @@ function write_build( URL_AOO, URL_HASH, 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>" ); } - if ( PLATFORM.indexOf( "Mac_OS_x86" ) > -1 ) { + 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 />" );