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/02/10 21:22:42 UTC
svn commit: r1566729 -
/openoffice/ooo-site/trunk/content/download/test/index.html
Author: marcus
Date: Mon Feb 10 20:22:42 2014
New Revision: 1566729
URL: http://svn.apache.org/r1566729
Log:
Fixed broken order to show the correct text and link in green box
Modified:
openoffice/ooo-site/trunk/content/download/test/index.html
Modified: openoffice/ooo-site/trunk/content/download/test/index.html
URL: http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/download/test/index.html?rev=1566729&r1=1566728&r2=1566729&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/download/test/index.html (original)
+++ openoffice/ooo-site/trunk/content/download/test/index.html Mon Feb 10 20:22:42 2014
@@ -57,17 +57,7 @@ screen reader. -->
var LINK = getLink();
if ( hasMirrorLink() ) {
- if ( OLD_PLATFORM ) {
- // If MacOS X version is <= 10.6, then provide download link form AOO 4.0.1 archive.
- document.write( "<div class=\"first button green\" id=\"optionitem1\" onclick=\"openItem('optionitem1','"
- + LINK + "');" + "return false;\">" );
- document.write( "<h2><a href='" + LINK + "' title='" + LINK + "'>"
- + "Download Apache OpenOffice</a></h2>"
- + "<p><a href='" + LINK + "' title='" + LINK + "'>Apache OpenOffice " + VERSION + " for "
- + "<b>" + UI_PLATFORM + "</b> is not available. Please choose the previous version " + PREVIOUSVERSION + " from the "
- + "archive.</a></p>" );
- }
- else if ( LINK.toLowerCase().indexOf( "sourceforge" ) != -1 ) {
+ if ( LINK.toLowerCase().indexOf( "sourceforge" ) != -1 ) {
// Download directly from Sourceforge with displayed platform and language.
document.write( "<div class=\"first button green\" id=\"optionitem1\" onclick=\"openItem('optionitem1','"
+ LINK + "');" + "return false;\">" );
@@ -78,7 +68,7 @@ screen reader. -->
+ " | SVN " + SVN_REV + " | Released: " + REL_DATE + "'>Click here for the most recent version for:<br />"
+ "<b>" + UI_PLATFORM + "</b> and <b>" + LANG_ARRAY[ 2 ] + "</b> | ~" + FILESIZE + " MByte | Released: "
+ REL_DATE + "<br /></a></p>" );
- } else {
+ } else if ( UI_PLATFORM.toLowerCase().ondexOf( "unknown" ) != -1 ) {
// If platform and/or package manager was not recognized, then use "other.html" as download link.
document.write( "<div class=\"first button green\" id=\"optionitem1\" onclick=\"openItem('optionitem1','"
+ LINK + "');" + "return false;\">" );
@@ -87,6 +77,15 @@ screen reader. -->
+ "<p><a href='" + LINK + "' title='" + LINK + "'>Apache OpenOffice " + VERSION + " for "
+ "<b>" + UI_PLATFORM + "</b> is not available. Please choose another platform build from the alternative download "
+ "webpage.</a></p>" );
+ } else if ( OLD_PLATFORM ) {
+ // If MacOS X version is <= 10.6, then provide download link form AOO 4.0.1 archive.
+ document.write( "<div class=\"first button green\" id=\"optionitem1\" onclick=\"openItem('optionitem1','"
+ + LINK + "');" + "return false;\">" );
+ document.write( "<h2><a href='" + LINK + "' title='" + LINK + "'>"
+ + "Download Apache OpenOffice</a></h2>"
+ + "<p><a href='" + LINK + "' title='" + LINK + "'>Apache OpenOffice " + VERSION + " for "
+ + "<b>" + UI_PLATFORM + "</b> is not available. Please choose the previous version " + PREVIOUSVERSION + " from the "
+ + "archive.</a></p>" );
}
} else {
// If browser language do not match with AOO languages, then download from an alternative webpage.