Author: marcus
Date: Fri May  2 17:27:11 2014
New Revision: 1591976

URL: http://svn.apache.org/r1591976
Log:
Updates

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

Modified: openoffice/ooo-site/trunk/content/download/test/all_beta.html
URL: 
http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/download/test/all_beta.html?rev=1591976&r1=1591975&r2=1591976&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/download/test/all_beta.html (original)
+++ openoffice/ooo-site/trunk/content/download/test/all_beta.html Fri May  2 
17:27:11 2014
@@ -16,17 +16,10 @@
 
 <body>
 
-<script type="text/javascript">
-  <!--
-  entourage.initialize();
-  // -->
-</script>      
-
-<h1>Apache OpenOffice Downloads - Official Site - Beta Release</h1>
-<br />
-
 <!-- No JavaScript enabled -->
 <noscript>
+  <h1>Apache OpenOffice Downloads - Official Site - Beta Release</h1>
+
   <h2>JavaScript not enabled?</h2>
 
   <div class="notice"><p>Your browser does not seem to allow JavaScript on 
websites. This technique is used on this webpage
@@ -37,9 +30,12 @@
 
 <script type="text/javascript">
   <!--
-  if ( BETA_ACTIVE ) {
+  if ( BETA_ACTIVE == 1 ) {
        // Beta Release online
-       document.write( "<ul>"
+       document.write( "<h1>Apache OpenOffice Downloads - Official Site - Beta 
Release</h1>"
+       + "<br />"
+
+       + "<ul>"
        + "<li><h3><a href='#aoo'    title='Full installation sets + languages 
packs'>"
        + "Full installation sets + languages packs</a></h3></li>"
        + "<li><h3><a href='#source' title='Software Development Kit 
(SDK)'>Software Development Kit (SDK)</a></h3></li>"
@@ -99,13 +95,21 @@
        write_table( 2 );
 
        document.write( "</div>" );
-  } else {
-       // Beta Release coming soon
+  } else if ( BETA_ACTIVE == 0 ) {
+       // Beta Release, show nothing as it is not yet ready
        document.write( "<div><h2>Apache OpenOffice " + BETA_NAME
        + "<small> (planned for: " + BETA_REL_DATE + ")</small></h2>"
        + "<h3>The Beta release is not yet available. Please make sure to come 
back on the release date to "
        + "download and test the new version.</h3><br /><br /><br /><br /><br 
/><br />" );
        document.write( "</div>" );
+  } else {
+    // Yellow: Beta Release, show nothing as it is not yet ready
+       document.write( "<div><h2>Apache OpenOffice "
+       + "<h3>The Beta release is not yet available. Please make sure to come 
back on the release date to "
+       + "download and test the new version.</h3>" );
+       document.write( "</div>" );
+
+       exit;
   }
   document.write( "<br />"
   + "<hr style='display: block;' />"
@@ -184,7 +188,9 @@
   + "title='Learn more about how to use mailing lists'>Learn more about how to 
use mailing lists</a>.</p>"
 
   + "<p class='footer'><small><a href='#' title='Go to the start of the 
page'>Start of page</a></small></p>" );
-  -->
+
+  entourage.initialize();
+  //-->
 </script>
 
 </body>


Reply via email to