openoffice-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From msei...@apache.org
Subject svn commit: r1850047 - /openoffice/ooo-site/trunk/content/download/download_other.js
Date Mon, 31 Dec 2018 14:19:34 GMT
Author: mseidel
Date: Mon Dec 31 14:19:33 2018
New Revision: 1850047

URL: http://svn.apache.org/viewvc?rev=1850047&view=rev
Log:
Small corrections regarding hashes

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

Modified: openoffice/ooo-site/trunk/content/download/download_other.js
URL: http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/download/download_other.js?rev=1850047&r1=1850046&r2=1850047&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/download/download_other.js (original)
+++ openoffice/ooo-site/trunk/content/download/download_other.js Mon Dec 31 14:19:33 2018
@@ -10,7 +10,7 @@
  */
 
 /*
- * Define global variables 
+ * 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 (start = 1)
@@ -19,7 +19,7 @@ var LP_LANG_COUNT	= 1;	// Counts the max
 
 /*
  * Define base variables
- * The main entry for writting the table into the webpage 
+ * The main entry for writing the table into the webpage
  */
 function write_table( rel_mode ) {
 	if ( rel_mode == 1 ) {
@@ -137,11 +137,11 @@ function write_header( rel_mode, FIRST_H
 	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 ( DL.REL_PLATFORM.indexOf( "Win_x86" ) > -1 )
-		document.write( "<th><span style='text-align: center' class='builds'>" + SMALL1
+ "Windows    <br />Intel <br />EXE" + SMALL2 + "</span></th>" );
+		document.write( "<th><span style='text-align: center' class='builds'>" + SMALL1
+ "Windows    <br />x86 <br />EXE" + SMALL2 + "</span></th>" );
 	if ( DL.REL_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>" );
+		document.write( "<th><span style='text-align: center' class='builds'>" + SMALL1
+ "Linux      <br />x86 <br />RPM" + SMALL2 + "</span></th>" );
 	if ( DL.REL_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>" );
+		document.write( "<th><span style='text-align: center' class='builds'>" + SMALL1
+ "Linux      <br />x86 <br />DEB" + SMALL2 + "</span></th>" );
 	if ( DL.REL_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 ( DL.REL_PLATFORM.indexOf( "Linux_x86-64_deb" ) > -1 )
@@ -149,12 +149,12 @@ function write_header( rel_mode, FIRST_H
 	if ( rel_mode == 1 ) {
 		// Release mode
 		if ( DL.REL_PLATFORM.indexOf( "MacOS_x86-64" ) > -1 )
-			document.write( "<th><span style='text-align: center' class='builds'>" + SMALL1
+ "OS&nbsp;X  <br />x86-64<br />DMG" + SMALL2 + "</span></th>"
);
+			document.write( "<th><span style='text-align: center' class='builds'>" + SMALL1
+ "macOS  <br />x86-64<br />DMG" + SMALL2 + "</span></th>" );
 	} else if ( rel_mode == 2 ) {
 		// Beta release mode
 		DL.REL_PLATFORM = DL_BETA.BETA_REL_PLATFORM;
 		if ( DL.REL_PLATFORM.indexOf( "MacOS_x86-64" ) > -1 )
-			document.write( "<th><span style='text-align: center' class='builds'>" + SMALL1
+ "OS&nbsp;X  <br />x86-64<br />DMG" + SMALL2 + "</span></th>"
);
+			document.write( "<th><span style='text-align: center' class='builds'>" + SMALL1
+ "macOS  <br />x86-64<br />DMG" + SMALL2 + "</span></th>" );
 	}
 	document.write( "</tr></thead>" );
 }
@@ -190,49 +190,49 @@ function write_build( rel_mode, URL_AOO,
 		// 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/download'><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>" );
+			document.write( "                               <a " + SMALL + "href='" + URL_HASH
+ "/binaries/" + INSTALL_LANG[ k ] + "/" + AOO + VERSION + "_Win_x86_"      + TYPE       
  + "_" + INSTALL_LANG[ k ] + ".exe.asc'>ASC</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>" );
+			document.write( "                               <a " + SMALL + "href='" + URL_HASH
+ "/binaries/" + INSTALL_LANG[ k ] + "/" + AOO + VERSION + "_Win_x86_"      + TYPE       
  + "_" + INSTALL_LANG[ k ] + ".exe.sha512'>SHA512</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/download'><b>rpm</b></a><br /><br
/>" );
-			document.write( "                               <a " + SMALL + "href='" + URL_HASH
+ "/binaries/" + INSTALL_LANG[ k ] + "/" + AOO + VERSION + "_Linux_x86_"    + TYPE + "-rpm"
+ "_" + INSTALL_LANG[ k ] + ".tar.gz.asc'>ASC</a>" );
-			document.write( "                               <a " + SMALL + "href='" + URL_HASH
+ "/binaries/" + INSTALL_LANG[ k ] + "/" + AOO + VERSION + "_Linux_x86_"    + TYPE + "-rpm"
+ "_" + 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 + "-rpm"
+ "_" + INSTALL_LANG[ k ] + ".tar.gz.sha256'>SHA256</a></td>" );
+			document.write( "                               <a " + SMALL + "href='" + URL_HASH
+ "/binaries/" + INSTALL_LANG[ k ] + "/" + AOO + VERSION + "_Linux_x86_"    + TYPE + "-rpm"
+ "_" + INSTALL_LANG[ k ] + ".tar.gz.asc'>ASC</a><br />" );
+			document.write( "                               <a " + SMALL + "href='" + URL_HASH
+ "/binaries/" + INSTALL_LANG[ k ] + "/" + AOO + VERSION + "_Linux_x86_"    + TYPE + "-rpm"
+ "_" + INSTALL_LANG[ k ] + ".tar.gz.sha256'>SHA256</a>" );
+			document.write( "                               <a " + SMALL + "href='" + URL_HASH
+ "/binaries/" + INSTALL_LANG[ k ] + "/" + AOO + VERSION + "_Linux_x86_"    + TYPE + "-rpm"
+ "_" + INSTALL_LANG[ k ] + ".tar.gz.sha512'>SHA512</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/download'><b>deb</b></a><br /><br
/>" );
-			document.write( "                               <a " + SMALL + "href='" + URL_HASH
+ "/binaries/" + INSTALL_LANG[ k ] + "/" + AOO + VERSION + "_Linux_x86_"    + TYPE + "-deb"
+ "_" + INSTALL_LANG[ k ] + ".tar.gz.asc'>ASC</a>" );
-			document.write( "                               <a " + SMALL + "href='" + URL_HASH
+ "/binaries/" + INSTALL_LANG[ k ] + "/" + AOO + VERSION + "_Linux_x86_"    + TYPE + "-deb"
+ "_" + 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 + "-deb"
+ "_" + INSTALL_LANG[ k ] + ".tar.gz.sha256'>SHA256</a></td>" );
+			document.write( "                               <a " + SMALL + "href='" + URL_HASH
+ "/binaries/" + INSTALL_LANG[ k ] + "/" + AOO + VERSION + "_Linux_x86_"    + TYPE + "-deb"
+ "_" + INSTALL_LANG[ k ] + ".tar.gz.asc'>ASC</a><br />" );
+			document.write( "                               <a " + SMALL + "href='" + URL_HASH
+ "/binaries/" + INSTALL_LANG[ k ] + "/" + AOO + VERSION + "_Linux_x86_"    + TYPE + "-deb"
+ "_" + INSTALL_LANG[ k ] + ".tar.gz.sha256'>SHA256</a>" );
+			document.write( "                               <a " + SMALL + "href='" + URL_HASH
+ "/binaries/" + INSTALL_LANG[ k ] + "/" + AOO + VERSION + "_Linux_x86_"    + TYPE + "-deb"
+ "_" + INSTALL_LANG[ k ] + ".tar.gz.sha512'>SHA512</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/download'><b>rpm</b></a><br /><br
/>" );
-			document.write( "                               <a " + SMALL + "href='" + URL_HASH
+ "/binaries/" + INSTALL_LANG[ k ] + "/" + AOO + VERSION + "_Linux_x86-64_" + TYPE + "-rpm"
+ "_" + 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 + "-rpm"
+ "_" + 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 + "-rpm"
+ "_" + INSTALL_LANG[ k ] + ".tar.gz.sha256'>SHA256</a></td>" );
+			document.write( "                               <a " + SMALL + "href='" + URL_HASH
+ "/binaries/" + INSTALL_LANG[ k ] + "/" + AOO + VERSION + "_Linux_x86-64_" + TYPE + "-rpm"
+ "_" + INSTALL_LANG[ k ] + ".tar.gz.asc'>ASC</a><br /" );
+			document.write( "                               <a " + SMALL + "href='" + URL_HASH
+ "/binaries/" + INSTALL_LANG[ k ] + "/" + AOO + VERSION + "_Linux_x86-64_" + TYPE + "-rpm"
+ "_" + INSTALL_LANG[ k ] + ".tar.gz.sha256'>SHA256</a>>" );
+			document.write( "                               <a " + SMALL + "href='" + URL_HASH
+ "/binaries/" + INSTALL_LANG[ k ] + "/" + AOO + VERSION + "_Linux_x86-64_" + TYPE + "-rpm"
+ "_" + INSTALL_LANG[ k ] + ".tar.gz.sha512'>SHA512</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/download'><b>deb</b></a><br /><br
/>" );
-			document.write( "                               <a " + SMALL + "href='" + URL_HASH
+ "/binaries/" + INSTALL_LANG[ k ] + "/" + AOO + VERSION + "_Linux_x86-64_" + TYPE + "-deb"
+ "_" + 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 + "-deb"
+ "_" + 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 + "-deb"
+ "_" + INSTALL_LANG[ k ] + ".tar.gz.sha256'>SHA256</a></td>" );
+			document.write( "                               <a " + SMALL + "href='" + URL_HASH
+ "/binaries/" + INSTALL_LANG[ k ] + "/" + AOO + VERSION + "_Linux_x86-64_" + TYPE + "-deb"
+ "_" + INSTALL_LANG[ k ] + ".tar.gz.asc'>ASC</a><br />" );
+			document.write( "                               <a " + SMALL + "href='" + URL_HASH
+ "/binaries/" + INSTALL_LANG[ k ] + "/" + AOO + VERSION + "_Linux_x86-64_" + TYPE + "-deb"
+ "_" + INSTALL_LANG[ k ] + ".tar.gz.sha256'>SHA256</a>" );
+			document.write( "                               <a " + SMALL + "href='" + URL_HASH
+ "/binaries/" + INSTALL_LANG[ k ] + "/" + AOO + VERSION + "_Linux_x86-64_" + TYPE + "-deb"
+ "_" + INSTALL_LANG[ k ] + ".tar.gz.sha512'>SHA512</a></td>" );
 		}
 		if ( rel_mode == 1 ) {
 			// Release mode
 			if ( PLATFORM.indexOf( "MacOS_x86-64" ) > -1 ) {
 				document.write( "<td style='text-align: center'><a href='"              + URL_AOO
                + INSTALL_LANG[ k ] + "/" + AOO + VERSION + "_MacOS_x86-64_" + TYPE  + "_"
+ INSTALL_LANG[ k ] + ".dmg/download'><b>dmg</b></a><br /><br
/>" );
-				document.write( "                               <a " + SMALL + "href='" + URL_HASH
+ "/binaries/" + INSTALL_LANG[ k ] + "/" + AOO + VERSION + "_MacOS_x86-64_" + TYPE  + "_"
+ INSTALL_LANG[ k ] + ".dmg.asc'>ASC</a>" );
-				document.write( "                               <a " + SMALL + "href='" + URL_HASH
+ "/binaries/" + INSTALL_LANG[ k ] + "/" + AOO + VERSION + "_MacOS_x86-64_" + TYPE  + "_"
+ INSTALL_LANG[ k ] + ".dmg.md5'>MD5</a><br />" );
-				document.write( "                               <a " + SMALL + "href='" + URL_HASH
+ "/binaries/" + INSTALL_LANG[ k ] + "/" + AOO + VERSION + "_MacOS_x86-64_" + TYPE  + "_"
+ INSTALL_LANG[ k ] + ".dmg.sha256'>SHA256</a></td>" );
+				document.write( "                               <a " + SMALL + "href='" + URL_HASH
+ "/binaries/" + INSTALL_LANG[ k ] + "/" + AOO + VERSION + "_MacOS_x86-64_" + TYPE  + "_"
+ INSTALL_LANG[ k ] + ".dmg.asc'>ASC</a><br />" );
+				document.write( "                               <a " + SMALL + "href='" + URL_HASH
+ "/binaries/" + INSTALL_LANG[ k ] + "/" + AOO + VERSION + "_MacOS_x86-64_" + TYPE  + "_"
+ INSTALL_LANG[ k ] + ".dmg.sha256'>SHA256</a>" );
+				document.write( "                               <a " + SMALL + "href='" + URL_HASH
+ "/binaries/" + INSTALL_LANG[ k ] + "/" + AOO + VERSION + "_MacOS_x86-64_" + TYPE  + "_"
+ INSTALL_LANG[ k ] + ".dmg.sha512'>SHA512</a></td>" );
 			}
 		} else if ( rel_mode == 2 ) {
 			// Beta release mode
 			if ( PLATFORM.indexOf( "MacOS_x86-64" ) > -1 ) {
 				document.write( "<td style='text-align: center'><a href='"              + URL_AOO
                + INSTALL_LANG[ k ] + "/" + AOO + VERSION + "_MacOS_x86-64_" + TYPE  + "_"
+ INSTALL_LANG[ k ] + ".dmg/download'><b>dmg</b></a><br /><br
/>" );
-				document.write( "                               <a " + SMALL + "href='" + URL_HASH
+ "/binaries/" + INSTALL_LANG[ k ] + "/" + AOO + VERSION + "_MacOS_x86-64_" + TYPE  + "_"
+ INSTALL_LANG[ k ] + ".dmg.asc'>ASC</a>" );
-				document.write( "                               <a " + SMALL + "href='" + URL_HASH
+ "/binaries/" + INSTALL_LANG[ k ] + "/" + AOO + VERSION + "_MacOS_x86-64_" + TYPE  + "_"
+ INSTALL_LANG[ k ] + ".dmg.md5'>MD5</a><br />" );
-				document.write( "                               <a " + SMALL + "href='" + URL_HASH
+ "/binaries/" + INSTALL_LANG[ k ] + "/" + AOO + VERSION + "_MacOS_x86-64_" + TYPE  + "_"
+ INSTALL_LANG[ k ] + ".dmg.sha256'>SHA256</a></td>" );
+				document.write( "                               <a " + SMALL + "href='" + URL_HASH
+ "/binaries/" + INSTALL_LANG[ k ] + "/" + AOO + VERSION + "_MacOS_x86-64_" + TYPE  + "_"
+ INSTALL_LANG[ k ] + ".dmg.asc'>ASC</a><br />" );
+				document.write( "                               <a " + SMALL + "href='" + URL_HASH
+ "/binaries/" + INSTALL_LANG[ k ] + "/" + AOO + VERSION + "_MacOS_x86-64_" + TYPE  + "_"
+ INSTALL_LANG[ k ] + ".dmg.sha256'>SHA256</a>" );
+				document.write( "                               <a " + SMALL + "href='" + URL_HASH
+ "/binaries/" + INSTALL_LANG[ k ] + "/" + AOO + VERSION + "_MacOS_x86-64_" + TYPE  + "_"
+ INSTALL_LANG[ k ] + ".dmg.sha512'>SHA512</a></td>" );
 			}
 		}
 	} else {



Mime
View raw message