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 2013/07/27 17:23:18 UTC
svn commit: r1507665 -
/openoffice/ooo-site/trunk/content/download/test/index.html
Author: marcus
Date: Sat Jul 27 15:23:17 2013
New Revision: 1507665
URL: http://svn.apache.org/r1507665
Log:
Extended the handling of unknown plaforms/OS and provide a way to refer to the 'other.html' webpage.
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=1507665&r1=1507664&r2=1507665&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/download/test/index.html (original)
+++ openoffice/ooo-site/trunk/content/download/test/index.html Sat Jul 27 15:23:17 2013
@@ -53,7 +53,7 @@
var LINK = getLink();
if ( hasMirrorLink() ) {
- if ( LINK.toLowerCase().indexOf( "sourceforge" ) ) {
+ if ( LINK.toLowerCase().indexOf( "sourceforge" ) != -1 ) {
// Download directly from a mirror with displayed platform and language.
document.write( "<div class=\"first button green\" id=\"optionitem1\" onclick=\"openItem('optionitem1','"
+ LINK + "');" + "return false;\">" );
@@ -68,7 +68,8 @@
+ LINK + "');" + "return false;\">" );
document.write( "<h2><a href='" + LINK + "' title='" + LINK + "'>Apache OpenOffice " + VERSION
+ " is not available for:<br />" + UI_PLATFORM + "</a></h2>"
- + "<p><a href='" + LINK + "' title='" + LINK + "'>Please choose from the alternative download webpage.</a></p>");
+ + "<p><a href='" + LINK + "' title='" + LINK + "'>Please choose another platform from the alternative download "
+ + "webpage.</a></p>");
}
} else {
// Download from an alternative webpage if hasMirrorLink() == false.