Author: marcus
Date: Mon Feb 10 21:43:05 2014
New Revision: 1566758
URL: http://svn.apache.org/r1566758
Log:
Updated text
Modified:
openoffice/ooo-site/trunk/content/download/test/analyze.html
Modified: openoffice/ooo-site/trunk/content/download/test/analyze.html
URL:
http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/download/test/analyze.html?rev=1566758&r1=1566757&r2=1566758&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/download/test/analyze.html (original)
+++ openoffice/ooo-site/trunk/content/download/test/analyze.html Mon Feb 10
21:43:05 2014
@@ -18,16 +18,9 @@
<body>
-<!-- No JavaScript enabled -->
-<noscript>
- <div class="notice">
- <h1>Apache OpenOffice Downloads - Analyze errors</h1>
- <br />
-
- <h2>JavaScript not enabled?</h2>
- <p>JavaScript needs to be enabled to show the analysis data on this
webpage.</p>
- </div>
-</noscript>
+<!-- The text in the H1 tag is intentionally shown as not displayable, just to
please accessibility tools like a
+screen reader. -->
+<h1 style="display: none;">Apache OpenOffice Download</h1>
<div class="optionset">
@@ -40,8 +33,9 @@
var LINK = getLink();
if ( hasMirrorLink() ) {
- if ( LINK.toLowerCase().indexOf( "sourceforge" ) != -1 ) {
- // Download directly from Sourceforge with displayed platform and
language.
+ if ( SOURCEFORGE ) {
+ // If download URL contains "sourceforge" (-> normal and correct
download link),
+ // then download from Sourceforge with displayed platform and language.
document.write( "<div class=\"first button green\" id=\"optionitem1\"
onclick=\"openItem('optionitem1','"
+ LINK + "');" + "return false;\">" );
document.write( "<h2><a href='" + LINK + "' title='Version " + VERSION +
" | Milestone " + MILESTONE
@@ -51,8 +45,9 @@
+ " | SVN " + SVN_REV + " | Released: " + REL_DATE + "'>Click here for
the most recent version for:<br />"
+ "<b>" + UI_PLATFORM + "</b> and <b>" + LANG_ARRAY[ 2 ] + "</b> | ~" +
FILESIZE + " MByte | Released: "
+ REL_DATE + "<br /></a></p>" );
- } else if ( UI_PLATFORM.toLowerCase().indexOf( "unknown" ) != -1 ) {
- // If platform and/or package manager was not recognized, then use
"other.html" as download link.
+ } else if ( OTHER ) {
+ // If download URL contains "other" (-> platform, OS or package manager
was not recognized),
+ // then use "other.html" as download link.
document.write( "<div class=\"first button green\" id=\"optionitem1\"
onclick=\"openItem('optionitem1','"
+ LINK + "');" + "return false;\">" );
document.write( "<h2><a href='" + LINK + "' title='" + LINK + "'>"
@@ -60,8 +55,9 @@
+ "<p><a href='" + LINK + "' title='" + LINK + "'>Apache OpenOffice " +
VERSION + " for "
+ "<b>" + UI_PLATFORM + "</b> is not available. Please choose another
platform build from the alternative download "
+ "webpage.</a></p>" );
- } else if ( OLD_PLATFORM ) {
- // If MacOS X version is <= 10.6, then provide download link form AOO
4.0.1 archive.
+ } else if ( ARCHIVE ) {
+ // If download URL contains "archive" (-> platform/OS is no longer
supported),
+ // then use the ASF archive as download link.
document.write( "<div class=\"first button green\" id=\"optionitem1\"
onclick=\"openItem('optionitem1','"
+ LINK + "');" + "return false;\">" );
document.write( "<h2><a href='" + LINK + "' title='" + LINK + "'>"
@@ -94,7 +90,7 @@
+ "<a href='../checksums.html' title='How to verify the download with
checksums?'>How to verify?</a> | " );
}
document.write( "<a
href='https://cwiki.apache.org/confluence/display/OOOUSERS/AOO+4.0.1+Release+Notes'"
- + "title='What is new, what has been improved in Apache OpenOffice " +
VERSION + "?'>Release Notes</a> | <br />"
+ + "title='What is new, what has been improved in Apache OpenOffice " +
VERSION + "?'><b>Release Notes</b></a> | <br />"
+ "<a href='other.html' title='Get all platforms, languages, language packs
to download'>"
+ "<b>Get all platforms, languages, language packs</b></a> | "
+ "<a href='other.html#source' title='Get the source code and SDK to
download'>"
@@ -112,6 +108,17 @@
<p> </p>
</div>
+<!-- No JavaScript enabled -->
+<noscript>
+ <div class="notice">
+ <h1>Apache OpenOffice Downloads - Analyze errors</h1>
+ <br />
+
+ <h2>JavaScript not enabled?</h2>
+ <p>JavaScript needs to be enabled to show the analysis data on this
webpage.</p>
+ </div>
+</noscript>
+
<div>
<script type="text/javascript">
document.write( "<table border='1' style='border-collapse:collapse;
border-spacing: 2px; float: left'><tbody>" );