You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by bu...@apache.org on 2014/06/12 21:59:12 UTC

svn commit: r912377 - in /websites/staging/ooo-site/trunk: cgi-bin/ content/ content/download/test/download.js

Author: buildbot
Date: Thu Jun 12 19:59:11 2014
New Revision: 912377

Log:
Staging update by buildbot for ooo-site

Modified:
    websites/staging/ooo-site/trunk/cgi-bin/   (props changed)
    websites/staging/ooo-site/trunk/content/   (props changed)
    websites/staging/ooo-site/trunk/content/download/test/download.js

Propchange: websites/staging/ooo-site/trunk/cgi-bin/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Thu Jun 12 19:59:11 2014
@@ -1 +1 @@
-1602278
+1602281

Propchange: websites/staging/ooo-site/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Thu Jun 12 19:59:11 2014
@@ -1 +1 @@
-1602278
+1602281

Modified: websites/staging/ooo-site/trunk/content/download/test/download.js
==============================================================================
--- websites/staging/ooo-site/trunk/content/download/test/download.js (original)
+++ websites/staging/ooo-site/trunk/content/download/test/download.js Thu Jun 12 19:59:11 2014
@@ -76,7 +76,6 @@ function initVars( init_all ) {
 		LANG_ISO			= "";	 // The language as ISO code.
 		LANG_SEL			= "";	 // The selected language as ISO code from select box.
 		UI_PLATFORM_NO_SUP		= "";	 // The platform as readable string, if not supported.
-		OLD_PLATFORM			= false; // Is the browser platform old (true) or not (false)?
 		PLATFORM_SEL			= "";	 // The selected platform from select box.
 		VERSION_SEL			= "";	 // The selected version from select box.
 	}
@@ -527,7 +526,6 @@ function isLangSupported() {
 		ERROR = false;
 		return true;
 	} else {
-		NOT_AVAILABLE = RELEASE_LANG[ 1 ] + " (" + RELEASE_LANG[ 2 ] + ") (" + LANG_SEL + ") is not available";
 		ERROR = true;
 		return false;
 	}
@@ -879,15 +877,9 @@ function getPlatform() {
 
 		// Legacy, no longer supported platforms.
 		if( ua.indexOf( "power_pc"		) !== -1 ||
-		    ua.indexOf( "ppc"			) !== -1 ) {	UI_PLATFORM_NO_SUP	= "Mac OS PPC (DMG)";
-									OLD_PLATFORM		= true;
-		}
-		if( ua.indexOf( "sun4u"			) !== -1 ) {	UI_PLATFORM_NO_SUP	= "Solaris SPARC (PKG)";
-									OLD_PLATFORM		= true;
-		}
-		if( os.indexOf( "sunos"			) !== -1 ) {	UI_PLATFORM_NO_SUP	= "Solaris x86 (PKG)";
-									OLD_PLATFORM		= true;
-		}
+		    ua.indexOf( "ppc"			) !== -1 )	UI_PLATFORM_NO_SUP	= "Mac OS PPC (DMG)";
+		if( ua.indexOf( "sun4u"			) !== -1 )	UI_PLATFORM_NO_SUP	= "Solaris SPARC (PKG)";
+		if( os.indexOf( "sunos"			) !== -1 )	UI_PLATFORM_NO_SUP	= "Solaris x86 (PKG)";
 
 		// If $UI_PLATFORM_NO_SUP is already filled, something was recognized and no more work is needed.
 		if( UI_PLATFORM_NO_SUP !== "" ) {
@@ -961,7 +953,6 @@ function getPlatform() {
 			    ua.indexOf( "10.3"		) !== -1 ||
 			    ua.indexOf( "10_3"		) !== -1 ) {	UI_PLATFORM	= "Mac OS X (<= 10.6)";
 									PLATFORM	= "mac32";
-									OLD_PLATFORM	= true;
 			}
 		} 
 	} 
@@ -1146,7 +1137,6 @@ function alertDbg( location ) {
 	+ "PLATFORM_FULL: "			+ "\t\t\t\t\t"		+ PLATFORM_FULL				+ "\n"
 	+ "PLATFORM_LP: "			+ "\t\t\t\t\t\t"	+ PLATFORM_LP				+ "\n"
 	+ "PLATFORM_SEL: "			+ "\t\t\t\t\t\t"	+ PLATFORM_SEL				+ "\n"
-	+ "OLD_PLATFORM: "			+ "\t\t\t\t\t"		+ OLD_PLATFORM				+ "\n"
 	+ "RELEASE_PLATFORM_POS_FULL: "		+ "\t\t\t"		+ RELEASE_PLATFORM_POS_FULL		+ "\n"
 	+ "RELEASE_PLATFORM_POS_LP: "		+ "\t\t\t"		+ RELEASE_PLATFORM_POS_LP		+ "\n"
 	+ "RELEASE_PLATFORM: "			+ "\t\t\t\t\t"		+ RELEASE_PLATFORM			+ "\n"