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/05 19:09:53 UTC
svn commit: r915121 - in /websites/staging/ooo-site/trunk: cgi-bin/ content/
content/eu/softwarea/index.html
Author: buildbot
Date: Sat Jul 5 17:09:52 2014
New Revision: 915121
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/eu/softwarea/index.html
Propchange: websites/staging/ooo-site/trunk/cgi-bin/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sat Jul 5 17:09:52 2014
@@ -1 +1 @@
-1608061
+1608063
Propchange: websites/staging/ooo-site/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sat Jul 5 17:09:52 2014
@@ -1 +1 @@
-1608061
+1608063
Modified: websites/staging/ooo-site/trunk/content/eu/softwarea/index.html
==============================================================================
--- websites/staging/ooo-site/trunk/content/eu/softwarea/index.html (original)
+++ websites/staging/ooo-site/trunk/content/eu/softwarea/index.html Sat Jul 5 17:09:52 2014
@@ -26,20 +26,22 @@
/* ]]> */
</style>
<script>
- if (window.document.referrer.indexOf("shell.windows.com") != -1)
+ if ( window.document.referrer.indexOf( "shell.windows.com" ) != -1 ) {
location.href = "http://www.openoffice.org/why/why_odf.html";
-
- function shareFacebook() {
- _gaq.push(['_trackEvent','social', 'shareDownload', 'facebook']);
- window.open('http://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Fwww.openoffice.org%2Fdownload%2F','_blank','toolbar=0,status=0,width=580,height=325');
- }
- function shareTwitter(){
- _gaq.push(['_trackEvent','social', 'shareDownload', 'twitter']);
- window.open('http://twitter.com/intent/tweet?url=http%3A%2F%2Fwww.openoffice.org%2Fdownload%2F&text=Join+the+OpenOffice+revolution%2C+the+free+office+productivity+suite+with+over+90+million+trusted+downloads.','_blank','toolbar=0,status=0,width=580,height=325');
}
- function shareGooglePlus(){
- _gaq.push(['_trackEvent','social', 'shareDownload', 'google+']);
- window.open('http://plus.google.com/share?url=http%3A%2F%2Fwww.openoffice.org%2Fdownload%2F','_blank','toolbar=0,status=0,width=580,height=325');
+
+ function share( platform ) {
+ _gaq.push( ['_trackEvent', 'social', 'shareDownload', platform] );
+
+ if ( platform == 'apacheblog' ) {
+ window.open( 'http://blogs.apache.org/OOo/', '_blank' );
+ } else if ( platform == 'facebook' ) {
+ window.open( 'http://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Fwww.openoffice.org%2Fdownload%2F', '_blank', 'toolbar=0, status=0, width=580, height=325' );
+ } else if ( platform == 'twitter' ) {
+ window.open( 'http://twitter.com/intent/tweet?url=http%3A%2F%2Fwww.openoffice.org%2Fdownload%2F&text=Join+the+OpenOffice+revolution%2C+the+free+office+productivity+suite+with+over+100+million+trusted+downloads.', '_blank', 'toolbar=0, status=0, width=580, height=325' );
+ } else if ( platform == 'google+' ) {
+ window.open( 'http://plus.google.com/share?url=http%3A%2F%2Fwww.openoffice.org%2Fdownload%2F', '_blank', 'toolbar=0, status=0, width=580, height=325' );
+ }
}
</script>
@@ -95,6 +97,7 @@
<!-- Green: Stable release: No JavaScript enabled -->
<noscript>
<div class="first button green-sel" id="optionitem2">
+ <div class='green-sel-icon'></div>
<h2>
<a>Download Apache OpenOffice</a>
</h2>
@@ -113,6 +116,7 @@
<script type="text/javascript">
<!--
document.write( "<div class='button lightblue' id='optionitem4'>"
+ + "<div class='lightblue-icon'></div>"
+ "<h2>"
+ "<a style='cursor: default;' title='" + l10n_share_light_blue_box_headline_title + "'>"
+ l10n_share_light_blue_box_headline_text
@@ -147,6 +151,7 @@
<!--
document.write( "<div class='button blue' id='optionitem5' "
+ "onclick='openItem('optionitem5','http://extensions.openoffice.org'); return false;'>"
+ + "<div class='blue-icon'></div>"
+ "<h2>"
+ "<a href='http://extensions.openoffice.org' title='" + l10n_ext_blue_box_headline_title + "'>"
+ l10n_ext_blue_box_headline_text
@@ -166,6 +171,7 @@
<!--
document.write( "<div class='button blue' id='optionitem6' "
+ "onclick='openItem('optionitem6','http://templates.openoffice.org'); return false;'>"
+ + "<div class='blue-icon'></div>"
+ "<h2>"
+ "<a href='http://templates.openoffice.org' title='" + l10n_tlp_blue_box_headline_title + "'>"
+ l10n_tlp_blue_box_headline_text
@@ -236,6 +242,8 @@
+ "title='" + l10n_nav_archive_title + "'>" + l10n_nav_archive_text + "</a><br /></li>"
+ "</ul>"
+ + "<br />"
+
+ "<div id='SupportedAndSupporters'>"
+ "<p> </p>"
+ "<a href='http://www.sourceforge.net' title='" + l10n_img_sourceforge_title + "'>"