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/02/27 00:04:11 UTC
svn commit: r1572326 -
/openoffice/ooo-site/trunk/content/download/test/analyze.html
Author: marcus
Date: Wed Feb 26 23:04:11 2014
New Revision: 1572326
URL: http://svn.apache.org/r1572326
Log:
Updated text, links and table data
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=1572326&r1=1572325&r2=1572326&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/download/test/analyze.html (original)
+++ openoffice/ooo-site/trunk/content/download/test/analyze.html Wed Feb 26 23:04:11 2014
@@ -29,54 +29,56 @@ screen reader. -->
<!--
// Set a specific language ISO code to force to assemble a certain localized build as download URL
var NL_LANGUAGE = "";
- // Get the download URL
- var LINK = getLink();
-
+ // Get the download URL for released install files (0 = release mode)
+ var LINK = getLink(0);
if ( hasMirrorLink() ) {
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
- + " | Build ID " + BUILD + " | SVN " + SVN_REV + " | Released: " + REL_DATE + "'>"
- + "Download Apache OpenOffice " + VERSION + "</a></h2>"
- + "<p><a href='" + LINK + "' title='Version " + VERSION + " | Milestone " + MILESTONE + " | Build ID " + BUILD
- + " | 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>" );
+ + LINK + "');" + "return false;\">"
+ + "<h2><a href='" + LINK + "' title='Version " + VERSION + " | Milestone " + MILESTONE
+ + " | Build ID " + BUILD + " | SVN " + SVN_REV + " | Released: " + REL_DATE + "'>"
+ + "Download Apache OpenOffice " + VERSION + "</a></h2>"
+ + "<p><a href='" + LINK + "' title='Version " + VERSION + " | Milestone " + MILESTONE + " | Build ID " + BUILD
+ + " | SVN " + SVN_REV + " | Released: " + REL_DATE + "'>Click here to download for:<br />"
+ + "<b>" + UI_PLATFORM + "</b> and <b>" + LANG_ARRAY[ 2 ] + "</b> | ~" + FILESIZE + " MByte | Released: "
+ + REL_DATE + "<br /></a></p>"
+ + "</div>" );
} 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 + "'>"
- + "Download Apache OpenOffice</a></h2>"
- + "<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>" );
+ + LINK + "');" + "return false;\">"
+ + "<h2><a href='" + LINK + "' title='" + LINK + "'>"
+ + "Download Apache OpenOffice</a></h2>"
+ + "<p><a href='" + LINK + "' title='" + LINK + "'>Apache OpenOffice " + VERSION + " for "
+ + "<b>" + UI_PLATFORM + "</b> and <b>" + LANG_ARRAY[ 2 ] + " (" + LANG_ARRAY[ 1 ] + ")</b> is not available. Click "
+ + "here to choose from the alternative download webpage.</a></p>"
+ + "</div>" );
} else if ( ARCHIVE ) {
// If download URL contains "archive" (-> platform/OS is no longer supported),
// then provide a download link to the previous version.
document.write( "<div class=\"first button green\" id=\"optionitem1\" onclick=\"openItem('optionitem1','"
- + LINK + "');" + "return false;\">" );
- document.write( "<h2><a href='" + LINK + "' title='" + LINK + "'>"
- + "Download Apache OpenOffice</a></h2>"
- + "<p><a href='" + LINK + "' title='" + LINK + "'>Apache OpenOffice " + VERSION + " for "
- + "<b>" + UI_PLATFORM + "</b> is not available. Click here for the previous version " + PRE_VERSION + "." );
+ + LINK + "');" + "return false;\">"
+ + "<h2><a href='" + LINK + "' title='" + LINK + "'>"
+ + "Download Apache OpenOffice</a></h2>"
+ + "<p><a href='" + LINK + "' title='" + LINK + "'>Apache OpenOffice " + VERSION + " for "
+ + "<b>" + UI_PLATFORM + "</b> and <b>" + LANG_ARRAY[ 2 ] + " (" + LANG_ARRAY[ 1 ] + ")</b> is not available. Click "
+ + "here for the previous version " + PRE_VERSION + ".</a></p>"
+ + "</div>" );
}
} else {
// If browser language do not match with AOO languages, then download from an alternative webpage.
document.write( "<div class=\"first button green\" id=\"optionitem1\" onclick=\"openItem('optionitem1','"
- + LANG_ARRAY[ 4 ] + "');" + "return false;\">" );
- document.write( "<h2><a href='" + LANG_ARRAY[ 4 ] + "' title='" + LANG_ARRAY[ 4 ] + "'>"
- + "Download Apache OpenOffice</a></h2>"
- + "<p><a href='" + LANG_ARRAY[ 4 ] + "' title='" + LANG_ARRAY[ 4 ] + "'>Apache OpenOffice " + VERSION + " for "
- + "<b>" + LANG_ARRAY[ 2 ] + " (" + LANG_ARRAY[ 1 ] + ")</b> is not available. Please choose another build from the "
- + "alternative " + LANG_ARRAY[ 1 ] + " download webpage.</a></p>" );
+ + LINK + "');" + "return false;\">"
+ + "<h2><a href='" + LANG_ARRAY[ 4 ] + "' title='" + LANG_ARRAY[ 4 ] + "'>"
+ + "Download Apache OpenOffice</a></h2>"
+ + "<p><a href='" + LANG_ARRAY[ 4 ] + "' title='" + LANG_ARRAY[ 4 ] + "'>Apache OpenOffice " + VERSION + " for "
+ + "<b>" + LANG_ARRAY[ 2 ] + " (" + LANG_ARRAY[ 1 ] + ")</b> is not available. Please choose another build from the "
+ + "alternative " + LANG_ARRAY[ 1 ] + " download webpage.</a></p>"
+ + "</div>" );
}
- document.write( "</div>" );
-
// Show some helpful links for SDK, source, checksums, release notes, legacy version.
document.write( "<div class=\"sub-green\">" );
document.write( "<p>" );
@@ -88,40 +90,42 @@ screen reader. -->
+ "<a href='" + CHECKSUM_SHA256 + "' + title='SHA256 hash'>SHA256</a> , "
+ "<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 + "?'><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'>"
- + "Source code and SDK</a> | <br />"
- + "<a href='../../porting/index.html'"
- + "title='Get Apache OpenOffice software packaged as portable USB versions and third-party ports'>"
- + "<b>Portable USB versions</b> and third-party ports</a> | "
- + "Old and legacy version: <a href='../other-341.html' title='Get the old version of Apache OpenOffice "
- + OLDVERSION + "'><b>" + OLDVERSION + "</b></a> + "
- + "<a href='../legacy/index.html' title='Get the legacy version of OpenOffice.org "
- + LEGACYVERSION + "'><b>" + LEGACYVERSION + "</b></a>" );
- document.write( "</div>" );
+ if ( ARCHIVE ) {
+ VERSION = PRE_VERSION;
+ }
+ document.write( "<a href='https://cwiki.apache.org/confluence/display/OOOUSERS/AOO+" + VERSION + "+Release+Notes'"
+ + "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'>Source code and SDK</a> | <br />"
+ + "<a href='../../porting/index.html'"
+ + "title='Get Apache OpenOffice software packaged as portable USB versions and third-party ports'>"
+ + "<b>Portable USB versions</b> and third-party ports</a> | "
+ + "Old and legacy version: <a href='../other-341.html' title='Get the old version of Apache OpenOffice "
+ + OLDVERSION + "'><b>" + OLDVERSION + "</b></a> + "
+ + "<a href='../legacy/index.html' title='Get the legacy version of OpenOffice.org "
+ + LEGACYVERSION + "'><b>" + LEGACYVERSION + "</b></a></p>"
+ + "</div>" );
//-->
</script>
+
+ <!-- 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>
+
<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>" );
- document.write( "<tr><td><b>Browser variables </b></td><td><b>Values</b></td></tr>" );
+ document.write( "<table border='1' style='width:100%; border-collapse:collapse; border-spacing: 2px; float: left'><tbody>" );
+ document.write( "<th style='width:23%;'><b>Browser variables</b> </th style='77%;'><th><b>Values</b></th></tr>" );
document.write( "<tr><td>navigator.appCodeName </td><td>" + navigator.appCodeName + "</td></tr>" );
document.write( "<tr><td>navigator.appName </td><td>" + navigator.appName + "</td></tr>" );
document.write( "<tr><td>navigator.appVersion </td><td>" + navigator.appVersion + "</td></tr>" );
@@ -145,7 +149,7 @@ screen reader. -->
if ( navigator.userAgent.indexOf( "IceWeasel" ) != -1 )
document.write( "<tr><td>navigator.UserAgent (with IceWeasel ?) </td><td>" + navigator.userAgent.indexOf( "IceWeasel" ) + "</td></tr>" );
- document.write( "<tr><td><b>JavaScript functions/variables</b></td><td><b>Values</b></td></tr>" );
+ document.write( "<tr><th><b>JavaScript functions/variables</b> </th><th><b>Values</b></th></tr>" );
document.write( "<tr><td>Language name </td><td>" + LANG_ARRAY[ 2 ] + "</td></tr>" );
document.write( "<tr><td>Language ISO code </td><td>" + LANG_ISO + "</td></tr>" );
document.write( "<tr><td>Language array data </td><td>" + LANG_ARRAY + "</td></tr>" );
@@ -155,10 +159,10 @@ screen reader. -->
document.write( "<tr><td>URL platform name </td><td>" + URL_PLATFORM + "</td></tr>" );
document.write( "<tr><td>File name </td><td>" + FILENAME + "</td></tr>" );
document.write( "<tr><td>File extension </td><td>" + EXTENSION + "</td></tr>" );
- document.write( "<tr><td>File size </td><td>" + FILESIZE + "</td></tr>" );
+ document.write( "<tr><td>File size (MByte) </td><td>" + FILESIZE + "</td></tr>" );
document.write( "<tr><td>Download file link </td><td>" + LINK + "</td></tr>" );
document.write( "<tr><td>Checksum file link (here for MD5) </td><td>" + CHECKSUM_MD5 + "</td></tr>" );
- document.write( "<tr><td>getLink() </td><td>" + getLink() + "</td></tr>" );
+ document.write( "<tr><td>getLink() </td><td>" + getLink( 0 ) + "</td></tr>" );
document.write( "<tr><td>hasMirrorLink() ? </td><td>" + hasMirrorLink() + "</td></tr>" );
document.write( "<tr><td>Old platform ? </td><td>" + OLD_PLATFORM + "</td></tr>" );
document.write( "<tr><td>Contains link to Sourgeforge ? </td><td>" + SOURCEFORGE + "</td></tr>" );
@@ -171,3 +175,4 @@ screen reader. -->
</body>
</html>
+