You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ma...@apache.org on 2014/05/29 20:40:46 UTC
svn commit: r1598360 -
/openoffice/ooo-site/trunk/content/download/test/index_droplist.html
Author: marcus
Date: Thu May 29 18:40:45 2014
New Revision: 1598360
URL: http://svn.apache.org/r1598360
Log:
Updated comments, put the green box at top
Modified:
openoffice/ooo-site/trunk/content/download/test/index_droplist.html
Modified: openoffice/ooo-site/trunk/content/download/test/index_droplist.html
URL: http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/download/test/index_droplist.html?rev=1598360&r1=1598359&r2=1598360&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/download/test/index_droplist.html (original)
+++ openoffice/ooo-site/trunk/content/download/test/index_droplist.html Thu May 29 18:40:45 2014
@@ -44,15 +44,19 @@
<div class="optionset">
- <!-- Green: Stable release -->
- <!-- Download via single link -->
+ <!-- Text above the first colored box -->
<script type="text/javascript">
-
<!--
// The text in the H1 tag is intentionally shown as "display: none" (do not display).
// This is to please accessibility tools like a screen reader.
document.write( "<h1 style='display: none;'>Apache OpenOffice Download</h1>" );
+ -->
+ </script>
+ <!-- Green: Stable release -->
+ <!-- Download via single link -->
+ <script type="text/javascript">
+ <!--
/*
document.write( "<div>"
+ "Just for testing, please ignore."
@@ -65,11 +69,13 @@
+ "</form>"
+ "</div>" );
*/
+/*
// 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".
NL_LANG = "";
// Get the download link (1 = Stable Release).
+
var dl_link = getLink( 1 );
// Does the browser language match with AOO languages?
@@ -77,18 +83,18 @@
if ( SF ) {
// If download link contains "sourceforge" (-> normal and correct download link),
// offer download link from Sourceforge with displayed platform and language.
-/*
- document.write( "<div class=\"first button green\" id=\"optionitem1\" onclick=\"openItem('optionitem1','"
- + dl_link + "'); return false;\">"
- + "<h2><a href='" + dl_link + "' title='Click to download: " + FILENAME_FULL + "'>"
- + "Download Apache OpenOffice " + VERSION + "</a></h2>"
- + "<p><a href='" + dl_link + "' title='Click to download: " + FILENAME_FULL + "'>"
- + "Click here to download (hosted by Sourceforge.net) for:"
- + "<br /><b>" + UI_PLATFORM + "</b> and <b>" + RELEASE_LANG[ 1 ] + " (" + RELEASE_LANG[ 2 ] + ")</b>"
- + "<br />Filesize ~" + FILESIZE_FULL + " MByte | Milestone " + MILESTONE + " | Build ID " + BUILD
- + " | SVN " + SVN_REV + " | Released: " + REL_DATE + "</a></p>"
- + "</div>" );
-*/
+
+// document.write( "<div class=\"first button green\" id=\"optionitem1\" onclick=\"openItem('optionitem1','"
+// + dl_link + "'); return false;\">"
+// + "<h2><a href='" + dl_link + "' title='Click to download: " + FILENAME_FULL + "'>"
+// + "Download Apache OpenOffice " + VERSION + "</a></h2>"
+// + "<p><a href='" + dl_link + "' title='Click to download: " + FILENAME_FULL + "'>"
+// + "Click here to download (hosted by Sourceforge.net) for:"
+// + "<br /><b>" + UI_PLATFORM + "</b> and <b>" + RELEASE_LANG[ 1 ] + " (" + RELEASE_LANG[ 2 ] + ")</b>"
+// + "<br />Filesize ~" + FILESIZE_FULL + " MByte | Milestone " + MILESTONE + " | Build ID " + BUILD
+// + " | SVN " + SVN_REV + " | Released: " + REL_DATE + "</a></p>"
+// + "</div>" );
+
document.write( "<div class=\"first button green\" id=\"optionitem1\" onclick=\"openItem('optionitem1','"
+ dl_link + "'); return false;\">"
+ "<h2><a href='" + dl_link + "' title='Click to download: " + FILENAME_FULL + "'>"
@@ -162,13 +168,14 @@
+ "<a href='../legacy/index.html' title='Get the legacy version of OpenOffice.org "
+ LEGACYVERSION + "'><b>" + LEGACYVERSION + "</b></a></p>"
+ "</div>" );
-*/
+
document.write( "<div class='sub-green'>"
+ "<p></p>"
+ "<p><a style='text-decoration: none;'>Filesize ~" + FILESIZE_FULL + " MByte | Milestone " + MILESTONE + " | "
+ "Build ID " + BUILD + " | SVN " + SVN_REV + " | Released: " + REL_DATE + "</a></p>"
+ "<p></p>"
+ "</div>" );
+*/
// entourage.initialize();
@@ -200,7 +207,12 @@
<!-- Download via select boxes -->
<script type="text/javascript">
<!--
- document.write( "<div class='button green-sel' id='optionitem2'>"
+
+ // 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".
+ NL_LANG = "en-US";
+
+ document.write( "<div class='first button green-sel' id='optionitem2'>"
+ "<h2>"
+ "<a title='Download Apache OpenOffice for your favorite operating system, language and version'>"
+ "Download Apache OpenOffice</a>"