Author: marcus Date: Sat Jul 26 10:45:46 2014 New Revision: 1613602 URL: http://svn.apache.org/r1613602 Log: Moved the show flag to 'msg_prop_l10n.js'
Modified: openoffice/ooo-site/trunk/content/index.html Modified: openoffice/ooo-site/trunk/content/index.html URL: http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/index.html?rev=1613602&r1=1613601&r2=1613602&view=diff ============================================================================== --- openoffice/ooo-site/trunk/content/index.html (original) +++ openoffice/ooo-site/trunk/content/index.html Sat Jul 26 10:45:46 2014 @@ -35,11 +35,11 @@ } } - function showAlertBox( show ) { + function showAlertBox() { // The text is defined in "/msg_prop_l10n.js". // Show alert box or not? - if( show ) { + 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"; @@ -175,7 +175,7 @@ screen reader. // Show alert box. // Show important messages and announcements. // Change to 'true' if you want to show the text that is defined in the variables above. - showAlertBox( false ); + showAlertBox(); // Check if and how a redirect to the respective NL webpage should be done. setRedirect();