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/07/05 18:14:46 UTC

svn commit: r1608045 - /openoffice/ooo-site/trunk/content/download/globalvars.js

Author: marcus
Date: Sat Jul  5 16:14:45 2014
New Revision: 1608045

URL: http://svn.apache.org/r1608045
Log:
Updated variables

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

Modified: openoffice/ooo-site/trunk/content/download/globalvars.js
URL: http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/download/globalvars.js?rev=1608045&r1=1608044&r2=1608045&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/download/globalvars.js (original)
+++ openoffice/ooo-site/trunk/content/download/globalvars.js Sat Jul  5 16:14:45 2014
@@ -9,15 +9,15 @@
  */
 
 // Stable release: General variables.
-VERSION				= "4.1.0";		// Release version in full format "x.y.z".
-VERSION_SHORT			= VERSION;		// Release version in short format "x.y".
-MILESTONE			= "AOO410m18";		// Milestone ID (from AOO build system).
-BUILD				= "9764";		// Build ID (from AOO build system).
-SVN_REV				= "r1589052";		// SVN revision.
-REL_DATE			= "2014-Apr-29";	// Date of the public announced release.
-PREV_VERSION			= "4.0.1";		// Release of the previous version.
-OLDVERSION			= "3.4.1";		// Old version (last stable release of 3.x series).
-LEGACYVERSION			= "3.3.0";		// Old legacy version (last stable none-Apache release).
+var VERSION			= "4.1.0";		// Release version in full format "x.y.z".
+var VERSION_SHORT		= VERSION;		// Release version in short format "x.y".
+var MILESTONE			= "AOO410m18";		// Milestone ID (from AOO build system).
+var BUILD			= "9764";		// Build ID (from AOO build system).
+var SVN_REV			= "r1589052";		// SVN revision.
+var REL_DATE			= "2014-Apr-29";	// Date of the public announced release.
+var PREV_VERSION		= "4.0.1";		// Release of the previous version.
+var OLDVERSION			= "3.4.1";		// Old version (last stable release of 3.x series).
+var LEGACYVERSION		= "3.3.0";		// Old legacy version (last stable none-Apache release).
 
 // Version can be written as "x.y" instead of "x.y.z" if z is 0.
 // Example: If VERSION is "4.1.0", then VERSION_SHORT is "4.1".
@@ -26,7 +26,7 @@ if ( VERSION.slice( 4, 5 ) === "0" )
 	VERSION_SHORT = VERSION.substring( 0, 3 );
 
 // Data for the <select> element "os".
-SEL_OS				= [ "win32",  "Windows (EXE)",			    ".exe",
+var SEL_OS			= [ "win32",  "Windows (EXE)",			    ".exe",
 				    "lnx64d", "Linux 64-bit (x86-64) (DEB)",	    ".tar.gz",
 				    "lnx64r", "Linux 64-bit (x86-64) (RPM)",	    ".tar.gz",
 				    "lnx32d", "Linux 32-bit (x86) (DEB)",	    ".tar.gz",
@@ -36,7 +36,7 @@ SEL_OS				= [ "win32",  "Windows (EXE)",
 				    "other",  "More platforms / operating systems", "" ];
 
 // Data for the <select> element "lang".
-SEL_LANG			= [ "ast",   "Asturian (Asturianu) (ast)",
+var SEL_LANG			= [ "ast",   "Asturian (Asturianu) (ast)",
 				    "eu",    "Basque (Euskara) (eu)",
 				    "bg",    "Bulgarian (български език) (bg)",
 				    "zh-CN", "Chinese [simplified] (简体中文) (zh-CN)",
@@ -76,64 +76,69 @@ SEL_LANG			= [ "ast",   "Asturian (Astur
 				    "vi",    "Vietnamese (Tiếng Việt) (vi)" ];
 
 // Data for the <select> element "ver".
-SEL_VER				= [ "4.1.0", "4.1.0",
+var SEL_VER			= [ "4.1.0", "4.1.0",
 				    "4.0.1", "4.0.1",
 				    "4.0.0", "4.0.0",
+				    "3.4.1", "3.4.1",
 				    "older", "Older releases" ];
 
-// Only used on the "other.html" webpage.
-REL_PLATFORM			= [ "Win_x86", "Linux_x86_rpm", "Linux_x86_deb", "Linux_x86-64_rpm", "Linux_x86-64_deb",
+// Base URLs to the Sourceforge and Apache mirror server.
+var SOURCEFORGE			= "http://sourceforge.net/projects/openofficeorg.mirror/files/";
+var ASF				= "http://www.apache.org/dyn/aoo-closer.cgi/openoffice/";
+var ASF_DIST			= "http://www.apache.org/dist/openoffice/";
+var ASF_ARC			= "http://archive.apache.org/dist/openoffice/";
+
+// Only used in "download_other.js".
+var REL_PLATFORM		= [ "Win_x86", "Linux_x86_rpm", "Linux_x86_deb", "Linux_x86-64_rpm", "Linux_x86-64_deb",
 				    "MacOS_x86-64" ];
-REL_FULL_LANG			= [ "ast", "bg", "cs", "da", "de", "el", "en-GB", "en-US", "es", "eu", "fi", "fr", "gd",
-				    "gl", "he", "hi", "hu", "it", "ja", "km", "ko", "lt", "nb", "nl", "pl", "pt", "pt-BR",
-				    "ru", "sk", "sl", "sr", "sv", "ta", "th", "tr", "vi", "zh-CN", "zh-TW" ];
-REL_LP_LANG			= [ "ast", "bg", "cs", "da", "de", "el", "en-GB", "en-US", "es", "eu", "fi", "fr", "gd",
-				    "gl", "he", "hi", "hu", "it", "ja", "km", "ko", "lt", "nb", "nl", "pl", "pt", "pt-BR",
-				    "ru", "sk", "sl", "sr", "sv", "ta", "th", "tr", "vi", "zh-CN", "zh-TW" ];
-REL_SDK_LANG			= [ "en-US" ]
+var REL_FULL_LANG		= [ "ast", "bg", "cs", "da", "de", "el", "en-GB", "en-US", "es", "eu", "fi", "fr", "gd",
+				    "gl", "he", "hi", "hu", "it", "ja", "km", "ko", "lt", "nb", "nl", "pl", "pt",
+				    "pt-BR", "ru", "sk", "sl", "sr", "sv", "ta", "th", "tr", "vi", "zh-CN", "zh-TW" ];
+var REL_LP_LANG			= [ "ast", "bg", "cs", "da", "de", "el", "en-GB", "en-US", "es", "eu", "fi", "fr", "gd",
+				    "gl", "he", "hi", "hu", "it", "ja", "km", "ko", "lt", "nb", "nl", "pl", "pt",
+				    "pt-BR", "ru", "sk", "sl", "sr", "sv", "ta", "th", "tr", "vi", "zh-CN", "zh-TW" ];
+var REL_SDK_LANG		= [ "en-US" ]
 
-// Base URLs to the Sourceforge and Apache mirror server.
-SOURCEFORGE			= "http://sourceforge.net/projects/openofficeorg.mirror/files/";
-ASF				= "http://www.apache.org/dyn/aoo-closer.cgi/openoffice/";
-ASF_DIST			= "http://www.apache.org/dist/openoffice/";
-ASF_ARC				= "http://archive.apache.org/dist/openoffice/";
-
-// File names and images used in "download.js".
-FILE_FULL_LP_IMG		= "http://www.openoffice.org/download/cachedimages/help-information-icon.png";
-FILE_CHECKSUMS_IMG		= "http://www.openoffice.org/download/cachedimages/help-information-icon.png";
-FILE_ANALYZE_IMG		= "http://www.openoffice.org/download/cachedimages/help-report-broken-link-icon.png";
-FILE_ERROR_IMG			= "http://www.openoffice.org/download/cachedimages/exclamation-icon.png";
+// The maximal number of available languages in "download_other.js".
+var LANG_MAX			= 133;
 
 // Beta Release: General variables.
-BETA_VERSION			= "4.1.0-beta";
-BETA_NAME			= "4.1.0 Beta";
-BETA_MILESTONE			= "AOO410m14";
-BETA_BUILD			= "9760";
-BETA_SVN_REV			= "r1573601";
-BETA_REL_DATE			= "2014-Mar-10";
-BETA_ACTIVE			= -1;		// 1 = activate download, 0 = display "coming soon", -1 = display nothing
+var BETA_VERSION		= "4.1.0-beta";
+var BETA_NAME			= "4.1.0 Beta";
+var BETA_MILESTONE		= "AOO410m14";
+var BETA_BUILD			= "9760";
+var BETA_SVN_REV		= "r1573601";
+var BETA_REL_DATE		= "2014-Mar-10";
+var BETA_ACTIVE			= -1;		// 1 = activate download, 0 = display "coming soon", -1 = display nothing
 
-// Only used on the "all_beta.html" webpage.
-BETA_PLATFORM			= [ "Win_x86", "Linux_x86_rpm", "Linux_x86_deb", "Linux_x86-64_rpm", "Linux_x86-64_deb",
+// Only used in "all_beta.html".
+var BETA_PLATFORM		= [ "Win_x86", "Linux_x86_rpm", "Linux_x86_deb", "Linux_x86-64_rpm", "Linux_x86-64_deb",
 				    "MacOS_x86-64" ];
-BETA_FULL_LANG			= [ "ast", "bg", "cs", "da", "de", "el", "en-GB", "en-US", "es", "eu", "fi", "fr", "gd",
-				    "gl", "hi", "hu", "it", "ja", "km", "ko", "lt", "nb", "nl", "pl", "pt", "pt-BR", "ru",
-				    "sk", "sl", "sr", "sv", "ta", "th", "tr", "vi", "zh-CN", "zh-TW" ];
-BETA_LP_LANG			= [ "ast", "bg", "cs", "da", "de", "el", "en-GB", "en-US", "es", "eu", "fi", "fr", "gd",
-				    "gl", "hi", "hu", "it", "ja", "km", "ko", "lt", "nb", "nl", "pl", "pt", "pt-BR", "ru",
-				    "sk", "sl", "sr", "sv", "ta", "th", "tr", "vi", "zh-CN", "zh-TW" ];
-BETA_SDK_LANG			= [ "en-US" ];
+var BETA_FULL_LANG		= [ "ast", "bg", "cs", "da", "de", "el", "en-GB", "en-US", "es", "eu", "fi", "fr", "gd",
+				    "gl", "hi", "hu", "it", "ja", "km", "ko", "lt", "nb", "nl", "pl", "pt", "pt-BR",
+				    "ru", "sk", "sl", "sr", "sv", "ta", "th", "tr", "vi", "zh-CN", "zh-TW" ];
+var BETA_LP_LANG		= [ "ast", "bg", "cs", "da", "de", "el", "en-GB", "en-US", "es", "eu", "fi", "fr", "gd",
+				    "gl", "hi", "hu", "it", "ja", "km", "ko", "lt", "nb", "nl", "pl", "pt", "pt-BR",
+				    "ru", "sk", "sl", "sr", "sv", "ta", "th", "tr", "vi", "zh-CN", "zh-TW" ];
+var BETA_SDK_LANG		= [ "en-US" ];
 
 // Base URLs to the Sourceforge and Apache mirror server.
-BETA_SOURCEFORGE		= "http://sourceforge.net/projects/openofficeorg.mirror/files/milestones/" + BETA_VERSION;
-BETA_SOURCEFORGE		= BETA_SOURCEFORGE + "/binaries/";
-BETA_ASF			= "http://www.apache.org/dyn/aoo-closer.cgi/openoffice/"		   + BETA_VERSION;
-BETA_ASF_DIST			= "http://www.apache.org/dist/openoffice/"				   + BETA_VERSION;
-BETA_ASF_ARC			= "http://archive.apache.org/dist/openoffice/"				   + BETA_VERSION;
+var BETA_SOURCEFORGE		= "http://sourceforge.net/projects/openofficeorg.mirror/files/milestones/" + BETA_VERSION;
+var BETA_SOURCEFORGE		= BETA_SOURCEFORGE + "/binaries/";
+var BETA_ASF			= "http://www.apache.org/dyn/aoo-closer.cgi/openoffice/"		   + BETA_VERSION;
+var BETA_ASF_DIST		= "http://www.apache.org/dist/openoffice/"				   + BETA_VERSION;
+var BETA_ASF_ARC		= "http://archive.apache.org/dist/openoffice/"				   + BETA_VERSION;
 
 // Debug: Uncomment to use different base URLs.
-// PEOPLE_BASE_URL		= "http://people.apache.org/~marcus/aoo/"				   + VERSION;
+// var PEOPLE_BASE_URL		= "http://people.apache.org/~marcus/aoo/"				   + VERSION;
 
-// The maximal number of available languages in "download_other.js".
-LANG_MAX			= 133;
+var RELEASE_MODE		= 1;
+var LANG_ISO, LANG_SEL, UI_PLATFORM_NO_SUP, PLATFORM_SEL, VERSION_SEL, UI_PLATFORM, PLATFORM, PLATFORM_FULL, PLATFORM_LP,
+    RELEASE_PLATFORM, RELEASE_LANG, REL_TEXT, REL_NOTES, FILENAME_FULL, FILENAME_LP, EXTENSION, SOURCEFORGE_BASE_URL,
+    SOURCEFORGE_PREV_URL, ASF_ARC_BASE_URL, ASF_ARC_PREV_URL, ASF_WIKI_URL, LINK_FULL, LINK_LP, LINK_CHK_KEYS,
+    LINK_CHK_ASC_FULL, LINK_CHK_MD5_FULL, LINK_CHK_SHA256_FULL, LINK_CHK_ASC_LP, LINK_CHK_MD5_LP, LINK_CHK_SHA256_LP = "";
+var RELEASE_PLATFORM_POS_FULL, RELEASE_PLATFORM_POS_LP, FILESIZE_FULL, FILESIZE_LP = -1;
+var SHOW_SUB_BOX		= true;
+var ERROR			= false;
+var element_ids_sub_box, element_ids_links = "";