openoffice-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject svn commit: r1508660 - /openoffice/ooo-site/trunk/content/download/index.html
Date Tue, 30 Jul 2013 21:55:53 GMT
Author: marcus
Date: Tue Jul 30 21:55:52 2013
New Revision: 1508660

URL: http://svn.apache.org/r1508660
Log:
Updated webpage with text, links, JS code

Modified:
    openoffice/ooo-site/trunk/content/download/index.html

Modified: openoffice/ooo-site/trunk/content/download/index.html
URL: http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/download/index.html?rev=1508660&r1=1508659&r2=1508660&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/download/index.html (original)
+++ openoffice/ooo-site/trunk/content/download/index.html Tue Jul 30 21:55:52 2013
@@ -53,25 +53,25 @@
   var LINK        = getLink();
 
   if ( hasMirrorLink() ) {
-    /*
-    if ( LINK.toLowerCase().indexOf( "other" ) ) {
-      // OS and/or package manager was not recognized, therefore 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 " + VERSION + "</a></h2>"
-      + "<p><a href='" + LINK + "' title='" + LINK + "'>Click here for the most
recent version for "
-      + "<b>" + UI_PLATFORM + "</b> and <b>" + LANG_ARRAY[ 2 ] + "</b>.</a></p><br
/>");
-    } else {
-    */
+    if ( LINK.toLowerCase().indexOf( "sourceforge" ) != -1 ) {
       // 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='Version " + VERSION + "
- Milestone " + MILESTONE
       + " - Build ID " + BUILD + " - SVN " + SVN_REV + "'>Download Apache OpenOffice "
+ VERSION + "</a></h2>"
-      + "<p><a href='" + LINK + "' title='Version " + VERSION + " - Milestone "
+ MILESTONE
-      + " - Build ID " + BUILD + " - SVN " + SVN_REV + "'>Click here for the most recent
version for "
+      + "<p><a href='" + LINK + "' title='Version " + VERSION + " - Milestone "
+ MILESTONE + " - Build ID " + BUILD
+      + " - SVN " + SVN_REV + "'>Click here for the most recent version for "
       + "<b>" + UI_PLATFORM + "</b> and <b>" + LANG_ARRAY[ 2 ] + "</b>.</a></p>");
-    //  }
+    } else {
+      // OS and/or package manager was not recognized, therefore 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>" );
+    }
   } else {
     // Download from an alternative webpage if hasMirrorLink() == false.
     document.write( "<div class=\"first button green\" id=\"optionitem1\" onclick=\"openItem('optionitem1','"
@@ -86,22 +86,24 @@
 
   // Show some helpful links for SDK, source, checksums, release notes, legacy version.
   document.write( "<div class=\"sub-green\">"
-    + "<p><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 all source code tarballs and SDK to download'>"
-    + "<b>Source Code tarballs and SDK</b></a> | <br />");
-    if ( CHECKSUM_ASC ) {
-      document.write( "Signatures and Hashes: "
-      + "<a href='" + CHECKSUM_KEYS   + "' + title='KEYS signature'>KEYS</a>
, "
-      + "<a href='" + CHECKSUM_ASC    + "' + title='ASC signature'>ASC</a> ,
"
-      + "<a href='" + CHECKSUM_MD5    + "' + title='MD5 hash'>MD5</a> , "
-      + "<a href='" + CHECKSUM_SHA256 + "' + title='SHA256 hash'>SHA256</a> |
");
-    }
-    document.write( "<a href='https://cwiki.apache.org/confluence/display/OOOUSERS/AOO+4.0+Release+Notes'"
-    + "title='What is new, what has been improved in Apache OpenOffice " + VERSION + "?'>Release
Notes</a> | "
-    + "<a href='other-341.html' title='Get the prior release 3.4.1'>Prior Version</a>
| "				   
-    + "<a href='legacy/index.html' title='Get the legacy version OpenOffice.org 3.3.0'>Legacy
Version</a></p>"
-  + "</div>" );
+  + "<p><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 all source code tarballs and SDK to download'>"
+  + "<b>Source Code tarballs and SDK</b></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> | "
+  + "<a href='https://cwiki.apache.org/confluence/display/OOOUSERS/AOO+4.0+Release+Notes'"
+  + "title='What is new, what has been improved in Apache OpenOffice " + VERSION + "?'>Release
Notes</a> | "
+  + "<a href='legacy/index.html' title='Get the legacy version OpenOffice.org 3.3.0'>Legacy
Version</a>" );
+  if ( CHECKSUM_ASC ) {
+    document.write( " | <br />Signatures and Hashes: "
+    + "<a href='" + CHECKSUM_KEYS   + "' + title='KEYS signature'>KEYS</a> ,
"
+    + "<a href='" + CHECKSUM_ASC    + "' + title='ASC signature'>ASC</a> , "
+    + "<a href='" + CHECKSUM_MD5    + "' + title='MD5 hash'>MD5</a> , "
+    + "<a href='" + CHECKSUM_SHA256 + "' + title='SHA256 hash'>SHA256</a></p>");
+  }
+  document.write( "</p></div>" );
 
   entourage.initialize();
   //-->
@@ -137,14 +139,14 @@
     <a style="cursor: default;" title="Help spread the word and tell your friends about
Apache OpenOffice">
     Please tell your friends about Apache OpenOffice.</a>
     <a style="display: inline; padding: 0 5px 0 30px;" href="javascript:shareFacebook()"
-    title="Please tell your friends about Apache OpenOffice via Facebook"><img src="../images/logo-facebook-32.png"
-    alt="Please tell your friends about Apache OpenOffice via Facebook" /></a>
+    title="Please tell your friends about Apache OpenOffice via Facebook">
+    <img src="../../images/logo-facebook-32.png" alt="Please tell your friends about Apache
OpenOffice via Facebook" /></a>
     <a style="display: inline; padding: 0 5px;" href="javascript:shareTwitter()"
-    title="Please tell your friends about Apache OpenOffice via Twitter"><img src="../images/logo-twitter-32.png"
-    alt="Please tell your friends about Apache OpenOffice via Twitter" /></a>
+    title="Please tell your friends about Apache OpenOffice via Twitter">
+    <img src="../../images/logo-twitter-32.png" alt="Please tell your friends about Apache
OpenOffice via Twitter" /></a>
     <a style="display: inline; padding: 0 5px;" href="javascript:shareGooglePlus()"
-    title="Please tell your friends about Apache OpenOffice via Google+"><img src="../images/logo-googleplus-32.png"
-    alt="Please tell your friends about Apache OpenOffice via Google+" /></a>
+    title="Please tell your friends about Apache OpenOffice via Google+">
+    <img src="../../images/logo-googleplus-32.png" alt="Please tell your friends about
Apache OpenOffice via Google+" /></a>
     </p>
   </div>
 
@@ -350,10 +352,8 @@
     title="When were old releases planned?"> Historic Release Schedule</a></li>
     <li><a href="../development/releases/index.html"
     title="What is new, what has been improved in Apache OpenOffice?">Release Notes</a></li>
-    <!--
-    <li><a href="checksums/3.4.1_checksums.html"
-    title="Several checksums for Apache OpenOffice">Checksums for Apache OpenOffice</a></li>
-    -->
+    <li><a href="checksums.html"
+    title="How to verify the download with checksums?">Verify downloads with checksums</a></li>
     <li><a href="../product/index.html"
     title="A tour through all Apache OpenOffice applications">Product Information</a></li>
     <li><a href="../dev_docs/source/sys_reqs_aoo40.html"
@@ -403,7 +403,7 @@
 
   <div id="SupportedAndSupporters">
     <p>&nbsp;</p>
-    <a href="http://validator.w3.org/check?uri=http://www.openoffice.org/download/index.html"
+    <a href="http://validator.w3.org/check?uri=referer" target="_blank"
     title="W3C Markup Validation Service - Check the markup (HTML, XHTML, ...) of Web documents">
     <img src="../images/valid-xhtml10-blue.png"
     alt="W3C Markup Validation Service - Check the markup (HTML, XHTML, ...) of Web documents"
/></a>



Mime
View raw message