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/06/22 00:00:37 UTC

svn commit: r913186 - in /websites/staging/ooo-site/trunk: cgi-bin/ content/ content/download/test/index.html

Author: buildbot
Date: Sat Jun 21 22:00:36 2014
New Revision: 913186

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/download/test/index.html

Propchange: websites/staging/ooo-site/trunk/cgi-bin/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sat Jun 21 22:00:36 2014
@@ -1 +1 @@
-1604465
+1604470

Propchange: websites/staging/ooo-site/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sat Jun 21 22:00:36 2014
@@ -1 +1 @@
-1604465
+1604470

Modified: websites/staging/ooo-site/trunk/content/download/test/index.html
==============================================================================
--- websites/staging/ooo-site/trunk/content/download/test/index.html (original)
+++ websites/staging/ooo-site/trunk/content/download/test/index.html Sat Jun 21 22:00:36 2014
@@ -31,7 +31,7 @@
 
     function shareBlog() {
       _gaq.push( ['_trackEvent', 'social', 'shareDownload', 'blog'] ); 
-      window.open( 'https://blogs.apache.org/OOo/', '_blank', 'toolbar=0, status=0, width=580, height=325' );	
+      window.open( 'https://blogs.apache.org/OOo/', '_blank' );	
     }
     function shareFacebook() {
       _gaq.push( ['_trackEvent', 'social', 'shareDownload', 'facebook'] ); 
@@ -45,6 +45,20 @@
       _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 == 'blog' ) {
+          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>
 
 <!--#include virtual="/google-analytics.js" -->