You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ks...@apache.org on 2012/05/02 19:12:34 UTC
svn commit: r1333113 -
/incubator/ooo/ooo-site/trunk/content/download/test/index_new_dl.html
Author: kschenk
Date: Wed May 2 17:12:33 2012
New Revision: 1333113
URL: http://svn.apache.org/viewvc?rev=1333113&view=rev
Log:
kls -- still trying to prevent odd redirect from edited link
Modified:
incubator/ooo/ooo-site/trunk/content/download/test/index_new_dl.html
Modified: incubator/ooo/ooo-site/trunk/content/download/test/index_new_dl.html
URL: http://svn.apache.org/viewvc/incubator/ooo/ooo-site/trunk/content/download/test/index_new_dl.html?rev=1333113&r1=1333112&r2=1333113&view=diff
==============================================================================
--- incubator/ooo/ooo-site/trunk/content/download/test/index_new_dl.html (original)
+++ incubator/ooo/ooo-site/trunk/content/download/test/index_new_dl.html Wed May 2 17:12:33 2012
@@ -61,11 +61,11 @@
} else {
<!-- dump SF extension -->
alert("link before replacment: " + LINK);
- LINK = LINK.replace(/\/download$/,"");
- alert ("link after replacment: " + LINK);
+ var newLINK = LINK.replace(/\/download$/,"");
+ alert ("link after replacment: " + newLINK);
<!-- route everybody to somplace else ??? -->
- document.write( "<h2><a href='" + LINK + "' title='" + LINK + "'>Download Apache OpenOffice</a></h2>"
- + "<p><a href='" + LINK + "' title='" + LINK + "'>Get Apache OpenOffice for " + getLanguage()
+ document.write( "<h2><a href='" + newLINK + "' title='" + newLINK + "'>Download Apache OpenOffice</a></h2>"
+ + "<p><a href='" + newLINK + "' title='" + newLINK + "'>Get Apache OpenOffice for " + getLanguage()
+ " from a Native Language community area.</a></p>" );
}