Author: buildbot
Date: Sat Jun 21 21:09:08 2014
New Revision: 913182

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/boxed_download.js
    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 21:09:08 2014
@@ -1 +1 @@
-1604456
+1604459

Propchange: websites/staging/ooo-site/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sat Jun 21 21:09:08 2014
@@ -1 +1 @@
-1604456
+1604459

Modified: 
websites/staging/ooo-site/trunk/content/download/test/boxed_download.js
==============================================================================
--- websites/staging/ooo-site/trunk/content/download/test/boxed_download.js 
(original)
+++ websites/staging/ooo-site/trunk/content/download/test/boxed_download.js Sat 
Jun 21 21:09:08 2014
@@ -115,25 +115,31 @@ function createShareBox() {
     + "<div class='lightblue-icon'></div>"
     + "<h2 title='" + l10n_share_light_blue_box_headline_title + "'>" + 
l10n_share_light_blue_box_headline_text + "</h2>"
     + "<p id='ShareDownloadLinks'"
-      + "title='" + l10n_share_light_blue_box_text_title + "'>" + 
l10n_share_light_blue_box_text_text + "</p>"
-    + "<p style='margin-left: 0; padding-bottom: 2%;'>"
-      + "<a style='display: inline;' href='https://blogs.apache.org/OOo/'"
+      + "title='" + l10n_share_light_blue_box_text_title + "'>"
+      + l10n_share_light_blue_box_text_text
+    + "</p>"
+    + "<div class='icon_box'>"
+      + "<span onclick='javascript:shareBlog()'"
         + "title='" + l10n_share_light_blue_box_blog_title + "'>"
         + "<img src='../../images/logo-rss-32.png' alt='" + 
l10n_share_light_blue_box_blog_alt + "'/>"
-      + "</a>"
-      + "<a style='display: inline;' href='javascript:shareFacebook()'"
+        + "<a>Official Blog</a>"
+      + "</span>"
+      + "<span onclick='javascript:shareFacebook()'"
         + "title='" + l10n_share_light_blue_box_facebook_title + "'>"
         + "<img src='../../images/logo-facebook-32.png' alt='" + 
l10n_share_light_blue_box_facebook_alt + "' />"
-      + "</a>"
-      + "<a style='display: inline;' href='javascript:shareTwitter()'"
+        + "<a>Facebook</a>"
+      + "</span>"
+      + "<span href='javascript:shareTwitter()'"
         + "title='" + l10n_share_light_blue_box_twitter_title + "'>"
         + "<img src='../../images/logo-twitter-32.png' alt='" + 
l10n_share_light_blue_box_twitter_alt + "' />"
-      + "</a>"
-      + "<a style='display: inline;' href='javascript:shareGooglePlus()'"
+        + "<a>Twitter</a>"
+      + "</span>"
+      + "<span href='javascript:shareGooglePlus()'"
         + "title='" + l10n_share_light_blue_box_googleplus_title + "'>"
         + "<img src='../../images/logo-googleplus-32.png' alt='" + 
l10n_share_light_blue_box_googleplus_alt + "' />"
-      + "</a>"
-    + "</p>"
+        + "<a>Google+</a>"
+      + "</span>"
+    + "</div>"
   + "</div>" );
   return;
 }

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 
21:09:08 2014
@@ -26,20 +26,24 @@
   /* ]]> */
   </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 shareBlog() {
+      _gaq.push( ['_trackEvent', 'social', 'shareDownload', 'blog'] ); 
+      window.open( 'https://blogs.apache.org/OOo/', '_blank', 'toolbar=0, 
status=0, width=580, height=325' );  
+    }
     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');
     
+      _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 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 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' );
     }
   </script>
 


Reply via email to