You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by bu...@apache.org on 2014/07/26 15:47:48 UTC
svn commit: r917478 - in /websites/staging/ooo-site/trunk: cgi-bin/ content/
content/xx/index.html
Author: buildbot
Date: Sat Jul 26 13:47:47 2014
New Revision: 917478
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/xx/index.html
Propchange: websites/staging/ooo-site/trunk/cgi-bin/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sat Jul 26 13:47:47 2014
@@ -1 +1 @@
-1613626
+1613628
Propchange: websites/staging/ooo-site/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sat Jul 26 13:47:47 2014
@@ -1 +1 @@
-1613626
+1613628
Modified: websites/staging/ooo-site/trunk/content/xx/index.html
==============================================================================
--- websites/staging/ooo-site/trunk/content/xx/index.html (original)
+++ websites/staging/ooo-site/trunk/content/xx/index.html Sat Jul 26 13:47:47 2014
@@ -11,6 +11,7 @@
<link href="https://plus.google.com/+openoffice" rel="publisher" />
<title>Apache OpenOffice - The Free and Open Productivity Suite</title>
<script type="text/javascript" src="../download/globalvars.js"></script>
+ <script type="text/javascript" src="msg_prop_l10n_xx.js"></script>
<style type="text/css">
/* <![CDATA[ */
/*-------------------- Exceptions on standard css -----------------------*/
@@ -33,56 +34,50 @@
window.open( "https://plus.google.com/+openoffice", "_blank" );
}
- function showAlertbox( show ) {
- // More see "http://html-color-codes.info/"
- var l10n_alert_box_background_color = "#F5A9A9";
- // Make the whole alert box clickable with a link.
- var l10n_alert_box_href = "http://openoffice.apache.org/translate.html";
- // Maximum 49 characters.
- var l10n_alert_box_headline_text = "We need your help to complete translation into XX!";
- // Maximum 630 characters.
- var l10n_alert_box_text_text = "This note is in English because we have no one to translate this webpage "
- + "and others into your language. The links on the page will help you "
- + "download and install Apache OpenOffice with XX translation. But we "
- + "still need help with this website. <br /><br /> If you are interested "
- + "in helping translate, please click this text to review the information. "
- + "You can send a note to our mailing list \"L10N@openoffice.apache.org\" "
- + "if you want to volunteer or if you have questions."
-
- // Show alert box or not?
- if( show ) {
- // If no background color value was set then use the default value.
- if( ! l10n_alert_box_background_color )
- var l10n_alert_box_background_color = "#FFD9A7";
-
- // Show alert box with defined background color.
- // Depending if link is available, make the whole DIV clickable or not.
- if( l10n_alert_box_href ) {
- // Show the text with link and cursor as poiner.
- document.write( "<div id='alert_box' style='background: " + l10n_alert_box_background_color
- + "; ' onclick='window.open(\"" + l10n_alert_box_href + "\", \"_blank\"); return false;'>" );
-
- // Show headline.
- document.write( "<h2 style='cursor: pointer;'>" + l10n_alert_box_headline_text + "</h2>" );
-
- // Show text.
- if( l10n_alert_box_text_text )
- document.write( "<p style='cursor: pointer;'>" + l10n_alert_box_text_text + "</p>" );
-
- } else {
- // Show the text without link and normal cursor.
- document.write( "<div id='alert_box' style='background: " + l10n_alert_box_background_color + "'>" );
-
- // Show headline.
- document.write( "<h2 style='cursor: default;'>" + l10n_alert_box_headline_text + "</h2>" );
-
- // Shoe text.
- if( l10n_alert_box_text_text )
- document.write( "<p style='cursor: default;'>" + l10n_alert_box_text_text + "</p>" );
- }
+ function showAlertBox() {
+ // The text is defined in "/msg_prop_l10n.js".
- document.write( "</div>" ); // Alert box
- }
+ // Show alert box or not?
+ if( l10n.index_alert_box_show ) {
+ // If no background color value was set then use the default value.
+ if( ! l10n.index_alert_box_background_color || l10n.index_alert_box_background_color === "" )
+ l10n.index_alert_box_background_color = "#FFD9A7";
+
+ // Show alert box with defined background color.
+ // Depending if link is available, make the whole DIV clickable or not.
+ if( l10n.index_alert_box_href ) {
+ // Show the text with link and cursor as poiner.
+ document.write( "<div id='alert_box' style='background: "
+ + l10n.index_alert_box_background_color
+ + "; ' onclick='window.open( \"" + l10n.index_alert_box_href
+ + "\", \"_blank\" ); return false;'>" );
+
+ // Show headline.
+ document.write( "<h2 style='cursor: pointer;'>"
+ + l10n.index_alert_box_headline_text + "</h2>" );
+
+ // Show text.
+ if( l10n.index_alert_box_text_text ) {
+ document.write( "<p style='cursor: pointer;'>"
+ + l10n.index_alert_box_text_text + "</p>" );
+ }
+ } else {
+ // Show the text without link and normal cursor.
+ document.write( "<div id='alert_box' style='background: "
+ + l10n.index_alert_box_background_color + "'>" );
+
+ // Show headline.
+ document.write( "<h2 style='cursor: default;'>"
+ + l10n.index_alert_box_headline_text + "</h2>" );
+
+ // Show text.
+ if( l10n.index_alert_box_text_text ) {
+ document.write( "<p style='cursor: default;'>"
+ + l10n.index_alert_box_text_text + "</p>" );
+ }
+ }
+ document.write( "</div>" ); // Alert box
+ }
}
</script>
@@ -114,7 +109,7 @@ screen reader.
<!--
// Show alert box.
// Change to 'true' if you want to show the text that is defined in the variables above.
- showAlertbox( true );
+ showAlertBox();
//-->
</script>