Author: buildbot
Date: Wed Apr 30 18:08:22 2014
New Revision: 907488
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 Wed Apr 30 18:08:22 2014
@@ -1 +1 @@
-1591278
+1591424
Propchange: websites/staging/ooo-site/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Wed Apr 30 18:08:22 2014
@@ -1 +1 @@
-1591278
+1591424
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 Wed Apr
30 18:08:22 2014
@@ -110,7 +110,7 @@ function getLanguage() {
*/
function hasMirrorLink( rel_mode ) {
- if ( rel_mode == 0 ) {
+ if ( rel_mode == 1 ) {
// 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" ) {
@@ -155,7 +155,7 @@ function getLink( rel_mode ) {
// If no release mode was given, assume it's about the stable release
if ( rel_mode == undefined )
- rel_mode = 0;
+ rel_mode = 1;
getLanguage();
getPlatform( rel_mode );
@@ -175,7 +175,7 @@ function getLink( rel_mode ) {
// If language is supported, then provide a download link.
if ( hasMirrorLink( rel_mode ) ) {
// Release mode
- if ( rel_mode == 0 ) {
+ if ( rel_mode == 1 ) {
// If platform is too old, then provide a general
download link to the archive.
if ( OLD_PLATFORM ) {
// If platform is Mac OS X <=10.6, then provide
a download link with previous AOO version.
@@ -337,7 +337,7 @@ function getLink( rel_mode ) {
return LINK;
} else {
// Release mode
- if ( rel_mode == 0 ) {
+ if ( rel_mode == 1 ) {
// If language is not supported, then provide the link
from the Native Language (NL) group.
LINK = LANG_ARRAY[ 4 ];
} else {
@@ -500,7 +500,7 @@ function getPlatform( rel_mode ) {
ua.indexOf( "10_4" ) != -1 ||
ua.indexOf( "10.3" ) != -1 ||
ua.indexOf( "10_3" ) != -1 ) { UI_PLATFORM
= "Mac OS X (10.6 or older)";
- if ( rel_mode >
0 )
+ if ( rel_mode >
1 )
OLD_PLATFORM = true;
}
}
@@ -549,7 +549,7 @@ function getFilesize( rel_mode ) {
// If a platform was found and no error occurred, assign the array data
and filesize from the release matrix
if ( RELEASE_MATRIX_PLATFORM_POS > -1 && !ERROR ) {
- if ( rel_mode == 0 ) {
+ if ( rel_mode == 1 ) {
// Release mode
// Assign all values from the release matrix of
language and platform
RELEASE_MATRIX_PLATFORM = release_matrix[ LANG_ISO ][
RELEASE_MATRIX_PLATFORM_POS ];