You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ma...@apache.org on 2014/07/05 20:15:48 UTC

svn commit: r1608096 - /openoffice/ooo-site/trunk/content/gl/Descargar/index.html

Author: marcus
Date: Sat Jul  5 18:15:48 2014
New Revision: 1608096

URL: http://svn.apache.org/r1608096
Log:
Updated JS functions and colored boxes

Modified:
    openoffice/ooo-site/trunk/content/gl/Descargar/index.html

Modified: openoffice/ooo-site/trunk/content/gl/Descargar/index.html
URL: http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/gl/Descargar/index.html?rev=1608096&r1=1608095&r2=1608096&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/gl/Descargar/index.html (original)
+++ openoffice/ooo-site/trunk/content/gl/Descargar/index.html Sat Jul  5 18:15:48 2014
@@ -10,43 +10,44 @@
   <meta property="og:image" content="http://www.openoffice.org/images/aoo-logo-100x100.png" />
   <meta name="description" content="Página oficial de descarga de Apache OpenOffice. Únase a la revolución de OpenOffice, la suite libre y gratuita para la oficina, con más de 100 millones de descargas." />
   <title>Apache OpenOffice - Descargas - Sitio Oficial</title>
-  <script type="text/javascript" src="/download/globalvars.js"></script>
-  <script type="text/javascript" src="/download/download.js"></script>
-  <script type="text/javascript" src="/download/languages.js"></script>
-  <script type="text/javascript" src="/download/release_matrix.js"></script>
-  <script type="text/javascript" src="/download/boxed_download.js"></script>
+  <script type="text/javascript" src="../../download/globalvars.js"></script>
   <script type="text/javascript" src="msg_prop_l10n_gl.js"></script>
+  <script type="text/javascript" src="../../download/languages.js"></script>
+  <script type="text/javascript" src="../../download/release_matrix.js"></script>
+  <script type="text/javascript" src="../../download/boxed_download.js"></script>
+  <script type="text/javascript" src="../../download/download.js"></script>
   <style type="text/css">
   /* <![CDATA[ */
   /*-------------------- Exceptions on standard css -----------------------*/
-  @import "/download/styles.css";
-  @import "/download/exceptions.css";
+  @import "../../download/styles.css";
+  @import "../../download/exceptions.css";
   /* ]]> */
   </style>
   <script>
-    if (window.document.referrer.indexOf("shell.windows.com") != -1)
+    if ( window.document.referrer.indexOf( "shell.windows.com" ) != -1 ) {
        location.href = "/es/por-que/why_odf.html";
-
-    function shareFacebook() {
-      _gaq.push(['_trackEvent','social', 'shareDownload', 'facebook']); 
-      window.open('https://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('https://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');
     }
-    function shareGooglePlus(){
-      _gaq.push(['_trackEvent','social', 'shareDownload', 'google+']); 
-      window.open('https://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>
 </head>
 
 <body>
-    
 
 <div class="optionset">
-<!-- Text above the first colored box -->
+    <!-- Text above the first colored box -->
     <script type="text/javascript">
     <!--
     // The text in the H1 tag is intentionally shown as "display: none" (do not display).
@@ -73,11 +74,11 @@
 
     //-->
     </script>
-  
 
   <!-- Green: Stable release: No JavaScript enabled -->
   <noscript>
   <div class="first button green" id="optionitem2">
+    <div class="green-sel-icon"></div>
     <h2><a style="cursor: default;">Descargar Apache OpenOffice</a></h2>
     <p style="cursor: default;">
     <a style="cursor: default;">JavaScript necesita estar habilitado en su navegador para descargar Apache OpenOffice.</a></p>
@@ -93,20 +94,19 @@
   </div>
   </noscript>
 
-
-
   <!-- Light Blue: Share download with social networks -->
   <div class="button lightblue" id="optionitem4">
+    <div class="lightblue-icon"></div>
     <h2><a style="cursor: default;" title="Ay&#250;denos a hacer correr la voz y hable con sus amigos de Apache OpenOffice">Ay&#250;denos a hacer correr la voz</a></h2>
     <p style="cursor: default;" id="ShareDownloadLinks">
     <a style="cursor: default;" title="Ay&#250;denos a hacer correr la voz y hable con sus amigos de Apache OpenOffice">Por favor, hable con sus amigos de Apache OpenOffice.</a>
-    <a style="display: inline; padding: 0 5px 0 30px;" href="javascript:shareFacebook()"
+    <a style="display: inline; padding: 0 5px 0 30px;" href="javascript:share( \"facebook\" )"
     title="Hable con sus amigos de Apache OpenOffice a trav&#233;s de Facebook">
     <img src="/images/logo-facebook-32.png" alt="Hable con sus amigos de Apache OpenOffice a trav&#233;s de Facebook" /></a>
-    <a style="display: inline; padding: 0 5px;" href="javascript:shareTwitter()"
+    <a style="display: inline; padding: 0 5px;" href="javascript:share( \"twitter\" )"
     title="Hable con sus amigos de Apache OpenOffice a trav&#233;s de Twitter">
     <img src="/images/logo-twitter-32.png" alt="Hable con sus amigos de Apache OpenOffice a trav&#233;s de Twitter" /></a>
-    <a style="display: inline; padding: 0 5px;" href="javascript:shareGooglePlus()"
+    <a style="display: inline; padding: 0 5px;" href="javascript:share( \"google+\" )"
     title="Hable con sus amigos de Apache OpenOffice a trav&#233;s de Google+">
     <img src="/images/logo-googleplus-32.png" alt="Hable con sus amigos de Apache OpenOffice a trav&#233;s de Google+" /></a>
     </p>
@@ -115,6 +115,7 @@
   <!-- Blue: Extensions -->
   <div class="button blue" id="optionitem5" onclick="openItem('optionitem3','http://extensions.openoffice.org');
     return false;">
+    <div class="blue-icon"></div>
     <h2><a href="http://extensions.openoffice.org"
     title="Cun amplo abano de funcións adicionais">Obter Extensións e Apache OpenOffice Dicionarios</a></h2>
     <p><a href="http://extensions.openoffice.org"
@@ -124,6 +125,7 @@
   <!-- Blue: Templates -->
   <div class="button blue" id="optionitem6" onclick="openItem('optionitem3_1','http://templates.openoffice.org/es');
     return false;">
+    <div class="blue-icon"></div>
     <h2><a href="http://templates.openoffice.org/es"
     title="Seleccione a partir dunha ampla gama de documentos adicionais">Obter Modelos para Apache OpenOffice</a></h2>
     <p><a href="http://templates.openoffice.org/es"
@@ -131,7 +133,6 @@
   </div>
 </div>
 
-
 <!--use info from es area -->
 <div class="additionalinformation">