in assets/download/download_other.js [360:436]
function write_sdk( rel_mode, 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'";
// First 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 )
document.write( "<tr id='source' class='b'><td class='footer' colspan='" + COLSPAN + "'> <br /> <br /> <br /> </td></tr>" );
else
document.write( "<tr id='source' class='a'><td class='footer' colspan='" + COLSPAN + "'> <br /> <br /> <br /> </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 );
// Then write the row with the source tarballs
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 )
document.write( "<tr class='a'><td>-</td><td>-</td><td><small><a href='#notes'" + "title='What are source tarballs?'>Source<br />tarballs</a></small></td>" );
else
document.write( "<tr class='b'><td>-</td><td>-</td><td><small><a href='#notes'" + "title='What are source tarballs?'>Source<br />tarballs</a></small></td>" );
if ( rel_mode == 1 ) {
// Release mode
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><br />" );
document.write( " <a " + SMALL + "href='" + URL_HASH + AOO_SRC + ".tar.bz2.sha256'>SHA256</a>" );
document.write( " <a " + SMALL + "href='" + URL_HASH + AOO_SRC + ".tar.bz2.sha512'>SHA512</a></td>" );
document.write( "<td> </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 + ".tar.gz.asc'>ASC</a><br />" );
document.write( " <a " + SMALL + "href='" + URL_HASH + AOO_SRC + ".tar.gz.sha256'>SHA256</a>" );
document.write( " <a " + SMALL + "href='" + URL_HASH + AOO_SRC + ".tar.gz.sha512'>SHA512</a></td>" );
document.write( "<td> </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 + ".zip.asc'>ASC</a><br />" );
document.write( " <a " + SMALL + "href='" + URL_HASH + AOO_SRC + ".zip.sha256'>SHA256</a>" );
document.write( " <a " + SMALL + "href='" + URL_HASH + AOO_SRC + ".zip.sha512'>SHA512</a></td>" );
document.write( "<td> </td>" );
} else if ( rel_mode == 2 ) {
// Beta release mode
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><br />" );
document.write( " <a " + SMALL + "href='" + URL_HASH + AOO_SRC + ".tar.bz2.sha256'>SHA256</a>" );
document.write( " <a " + SMALL + "href='" + URL_HASH + AOO_SRC + ".tar.bz2.sha512'>SHA512</a></td>" );
document.write( "<td> </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 + ".tar.gz.asc'>ASC</a><br />" );
document.write( " <a " + SMALL + "href='" + URL_HASH + AOO_SRC + ".tar.gz.sha256'>SHA256</a>" );
document.write( " <a " + SMALL + "href='" + URL_HASH + AOO_SRC + ".tar.gz.sha512'>SHA512</a></td>" );
document.write( "<td> </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 + ".zip.asc'>ASC</a><br />" );
document.write( " <a " + SMALL + "href='" + URL_HASH + AOO_SRC + ".zip.sha256'>SHA256</a>" );
document.write( " <a " + SMALL + "href='" + URL_HASH + AOO_SRC + ".zip.sha512'>SHA512</a></td>" );
document.write( "<td> </td>" );
}
document.write( "</tr>" );
ROW_COUNT++;
// At last write the row with the other files (release notes)
document.write( "<tr class='a'><td>-</td><td>-</td><td><small>Other files</small></td>" );
if ( rel_mode == 1 ) {
// Release mode
document.write( "<td style='text-align: center'><a href='../development/releases/" + VERSION + ".html' title='Apache OpenOffice Release Notes'>AOO<br />Release<br />Notes</a></td>" );
} else if ( rel_mode == 2 ) {
// Beta release mode
// document.write( "<td style='text-align: center'><a href='../development/releases/" + BETA_VERSION + "_Beta.html' title='Apache OpenOffice Release Notes'>AOO<br />Release<br />Notes</a></td>" );
document.write( "<td style='text-align: center'><a href='https://cwiki.apache.org/confluence/display/OOOUSERS/AOO+4.1+Release+Notes'>AOO<br />Release<br />Notes</a></td>" );
}
document.write( "<td> </td>" );
document.write( "<td style='text-align: center'><a href='checksums.html' title='How to verify the download with checksums?'>How to<br />verify the<br />download?</a></td>" );
document.write( "<td> </td>" );
document.write( "<td> </td>" );
document.write( "<td> </td>" );
document.write( "</tr>" );
}