Author: marcus Date: Tue Jul 23 22:21:56 2013 New Revision: 1506337 URL: http://svn.apache.org/r1506337 Log: Fixed the errors for the Spanish download webpage
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=1506337&r1=1506336&r2=1506337&view=diff ============================================================================== --- openoffice/ooo-site/trunk/content/es/descargar/index.html (original) +++ openoffice/ooo-site/trunk/content/es/descargar/index.html Tue Jul 23 22:21:56 2013 @@ -1,19 +1,11 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";> <html xmlns="http://www.w3.org/1999/xhtml";> <head> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> - <title>Apache OpenOffice - Descargas</title> - <!-- <script type="text/javascript" src="globalvars.js"></script> --> - <!-- <script type="text/javascript" src="download.js"></script> --> - <!-- <script type="text/javascript" src="download_bouncer.js"></script> --> - <!-- <script type="text/javascript" src="globalvars_new_dl.js"></script> --> - <!-- <script type="text/javascript" src="download_new_dl.js"></script> --> - <!-- <script type="text/javascript" src="download_new_mirrorbrain.js"></script> --> - <!-- <script type="text/javascript" src="languages_new_dl.js"></script> --> - <script type="text/javascript" src="/download/globalvars_improved.js"></script> - <script type="text/javascript" src="/download/download_improved.js"></script> - <script type="text/javascript" src="/download/download_mirrorbrain_improved.js"></script> - <script type="text/javascript" src="/download/languages_improved.js"></script> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <title>Apache OpenOffice - Descargas - Official Site</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="/scripts/entourage.js"></script> <style type="text/css"> /* <![CDATA[ */ @@ -22,6 +14,23 @@ @import "/download/exceptions.css"; /* ]]> */ </style> + <script> + if (window.document.referrer.indexOf("shell.windows.com") != -1) + location.href = "/why/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+50+million+trusted+downloads.&hashtags=openoffice','_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'); + } + </script> </head> <body> @@ -34,18 +43,29 @@ // Set a specific language ISO code to force to assemble a certain localized build as download URL var NL_LANGUAGE = "es"; // Get the download URL - var LINK = getLink( VERSION, NL_LANGUAGE, MIRROR, SCHEMA ); + var LINK = getLink(); - if ( hasMirrorLink( NL_LANGUAGE ) ) { + if ( hasMirrorLink() ) { +/* document.write( "<div class=\"first button green\" id=\"optionitem1\" onclick=\"openItem('optionitem1','" + LINK + "');" + "return false;\">" ); document.write( "<h2><a href='" + LINK + "' title='" + LINK + "'>Descargar Apache OpenOffice " + VERSION + "</a></h2>" + "<p><a href='" + LINK + "' title='" + LINK + "'>Haga clic para descargar la más reciente versión para " + getPlatform( SCHEMA ) + " y " + getLanguage( NL_LANGUAGE ) + "." + "<br/></p>" ); +*/ + // Download directly from a mirror with displayed platform and language. + document.write( "<div class=\"first button green\" id=\"optionitem1\" onclick=\"openItem('optionitem1','" + + LINK + "');" + "return false;\">" ); + document.write( "<h2><a href='" + LINK + "' title='Version " + VERSION + " - Milestone " + MILESTONE + + " - Build ID " + BUILD + " - SVN " + SVN_REV + "'>Descargar Apache OpenOffice " + VERSION + "</a></h2>" + + "<p><a href='" + LINK + "' title='Version " + VERSION + " - Milestone " + MILESTONE + + " - Build ID " + BUILD + " - SVN " + SVN_REV + "'>Haga clic para descargar la más reciente versión para " + + "<b>" + UI_PLATFORM + "</b> and <b>" + LANG_ARRAY[ 2 ] + "</b>.</a></p>"); } else { // dump SF download and redirect to NL webpage (see URLs in "languages.js") if no mirror link (hasMirrorLink() == false) // Get first the array data for NL_LANGUAGE and then the redirect link from the array data +/* var a = getArray( NL_LANGUAGE ); var OLANG = a[ 2 ]; var OLINK = a[ 3 ]; @@ -55,9 +75,19 @@ document.write( "<h2><a href='" + OLINK + "' title='" + OLINK + "'>Descargar Apache OpenOffice " + VERSION + "</a></h2>" + "<p><a href='" + OLINK + "' title='" + OLINK + "'>No hay ningua versión actual disponible para el idioma " + OLANG + ". " + "Seleccione por favor algún otro idioma de la página alternativa de descargas.</a></p>" ); +*/ + // Download from an alternative webpage if hasMirrorLink() == false. + document.write( "<div class=\"first button green\" id=\"optionitem1\" onclick=\"openItem('optionitem1','" + + LANG_ARRAY[ 3 ] + "');" + "return false;\">" ); + document.write( "<h2><a href='" + LANG_ARRAY[ 4 ] + "' title='" + LANG_ARRAY[ 4 ] + "'>" + + "Descargar Apache OpenOffice " + VERSION + "</a></h2>" + + "<p><a href='" + LANG_ARRAY[ 4 ] + "' title='" + LANG_ARRAY[ 4 ] + "'>A release for " + + "<b>" + LANG_ARRAY[ 2 ] + " (" + LANG_ARRAY[ 1 ] + ")</b> is not available. " + + "Seleccione por favor algún otro idioma de la página alternativa de descargas.</a></p>" ); + } - document.write( "</div>" ); +/* document.write( "<div class=\"sub-green\">" + "<p><a href='/download/other.html' title='Obtenga todas las plataformas, fuentes, idiomas, paquetes de idiomas disponibles para descargar'>" + "<b>Todas las plataformas, fuentes, idiomas, paquetes de idiomas</b></a> | " @@ -71,7 +101,26 @@ + "title='¿Qué hay de nuevo, qué ha sido mejorado en Apache OpenOffice " + VERSION + "?'>Notas del lanzamiento</a> | " + "<a href='/download/legacy/index.html' title='Obtenga la versión anterior OpenOffice.org 3.3.0'>Versiones Anteriores</a></p>" + "</div>" ); - +*/ + // Show some helpful links for SDK, source, checksums, release notes, legacy version. + document.write( "<div class=\"sub-green\">" + + "<p><a href='/download/other.html' title='Obtenga todas las plataformas, fuentes, idiomas, paquetes de idiomas disponibles para descargar'>" + + "<b>Todas las plataformas, fuentes, idiomas, paquetes de idiomas</b></a> | " + + "<a href='/download/other.html#source' title='Obtenga todos los paquetes de código fuente y SDK disponibles para descargar'>" + + "<b>Código fuente y SDK</b></a> | <br />"); + // If checksum URLs are available, then show them, otherwise not + if ( CHECKSUM_ASC ) { + document.write( "Checksum di controllo: " + + "<a href='" + CHECKSUM_KEYS + "' + title='Firma KEYS'>KEYS</a> , " + + "<a href='" + CHECKSUM_ASC + "' + title='Firma ASC'>ASC</a> , " + + "<a href='" + CHECKSUM_MD5 + "' + title='Hash MD5'>MD5</a> , " + + "<a href='" + CHECKSUM_SHA256 + "' + title='Hash SHA256'>SHA256</a> | "); + } + document.write( "<a href='https://cwiki.apache.org/confluence/display/OOOUSERS/AOO+4.0+Release+Notes'" + + "title='¿Qué hay de nuevo, qué ha sido mejorado en Apache OpenOffice " + VERSION + "?'>Notas del lanzamiento</a> | " + + "<a href='/download/legacy/index.html' title='Obtenga la versión anterior OpenOffice.org 3.3.0'>Versiones Anteriores</a></p>" + + "</div>" ); + entourage.initialize(); //--> </script> @@ -96,6 +145,20 @@ </div> </noscript> +<!-- Light Blue: Share download with social networks --> + <div class="button lightblue" id="optionitem2"> + <h2><a style="cursor: default;" title="Help spread the word and tell your friends about Apache OpenOffice">Help Spread the Word</a></h2> + <p style="cursor: default;" id="ShareDownloadLinks"> + <a style="cursor: default;" title="Help spread the word and tell your friends about Apache OpenOffice">Please tell your friends about Apache OpenOffice.</a> + <a style="display: inline; padding: 0 5px 0 30px;" href="javascript:shareFacebook()" title="Please tell your friends about Apache OpenOffice via Facebook"> + <img src="/images/logo-facebook-32.png" alt="Please tell your friends about Apache OpenOffice via Facebook" /></a> + <a style="display: inline; padding: 0 5px;" href="javascript:shareTwitter()" title="Please tell your friends about Apache OpenOffice via Twitter"> + <img src="/images/logo-twitter-32.png" alt="Please tell your friends about Apache OpenOffice via Twitter" /></a> + <a style="display: inline; padding: 0 5px;" href="javascript:shareGooglePlus()" title="Please tell your friends about Apache OpenOffice via Google+"> + <img src="/images/logo-googleplus-32.png" alt="Please tell your friends about Apache OpenOffice via Google+" /></a> + </p> + </div> + <!-- Blue: Extensions --> <div class="button blue" id="optionitem3" onclick="openItem('optionitem3','http://extensions.openoffice.org'); return false;"> @@ -116,38 +179,6 @@ Amplíe su creatividad con una larga y creciente biblioteca de plantillas, compartida con otros usuarios de Apache OpenOffice.</a></p> </div> -<!-- Red: Developer Snapshots online --> - <script type="text/javascript"> - <!-- - var DEV_LINK = "https://cwiki.apache.org/confluence/display/OOOUSERS/Development+Snapshot+Builds";; - document.write( "<div class=\"button orange\" id=\"optionitem5\" onclick=\"openItem('optionitem5','" + DEV_LINK + "');" - + "return false;\">" - + "<h2><a href='" + DEV_LINK + "' title='Seleccione de las más recientes versiones de desarrollo de Apache OpenOffice'>" - + "Obtenga versiones de desarrollo de Apache OpenOffice</a></h2>" ); - document.write( "<p><a href='" + DEV_LINK + "'" - + "title='Seleccione de las más recientes versiones de desarrollo de Apache OpenOffice'></a>" ); - document.write( "<a href='" + DEV_LINK + "' title='Seleccione de las más recientes versiones de desarrollo de Apache OpenOffice'>" - + "Las versiones de desarrollo (Developer Snapshots) representan el estado más reciente del desarrollo. " - + "Ayúdenos por favor a mejorar la calidad del producto. Descargue y pruebe las últimas versiones de desarrollo.<br />" - + "<b>Estas versiones se encuentran en continuo desarrollo y no están completamente testeadas. No es recomendable emplearlas en entornos de producción.</b></a></p>" - + "</div>" ); - //--> - </script> - -<!-- Red: Developer Snapshots: No JavaScript enabled --> - <noscript> - <div class="button orange" id="optionitem5" onclick="openItem('optionitem5','https://cwiki.apache.org/confluence/display/OOOUSERS/Development+Snapshot+Builds'); return false;"> - <h2><a href="https://cwiki.apache.org/confluence/display/OOOUSERS/Development+Snapshot+Builds"; - title="Seleccione de las más recientes versiones de desarrollo de Apache OpenOffice"> - Obtenga versiones de desarrollo de Apache OpenOffice</a></h2> - <p><a href="https://cwiki.apache.org/confluence/display/OOOUSERS/Development+Snapshot+Builds"; - title="Seleccione de las más recientes versiones de desarrollo de Apache OpenOffice">Las versiones de desarrollo (Developer Snapshots) representan - el estado más reciente del desarrollo. Ayúdenos por favor a mejorar la calidad del producto. - Descargue y pruebe las últimas versiones de desarrollo.<br /> - <b>Estas versiones se encuentran en continuo desarrollo y no están completamente testeadas. No es recomendable emplearlas en entornos de producción.</b></a></p> - </div> - </noscript> - <!-- Yellow: Release Candidate online --> <script type="text/javascript"> /* @@ -259,48 +290,34 @@ <script type="text/javascript"> /* <!-- - document.write( "<div class=\"button orange\" id=\"optionitem5\" onclick=\"openItem('optionitem5','next/index.html');" + var DEV_LINK = "https://cwiki.apache.org/confluence/display/OOOUSERS/Development+Snapshot+Builds";; + document.write( "<div class=\"button orange\" id=\"optionitem5\" onclick=\"openItem('optionitem5','" + DEV_LINK + "');" + "return false;\">" - + "<h2><a href='next/index.html' title='Select from the most recent OpenOffice.org Developer Snapshots'>" - + "Get OpenOffice.org Developer Snapshots</a></h2>" ); - document.write( "<p><a href='next/index.html' title='Select from the most recent OpenOffice.org Developer " - + "Snapshots'><b>" ); - if ( DEV1_VERSION != "" ) { - document.write( "Most recent: " + DEV1_VERSION + " (" + DEV1_BUILD + ") and " + DEV2_VERSION + " (" + DEV2_BUILD - + ")" ); - } else { - document.write( "Most recent: " + DEV2_VERSION + " (" + DEV2_BUILD + ")" ); - } - document.write( "</b></a></p>" - + "</div>" ); - document.write( "<div class=\"sub-orange\">" - + "<p><a href='next/other.html' title='Get all platforms, languages, SDK builds, source tarballs to download'>" - + "Get all platforms, languages, SDK builds, source tarballs</a> | " - + "<a href='http://www.openoffice.org/development/releases/dev_index.html'" - + "title='What is new, what has been improved in OpenOffice.org?'>Notas del lanzamiento</a> | " - + "<a href='next/md5sums/index.html' title='MD5 checksums for OpenOffice.org'>MD5 checksums</a></p>" + + "<h2><a href='" + DEV_LINK + "' title='Seleccione de las más recientes versiones de desarrollo de Apache OpenOffice'>" + + "Obtenga versiones de desarrollo de Apache OpenOffice</a></h2>" ); + document.write( "<p><a href='" + DEV_LINK + "'" + + "title='Seleccione de las más recientes versiones de desarrollo de Apache OpenOffice'></a>" ); + document.write( "<a href='" + DEV_LINK + "' title='Seleccione de las más recientes versiones de desarrollo de Apache OpenOffice'>" + + "Las versiones de desarrollo (Developer Snapshots) representan el estado más reciente del desarrollo. " + + "Ayúdenos por favor a mejorar la calidad del producto. Descargue y pruebe las últimas versiones de desarrollo.<br />" + + "<b>Estas versiones se encuentran en continuo desarrollo y no están completamente testeadas. No es recomendable emplearlas en entornos de producción.</b></a></p>" + "</div>" ); - //--> */ + //--> </script> <!-- Red: Developer Snapshots: No JavaScript enabled --> <!-- <noscript> - <div class="button orange" id="optionitem5" onclick="openItem('optionitem5','next/index.html'); return false;"> - <h2><a href="next/other.html" title="Select from the most recent OpenOffice.org Developer Snapshots"> - Get OpenOffice.org Developer Snapshots</a></h2> - <p><a href="next/other.html" title="Select from the most recent OpenOffice.org Developer Snapshots"> - JavaScript needs to be enabled to take full advantage of this download section. Currently it does not seem to be enabled. - Please click on this text to use the alternative webpage to select the favorite platform and language.</a></p> - </div> - <div class="sub-orange"> - <p><a href="next/other.html" title="Todas las plataformas, fuentes, idiomas, paquetes de idiomas, SDK builds, source tarballs to - download"> - Todas las plataformas, fuentes, idiomas, paquetes de idiomas, SDK builds, source tarballs</a> | - <a href="http://www.openoffice.org/development/releases/dev_index.html"; title="What is new, what has been improved in - OpenOffice.org?"> - Notas del lanzamiento</a> | <a href="next/md5sums/index.html" title="MD5 checksums for OpenOffice.org">MD5 checksums</a></p> + <div class="button orange" id="optionitem5" onclick="openItem('optionitem5','https://cwiki.apache.org/confluence/display/OOOUSERS/Development+Snapshot+Builds'); return false;"> + <h2><a href="https://cwiki.apache.org/confluence/display/OOOUSERS/Development+Snapshot+Builds"; + title="Seleccione de las más recientes versiones de desarrollo de Apache OpenOffice"> + Obtenga versiones de desarrollo de Apache OpenOffice</a></h2> + <p><a href="https://cwiki.apache.org/confluence/display/OOOUSERS/Development+Snapshot+Builds"; + title="Seleccione de las más recientes versiones de desarrollo de Apache OpenOffice">Las versiones de desarrollo (Developer Snapshots) representan + el estado más reciente del desarrollo. Ayúdenos por favor a mejorar la calidad del producto. + Descargue y pruebe las últimas versiones de desarrollo.<br /> + <b>Estas versiones se encuentran en continuo desarrollo y no están completamente testeadas. No es recomendable emplearlas en entornos de producción.</b></a></p> </div> </noscript> //-->