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/06/20 23:05:50 UTC
svn commit: r1495186 -
/openoffice/ooo-site/trunk/content/download/test/index.html
Author: marcus
Date: Thu Jun 20 21:05:49 2013
New Revision: 1495186
URL: http://svn.apache.org/r1495186
Log:
Added possibility to link to the 'other.html' if needed
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=1495186&r1=1495185&r2=1495186&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/download/test/index.html (original)
+++ openoffice/ooo-site/trunk/content/download/test/index.html Thu Jun 20 21:05:49 2013
@@ -53,12 +53,21 @@
var LINK = getLink();
if ( hasMirrorLink( NL_LANGUAGE ) ) {
- // 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;\">" );
- document.write( "<h2><a href='" + LINK + "' title='" + LINK + "'>Download Apache OpenOffice " + VERSION + "</a></h2>"
- + "<p><a href='" + LINK + "' title='" + LINK + "'>Click here for the most recent version for <b>"
- + UI_PLATFORM + "</b> and <b>" + LANG_ARRAY[ 2 ] + "</b>.<br /></a></p>");
+ // if ( LINK.toLowerCase().indexOf( "other" ) ) {
+ // // OS and/or package manager was not recognized, therefore use "other.html" as download link.
+ // 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 " + VERSION + "</a></h2>"
+ // + "<p><a href='" + LINK + "' title='" + LINK + "'>Click here for the most recent version for <b>"
+ // + UI_PLATFORM + "</b> and <b>" + LANG_ARRAY[ 2 ] + "</b>.<br /></a></p>");
+ // } else {
+ // 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;\">" );
+ document.write( "<h2><a href='" + LINK + "' title='" + LINK + "'>Download Apache OpenOffice " + VERSION + "</a></h2>"
+ + "<p><a href='" + LINK + "' title='" + LINK + "'>Click here for the most recent version for <b>"
+ + UI_PLATFORM + "</b> and <b>" + LANG_ARRAY[ 2 ] + "</b>.<br /></a></p>");
+ // }
} else {
// Download from an alternative webpage if hasMirrorLink( NL_LANGUAGE ) == false.
document.write( "<div class=\"first button green\" id=\"optionitem1\" onclick=\"openItem('optionitem1','"