You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ma...@apache.org on 2014/03/25 23:00:26 UTC

svn commit: r1581552 - /openoffice/ooo-site/trunk/content/download/test/download.js

Author: marcus
Date: Tue Mar 25 22:00:25 2014
New Revision: 1581552

URL: http://svn.apache.org/r1581552
Log:
Updated comments

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

Modified: openoffice/ooo-site/trunk/content/download/test/download.js
URL: http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/download/test/download.js?rev=1581552&r1=1581551&r2=1581552&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/download/test/download.js (original)
+++ openoffice/ooo-site/trunk/content/download/test/download.js Tue Mar 25 22:00:25 2014
@@ -111,6 +111,7 @@ function getLanguage() {
 function hasMirrorLink( rel_mode ) {
 
 	if ( rel_mode == 0 ) {
+		// Release mode
 		// First check if the Beta release languages (not available as current stable release !) are set in browser
 		if ( LANG_ISO == "bg" || LANG_ISO == "da" || LANG_ISO == "hi" || LANG_ISO == "nb" || LANG_ISO == "th" ) {
 			SOURCEFORGE	= false;
@@ -136,7 +137,6 @@ function hasMirrorLink( rel_mode ) {
 			return false;
 		}
 	}
-
 /*
 	if ( LANG_ARRAY[ 3 ] == 'y' )
 		return true;
@@ -159,15 +159,6 @@ function getLink( rel_mode ) {
 
 	getLanguage();
 	getPlatform( rel_mode );
-/*
-	document.write ( "Language ISO: " + LANG_ISO + " - has MirrorLink( rel_mode )?: " + hasMirrorLink( rel_mode )
-	+ "<br />"
-	+ "SourceForge: " + SOURCEFORGE + " - Other: " + OTHER + " - Archive: " + ARCHIVE
-	+ "<br />"
-	+ "UI_PLATFORM: " + UI_PLATFORM + " - URL_PLATFORM: " + URL_PLATFORM + " - EXTENSION: " + EXTENSION
-	+ "<br />"
-	+ "LINK: " + LINK );
-*/
 	if ( hasMirrorLink( rel_mode ) ) {
 		getFilesize( rel_mode );
 	}