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/07/12 17:53:05 UTC

svn commit: r1609954 - /openoffice/ooo-site/trunk/content/index_redirect.html

Author: marcus
Date: Sat Jul 12 15:53:05 2014
New Revision: 1609954

URL: http://svn.apache.org/r1609954
Log:
Updated variables and text, moved CSS styles into 'exceptions.css'

Modified:
    openoffice/ooo-site/trunk/content/index_redirect.html

Modified: openoffice/ooo-site/trunk/content/index_redirect.html
URL: http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/index_redirect.html?rev=1609954&r1=1609953&r2=1609954&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/index_redirect.html (original)
+++ openoffice/ooo-site/trunk/content/index_redirect.html Sat Jul 12 15:53:05 2014
@@ -89,14 +89,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.
@@ -122,20 +122,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
 	}
@@ -370,8 +374,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>
@@ -404,10 +408,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>