Author: buildbot
Date: Sat Jul 12 15:54:05 2014
New Revision: 915908

Log:
Staging update by buildbot for ooo-site

Modified:
    websites/staging/ooo-site/trunk/cgi-bin/   (props changed)
    websites/staging/ooo-site/trunk/content/   (props changed)
    websites/staging/ooo-site/trunk/content/index_redirect.html

Propchange: websites/staging/ooo-site/trunk/cgi-bin/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sat Jul 12 15:54:05 2014
@@ -1 +1 @@
-1609949
+1609954

Propchange: websites/staging/ooo-site/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sat Jul 12 15:54:05 2014
@@ -1 +1 @@
-1609949
+1609954

Modified: websites/staging/ooo-site/trunk/content/index_redirect.html
==============================================================================
--- websites/staging/ooo-site/trunk/content/index_redirect.html (original)
+++ websites/staging/ooo-site/trunk/content/index_redirect.html Sat Jul 12 
15:54:05 2014
@@ -91,14 +91,14 @@
       function showRedirectBox() {
        var lang_iso            = "";           // The language as ISO code.
        var lang_name           = "";           // The language as native name.
-       NL_LANG                 = "";           // Set to empty as this 
variable must not be used in this context.
+       DL.NL_LANG              = "";           // Set to empty as this 
variable must not be used in this context.
        DL.LANG_SEL             = "";           // Set to empty as this 
variable must not be used in this context.
        var redirect            = false;        // Should the found language be 
used to redirect (false/true)?
 
        var lang_to_redirect    = [             // List all languages that 
should be redirected.
                                    "ast", "eu", "bg", "zh-cn", "zh-tw", "cs", 
"da", "nl", "fi", "fr", "gl", "de", "el",
-                                   "he", "hi", "hu", "it", "ja", "km", "ko", 
"lt", "nb", "pl", "pt-br", "pt", "ru", "gd",
-                                   "sr", "sk", "sl", "es", "sv", "ta", "th", 
"tr", "vi"
+                                   "he", "hi", "hu", "it", "ja", "km", "ko", 
"lt", "nb", "pl", "pt-br", "pt", "ru",
+                                   "gd", "sr", "sk", "sl", "es", "sv", "ta", 
"th", "tr", "vi"
                                  ];
 
        // Get the language ISO code from browser guessed data.
@@ -124,20 +124,24 @@
                }
        }
 
-       alert( "Browser language ISO code: \t"  + lang_iso  + "\n"
-              + "Found language name: \t\t"    + lang_name + "\n"
-              + "Is it OK to redirect? \t\t\t" + redirect );
+       alert( "Just for debugging purpose:"                 + "\n\n"
+              + "Browser language ISO code: \t" + lang_iso  + "\n"
+              + "Found language name: \t\t"     + lang_name + "\n"
+              + "Is it OK to redirect? \t\t\t"  + redirect );
 
        // Show alert box or not?
        if( redirect ) {
          // Show redirect box with defined background color.
          // Show the text with link and cursor as poiner.
-         document.write( "<div id='alert_box' style='background: #F2F5A9; '"
+         document.write( "<div id='redirect_box'"
            + " onclick='window.open( \"http://www.openoffice.org/"; + lang_iso 
+ "\", \"_blank\" ); return false;'>"
            // Show headline and text.
-           + "<h2 style='cursor: pointer;'>Want to see the text in " + 
lang_name + "?</h2>"
-           + "<p style='cursor: pointer;'>We have localized our website into 
many languages and yours is one of these. "
-             + "Just click this text to get more specialized information 
instead of the general and global in English."
+//         + "<h2 style='cursor: pointer;'>Want to see the text in " + 
lang_name + "?</h2>"
+//         + "<p style='cursor: pointer;'>We have localized our website into 
many languages and yours is one of these. "
+//           + "Just click this text to get more specialized information 
instead of the general and global in English."
+//         + "</p>"
+           + "<p>"
+             + "This site is also available in <b>" + lang_name + "</b>. Just 
click this text to get redirected."
            + "</p>"
          + "</div>" ); // redirect box
        }
@@ -386,8 +390,8 @@ screen reader.
         <a 
href="https://blogs.apache.org/OOo/entry/the_apache_openoffice_project_announce";
         title="Offical blog post about Apache OpenOffice 4.1.0">official 
release of version 4.1.0</a>.
         In the <a 
href="https://cwiki.apache.org/confluence/display/OOOUSERS/AOO+4.1+Release+Notes";
-        title="Release Notes for Apache OpenOffice 4.1.0">Release Notes</a> 
you can read about all new features, functions
-        and languages. <a href="https://www.openoffice.org/download/";
+        title="Release Notes for Apache OpenOffice 4.1.0">Release Notes</a> 
you can read about all new features, 
+        functions and languages. <a href="https://www.openoffice.org/download/";
         title="Download Apache OpenOffice 4.1.0">Don't miss to download</a> 
the new release and find out yourself.
       </p>
     </div>
@@ -420,10 +424,11 @@ screen reader.
 
       <p>
         <em>8 January 2013:</em>
-        Apache OpenOffice is developed 100% by volunteers.  Apache does not 
pay for developers, for translators, for QA, for
-        marketing, for UI, for support, etc. Of course, we're happy to accept
-        <a href="http://www.apache.org/foundation/contributing.html";>donations 
to the Apache Software Foundation</a>, to keep
-        our servers runnings and for similar overhead expenses. But our 
products are developed entirely by volunteers.
+        Apache OpenOffice is developed 100% by volunteers.  Apache does not 
pay for developers, for translators,
+        for QA, for marketing, for UI, for support, etc. Of course, we're 
happy to accept
+        <a href="http://www.apache.org/foundation/contributing.html";>donations 
to the Apache Software Foundation</a>, 
+        to keep our servers runnings and for similar overhead expenses. But 
our products are developed entirely by 
+        volunteers.
       </p>
       <p>Some users are initially worried by this statement:<br /><strong>How 
can software for free, developed by
         volunteers, be any good?<br /></strong><a 
href="why/why_volunteers.html">Read on for an answer...</a>


Reply via email to