Author: marcus
Date: Sat Jun 14 07:59:08 2014
New Revision: 1602568
URL: http://svn.apache.org/r1602568
Log:
Outsourced the download box into a separate file
Modified:
openoffice/ooo-site/trunk/content/download/test/boxed_download.js
Modified: openoffice/ooo-site/trunk/content/download/test/boxed_download.js
URL:
http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/download/test/boxed_download.js?rev=1602568&r1=1602567&r2=1602568&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/download/test/boxed_download.js (original)
+++ openoffice/ooo-site/trunk/content/download/test/boxed_download.js Sat Jun
14 07:59:08 2014
@@ -1,4 +1,4 @@
-function createDownloadBox( mode ) {
+function createDownloadBox() {
// Green colored box.
// Show select boxes and both download text buttons.
document.write( "<div class='first button green-sel' id='optionitem2'>"
@@ -44,11 +44,11 @@ function createDownloadBox( mode ) {
+ "</div>"
+ "<br /><br />"
- + "</div>" );
+ + "</div>"
// Sub-green colored box.
// Show release info, filesizes, checksum links and help links.
- document.write( "<div id='sub_green_box' class='sub-green-sel'>"
+ + "<div id='sub_green_box' class='sub-green-sel'>"
+ "<p>"
// Error text with hint.
+ "<img id='dl_err_img' style='margin: 5px 5px 15px 0px;' src=''
title='' height='16' width='16' alt='' />"
@@ -94,7 +94,7 @@ function createDownloadBox( mode ) {
// Help: Report broken link.
+ "<img id='dl_rpt_img' style='padding: 5px 5px 0px 0px;' src=''
title='' height='16' width='16' alt='' />"
+ "<a id='dl_rpt' href='' title='' target='_blank'></a>"
- + "</p>" );
- document.write( "</div>" );
+ + "</p>"
+ + "</div>" );
}