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 19:19:09 UTC

svn commit: r1608068 - /openoffice/ooo-site/trunk/content/es/descargar/index.html

Author: marcus
Date: Sat Jul  5 17:19:08 2014
New Revision: 1608068

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

Modified:
    openoffice/ooo-site/trunk/content/es/descargar/index.html

Modified: openoffice/ooo-site/trunk/content/es/descargar/index.html
URL: http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/es/descargar/index.html?rev=1608068&r1=1608067&r2=1608068&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/es/descargar/index.html (original)
+++ openoffice/ooo-site/trunk/content/es/descargar/index.html Sat Jul  5 17:19:08 2014
@@ -10,41 +10,42 @@
   <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_es.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 -->
     <script type="text/javascript">
@@ -77,12 +78,13 @@
 
   <!-- Green: Stable release: No JavaScript enabled -->
   <noscript>
-  <div class="first button green" id="optionitem2">
+  <div class="first button green-sel" 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>
   </div>
-  <div class="sub-green">
+  <div class="sub-green-sel">
     <p><a href="/porting/index.html"
     title="Obtenga Apache OpenOffice en versiones USB portables y otras versiones de terceros">
     <b>Versiones portables USB</b> y dem&aacute;s versiones de terceras partes</a> |
@@ -97,6 +99,7 @@
 
   <!-- 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>
@@ -115,6 +118,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="Seleccione de un amplio rango de funciones adicionales">Obtenga Extensiones y Diccionarios para Apache OpenOffice</a></h2>
     <p><a href="http://extensions.openoffice.org"
@@ -124,6 +128,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 de un amplio rango de documentos adicionales">Obtenga Plantillas para Apache OpenOffice</a></h2>
     <p><a href="http://templates.openoffice.org/es"
@@ -139,7 +144,7 @@
   <ul>
     <li><a href="/license.html"
     title="Licencia de Apache OpenOffice">Licencia</a></li>
-    <li><a href="/download/other.html#source"
+    <li><a href="http://openoffice.apache.org/downloads.html"
     title="Para desarrolladores y usuarios avanzados: Obtenga el c&oacute;digo fuente para compilar Apache OpenOffice desde cero.">C&oacute;digo fuente</a>
     <li><a href="http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO"
     title="Para desarrolladores y usuarios avanzados: Gu&iacute;a de C&oacute;mo compilar Apache OpenOffice desde cero.">Gu&iacute;a para compilar</a></li>