Author: buildbot Date: Thu Feb 20 22:51:04 2014 New Revision: 898691 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 Feb 20 22:51:04 2014 @@ -1 +1 @@ -1570379 +1570381 Propchange: websites/staging/ooo-site/trunk/content/ ------------------------------------------------------------------------------ --- cms:source-revision (original) +++ cms:source-revision Thu Feb 20 22:51:04 2014 @@ -1 +1 @@ -1570379 +1570381 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 Feb 20 22:51:04 2014 @@ -121,13 +121,13 @@ function hasMirrorLink() { * Get link to mirror system for download file and checksum file * Depends on array-list */ -function getLink(rel_mode) { +function getLink( rel_mode ) { var chk_link = ""; getLanguage(); hasMirrorLink(); getPlatform(); - getFilesize(rel_mode); + getFilesize( rel_mode ); if ( NL_LANGUAGE == "" ) NL_LANGUAGE = LANG_ISO; @@ -141,7 +141,7 @@ function getLink(rel_mode) { if ( hasMirrorLink() ) { // If platform is too old, then provide a general download link to the archive. if ( OLD_PLATFORM ) { - if (rel_mode == 0) { + if ( rel_mode == 0 ) { // Release mode LINK = "http://archive.apache.org/dist/openoffice/"; @@ -156,7 +156,7 @@ function getLink(rel_mode) { if ( UI_PLATFORM == "Mac OS X (10.6 or older)" ) { // If platform is Mac OS X <=10.6, then provide a download link with previous AOO version. - if (rel_mode == 0) { + if ( rel_mode == 0 ) { // Release mode FILENAME = "Apache_OpenOffice_" + PRE_VERSION + "_" + URL_PLATFORM + "_"; FILENAME = FILENAME + NL_LANGUAGE + EXTENSION; @@ -184,7 +184,7 @@ function getLink(rel_mode) { if ( UI_PLATFORM == "" ) UI_PLATFORM = "unknown platform/OS"; - if (rel_mode == 0) { + if ( rel_mode == 0 ) { // Release mode LINK = "http://www.openoffice.org/download/other.html"; } else { @@ -200,7 +200,7 @@ function getLink(rel_mode) { // FILENAME = "Apache_OpenOffice_" + VERSION + "_" + URL_PLATFORM + "_" + NL_LANGUAGE; // FILENAME = FILENAME + EXTENSION; - if (rel_mode == 0) { + if ( rel_mode == 0 ) { // Release mode // Assign the file name (column 3) from the release matrix of language and platform FILENAME = release_matrix[ LANG_ISO ][ RELEASE_MATRIX_PLATFORM_POS ][ 3 ]; @@ -407,7 +407,7 @@ function getPlatform() { * Get file size for download file * Depends on array-list */ -function getFilesize(rel_mode) { +function getFilesize( rel_mode ) { // Depending on $URL_PLATFORM assign the platform position of the release matrix switch ( URL_PLATFORM ) { case "Linux_x86-64_install-deb": @@ -434,7 +434,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 == 0 ) { // Release mode // Assign all values from the release matrix of language and platform RELEASE_MATRIX_PLATFORM = release_matrix[ LANG_ISO ][ RELEASE_MATRIX_PLATFORM_POS ];