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/04/30 04:40:08 UTC

svn commit: r1332048 - /incubator/ooo/ooo-site/trunk/content/download/test/index_new_dl.html

Author: kschenk
Date: Mon Apr 30 02:40:08 2012
New Revision: 1332048

URL: http://svn.apache.org/viewvc?rev=1332048&view=rev
Log:
kls -- fix up link when redirecting to non-SF

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=1332048&r1=1332047&r2=1332048&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 Mon Apr 30 02:40:08 2012
@@ -48,6 +48,8 @@
     + "<br/>(Java Runtime Environment (JRE) included for all OS versions except Linux 32/64-bit Debian and Mac OS)</a>"
     + "</p>" );
   } else {
+	  <!-- dump SF extension -->
+	  LINK = LINK.replace(".html/download",".html");
 	  <!-- route everybody to somplace else ??? -->
     document.write( "<h2><a href='" + LINK + "' title='" + LINK + "'>Download OpenOffice.org</a></h2>"
     + "<p><a href='" + LINK + "' title='" + LINK + "'>Get OpenOffice.org for " + getLanguage()