incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ksch...@apache.org
Subject svn commit: r1332048 - /incubator/ooo/ooo-site/trunk/content/download/test/index_new_dl.html
Date Mon, 30 Apr 2012 02:40:08 GMT
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()



Mime
View raw message