openoffice-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r912280 - in /websites/staging/ooo-site/trunk: cgi-bin/ content/ content/download/test/div_download.js
Date Wed, 11 Jun 2014 21:37:41 GMT
Author: buildbot
Date: Wed Jun 11 21:37:40 2014
New Revision: 912280

Log:
Staging update by buildbot for ooo-site

Added:
    websites/staging/ooo-site/trunk/content/download/test/div_download.js
Modified:
    websites/staging/ooo-site/trunk/cgi-bin/   (props changed)
    websites/staging/ooo-site/trunk/content/   (props changed)

Propchange: websites/staging/ooo-site/trunk/cgi-bin/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Wed Jun 11 21:37:40 2014
@@ -1 +1 @@
-1602010
+1602023

Propchange: websites/staging/ooo-site/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Wed Jun 11 21:37:40 2014
@@ -1 +1 @@
-1602010
+1602023

Added: websites/staging/ooo-site/trunk/content/download/test/div_download.js
==============================================================================
--- websites/staging/ooo-site/trunk/content/download/test/div_download.js (added)
+++ websites/staging/ooo-site/trunk/content/download/test/div_download.js Wed Jun 11 21:37:40
2014
@@ -0,0 +1,114 @@
+/*
+ * Create the colored download box
+ */
+function createDownloadBox() {
+  // Set a specific language ISO code to force to assemble a certain localized build as download
link.
+  // The variable can be found in the "msg_prop_l10n_<ISO_code>.js".
+
+  // Green colored box.
+  // Show select boxes and both download text buttons.
+  document.write( "<div class='first button green-sel' id='optionitem2'>"
+    // Headline.
+    + "<h2>"
+      + "<a title='Download Apache OpenOffice for your favorite operating system, language
and version'>"
+        + "Download Apache OpenOffice"
+      + "</a>"
+    + "</h2>"
+
+    // Select text.
+    + "<p style='padding-bottom: 0px;'>"
+      + "<a title='Apache OpenOffice binary files are hosted by Sourceforge.net - A trusted
website'>"
+        + "(Hosted by Sourceforge.net - A trusted website)"
+      + "</a>"
+      + "<a title='Select your favorite operating system, language and version'>"
+        + "<b>Select your favorite operating system, language and version:</b>"
+      + "</a>"
+    + "</p>"
+
+    // Select boxes.
+    + "<form name='download'>"
+      + "<select class='sel-os' id='os' name='os' title='Select your favorite operating
system' onchange='getLinkSel()'>"
+      + "</select>"
+      + "<select class='sel-lang' id='lang' name='lang' title='Select your favorite language'
onchange='getLinkSel()'>"
+      + "</select>"
+      + "<select class='sel-ver' id='ver' name='ver' title='Select your favorite release
version' onchange='getLinkSel()'>"
+      + "</select>"
+    + "</form>"
+
+    // Both download text buttons: First for "full install", then for "langpack".
+    + "<a style='padding: 0px 0px 0px 3%; cursor: default;'></a>"
+
+    + "<div class='btn_dl' style='display: inline-block;'>"
+      + "<h3>"
+        + "<a id='dl_f_link' href='' title='' target='_blank'></a>"
+      + "</h3>"
+    + "</div>"
+
+    + "<a style='padding: 0px 0px 0px 3%; cursor: default;'></a>"
+
+    + "<div class='btn_dl' style='display: inline-block;'>"
+      + "<h3>"
+        + "<a id='dl_lp_link' href='' title='' target='_blank'></a>"
+      + "</h3>"
+    + "</div>"
+    + "<br /><br />"
+
+  + "</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'>"
+    + "<p>"
+      // Error text with hint.
+      + "<img id='dl_err_img'	  style='margin: 5px 5px 15px 0px;' src='' title='' height='16'
width='16' alt='' />"
+      + "<a id='dl_err'		  style='text-decoration: none;' title=''></a>"
+
+      // Release info and notes.
+      + "<a id='dl_rel_info'	  style='text-decoration: none;'></a>"
+      + "<a id='dl_rel_notes'	  style='text-decoration: underline;' href='' title='' target='_blank'></a>"
+      + "<br />"
+
+      // Full installation: Filesize and checksums.
+      + "<a id='dl_f_info'	  style='text-decoration: none;'></a>"
+      + "<a id='dl_f_chk_keys'	  style='text-decoration: underline;' href='' title=''
target='_blank'></a>"
+      + "<a id='space1'		  style='text-decoration: none;'></a>"
+      + "<a id='dl_f_chk_asc'	  style='text-decoration: underline;' href='' title='' target='_blank'></a>"
+      + "<a id='space2'		  style='text-decoration: none;'></a>"
+      + "<a id='dl_f_chk_md5'	  style='text-decoration: underline;' href='' title='' target='_blank'></a>"
+      + "<a id='space3'		  style='text-decoration: none;'></a>"
+      + "<a id='dl_f_chk_sha256'  style='text-decoration: underline;' href='' title=''
target='_blank'></a>"
+      + "<br />"
+
+      // Langpack: Filesize and checksums.
+      + "<a id='dl_lp_info'	  style='text-decoration: none;'></a>"
+      + "<a id='dl_lp_chk_keys'	  style='text-decoration: underline;' href='' title=''
target='_blank'></a>"
+      + "<a id='space4'		  style='text-decoration: none;'></a>"
+      + "<a id='dl_lp_chk_asc'	  style='text-decoration: underline;' href='' title=''
target='_blank'></a>"
+      + "<a id='space5'		  style='text-decoration: none;'></a>"
+      + "<a id='dl_lp_chk_md5'	  style='text-decoration: underline;' href='' title=''
target='_blank'></a>"
+      + "<a id='space6'		  style='text-decoration: none;'></a>"
+      + "<a id='dl_lp_chk_sha256' style='text-decoration: underline;' href='' title=''
target='_blank'></a>"
+      + "<br />"
+
+      // Help: What is a language pack?
+      + "<img id='dl_hlp_img'	  style='padding: 5px 5px 0px 0px;' src='' title='' height='16'
width='16' alt='' />"
+      + "<a id='dl_hlp' href=''	  title='' target='_blank' onclick='showWindow( this.href
); return false;'></a>"
+      + "<a			  style='padding: 0px 0px 0px 30px;'></a>"
+
+      // Help: How to verify the download?
+      + "<img id='dl_chk_img'	  style='padding: 5px 5px 0px 0px;' src='' title='' height='16'
width='16' alt='' />"
+      + "<a id='dl_chk' href=''	  title='' target='_blank'></a>"
+      + "<a			  style='padding: 0px 0px 0px 30px;'></a>"
+
+      // 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>" );
+
+  // Fill the select boxes and wait for the user's choice.
+  init( 1 );
+
+  entourage.initialize();
+}
+



Mime
View raw message