Author: marcus
Date: Sat Jun 8 19:18:00 2013
New Revision: 1491033
URL: http://svn.apache.org/r1491033
Log:
Testing new filename + directory structure for AOO 4
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=1491033&r1=1491032&r2=1491033&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/download/test/analyze.html (original)
+++ openoffice/ooo-site/trunk/content/download/test/analyze.html Sat Jun 8
19:18:00 2013
@@ -9,8 +9,8 @@
<style type="text/css">
/* <![CDATA[ */
/*-------------------- Exceptions on standard css -----------------------*/
- @import "styles.css";
- @import "exceptions.css";
+ @import "../styles.css";
+ @import "../exceptions.css";
/* ]]> */
</style>
</head>
@@ -20,29 +20,28 @@
<div class="optionset">
<!-- Green: Stable release -->
- <script type="text/javascript">
+ <script type="text/javascript">
<!--
// Set a specific language ISO code to force to assemble a certain localized
build as download URL
var NL_LANGUAGE = "";
var LINK = getLink();
- if ( hasMirrorLink() ) {
+ if ( hasMirrorLink( NL_LANGUAGE ) ) {
// Download directly from a mirror 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='" + LINK + "'>Download
Apache OpenOffice " + VERSION + "</a></h2>"
- + "<p><a href='" + LINK + "' title='" + LINK + "'>Click to start
downloading the most recent version for "
- + UI_PLATFORM + " and " + LANG_ARRAY[ 2 ] + ".</a></p>" );
+ + "<p><a href='" + LINK + "' title='" + LINK + "'>Click here for the most
recent version for <b>"
+ + UI_PLATFORM + "</b> and <b>" + LANG_ARRAY[ 2 ] + "</b>.<br /></a></p>");
} else {
- // Download from an alternative webpage as hasMirrorLink() == false.
+ // Download from an alternative webpage if hasMirrorLink( NL_LANGUAGE ) ==
false.
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 "
- + VERSION + "</a></h2>"
- + "<p><a href='" + LANG_ARRAY[ 4 ] + "' title='" + LANG_ARRAY[ 4 ] + "'>A
release for " + LANG_ARRAY[ 2 ]
- + " is not available. Please choose from the alternative download webpage
for another language.</a></p>" );
+ + LANG_ARRAY[ 3 ] + "');" + "return false;\">" );
+ document.write( "<h2><a href='" + LANG_ARRAY[ 3 ] + "' title='" +
LANG_ARRAY[ 3 ] + "'>Download Apache OpenOffice "
+ + VERSION + "</a></h2><p><a href='" + LANG_ARRAY[ 3 ] + "' title='" +
LANG_ARRAY[ 3 ] + "'>A release for <b>"
+ + LANG_ARRAY[ 2 ] + " (" + LANG_ARRAY[ 1 ] + ")</b> is not available.
Please choose another language from the alternative "
+ + "download webpage.</a></p>" );
}
-
document.write( "</div>" );
// -->
</script>
@@ -54,7 +53,7 @@
<script type="text/javascript">
document.write( "<table border='1' style='border-collapse:collapse;
border-spacing: 2px; float: left'><tbody>" );
document.write( "<tr><td><b>Variables from the browser
</b></td><td><b>Values</b></td></tr>" );
- // document.write( "<tr><td>window.location.href
</td><td>" + window.location.href + "</td></tr>" );
+ document.write( "<tr><td>window.location.href
</td><td>" + window.location.href + "</td></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>" );