Author: marcus
Date: Sun Jul 6 16:30:39 2014
New Revision: 1608239
URL: http://svn.apache.org/r1608239
Log:
Updated JS functions, added div's with icons, updated text
Modified:
openoffice/ooo-site/trunk/content/pt/download/index.html
Modified: openoffice/ooo-site/trunk/content/pt/download/index.html
URL:
http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/pt/download/index.html?rev=1608239&r1=1608238&r2=1608239&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/pt/download/index.html (original)
+++ openoffice/ooo-site/trunk/content/pt/download/index.html Sun Jul 6
16:30:39 2014
@@ -10,34 +10,36 @@
<meta property="og:image"
content="http://www.openoffice.org/images/aoo-logo-100x100.png" />
<meta name="description" content="Página oficial de transferência do
Apache OpenOffice. Junte-se à revolução OpenOffice, o programa de
produtividade grátis com mais de 70 milhões de transferências." />
<title>Transferência do Apache OpenOffice Transferências - página
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_pt.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)
- location.href = "/pt/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+100+million+trusted+downloads.','_blank','toolbar=0,status=0,width=580,height=325');
+ if ( window.document.referrer.indexOf( "shell.windows.com" ) != -1 ) {
+ location.href = "../../why/why_odf.html";
}
- 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>
@@ -46,94 +48,117 @@
<div class="optionset">
- <!-- Green: Stable release -->
<!-- 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).
- // This is to please accessibility tools like a screen reader.
- document.write( "<h1 style='display: none;'>" +
l10n_download_headline_text + "</h1>" );
- //-->
- </script>
-
- <!-- Green: Stable release -->
- <!-- Download via select boxes -->
- <script type="text/javascript">
- <!--
+ <script type="text/javascript">
+ <!--
+ // The text in the H1 tag is intentionally shown as "display: none" (do not
display).
+ // This is to please accessibility tools like a screen reader.
+ document.write( "<h1 style='display: none;'>" + l10n_download_headline_text
+ "</h1>" );
+ //-->
+ </script>
+
+ <!-- Green: Stable release -->
+ <!-- Download via select boxes -->
+ <script type="text/javascript">
+ <!--
- // Set a specific language ISO code to force to assemble a certain
localized build as download link.
- // Changed: The variable can now be found in the
"msg_prop_l10n_<ISO_code>.js".
+ // Set a specific language ISO code to force to assemble a certain localized
build as download link.
+ // Changed: The variable can now be found in the
"msg_prop_l10n_<ISO_code>.js".
- // Get the download box from a separate file.
- createDownloadBox();
+ // Get the download box from a separate file.
+ createDownloadBox();
- // Fill the select boxes and wait for the user's choice.
- init( 1 );
+ // Fill the select boxes and wait for the user's choice.
+ init( 1 );
- entourage.initialize();
+ entourage.initialize();
- //-->
- </script>
+ //-->
+ </script>
<!-- Green: Stable release: No JavaScript enabled -->
<noscript>
<div class="first button green" id="optionitem2">
- <h2><a style="cursor: default;">Transferir o Apache OpenOffice</a></h2>
- <p style="cursor: default;">
- <a style="cursor: default;">Você não parece ter Javasript
habilitado. Por favor, clique <a
href="http://www.apache.org/dyn/aoo-closer.cgi/openoffice/">aqui</a> para fazer
o download do Apache OpenOffice verson favorito.</a></p>
- </div>
-
- <div class="sub-green">
- <p><a href="/porting/index.html"
- title="Obtenha o Apache OpenOffice numa versão portátil USB ou de outro
tipo de porta">
- <b>Versões USB portáteis</b> e de outro tipo de portas</a> |
- <a href="/development/releases/index.html"
- title="O que há de novo, o que foi melhorado no Apache OpenOffice?">Notas
de lançamento</a> | <br />
- <a href="/download/archive.html" title="Obtenha uma versão anterior do
Apache OpenOffice">Apache OpenOffice anterior</a> |
- <a href="/download/archive.html" title="Obtenha a versão antiga do
OpenOffice.org">OpenOffice.org antigo</a></p>
- </div>
+ <div class="green-sel-icon"></div>
+ <h2>
+ <a style="cursor: default;">Transferir o Apache OpenOffice</a>
+ </h2>
+ <p style="cursor: default;">
+ <a style="cursor: default;">Você não parece ter Javasript
habilitado. Por favor, clique
+ <a
href="http://www.apache.org/dyn/aoo-closer.cgi/openoffice/">aqui</a>
+ para fazer o download do Apache OpenOffice verson favorito.
+ </a>
+ </p>
+ </div>
+
+ <div class="sub-green">
+ <p>
+ <a href="/porting/index.html"
+ title="Obtenha o Apache OpenOffice numa versão portátil USB ou de
outro tipo de porta">
+ <b>Versões USB portáteis</b> e de outro tipo de portas
+ </a> |
+ <a href="/development/releases/index.html"
+ title="O que há de novo, o que foi melhorado no Apache
OpenOffice?">Notas de lançamento
+ </a> |
+ <br />
+ <a href="/download/archive.html" title="Obtenha uma versão anterior
do Apache OpenOffice">
+ Apache OpenOffice anterior
+ </a> |
+ <a href="/download/archive.html" title="Obtenha a versão antiga do
OpenOffice.org">
+ OpenOffice.org antigo
+ </a>
+ </p>
+ </div>
</noscript>
-
<!-- Light Blue: Share download with social networks -->
<div class="button lightblue" id="optionitem4">
- <h2><a style="cursor: default;" title="Ajude a passar a palavra e fale aos
seus amigos a respeito do Apache OpenOffice">
+ <div class="lightblue-icon"></div>
+ <h2><a style="cursor: default;"
+ title="Ajude a passar a palavra e fale aos seus amigos a respeito do
Apache OpenOffice">
Ajude a passar a palavra</a></h2>
<p style="cursor: default;" id="ShareDownloadLinks">
<a style="cursor: default;" title="Ajude a passar a palavra e fale aos
seus amigos a respeito do Apache OpenOffice">
Por favor fale aos seus amigos a respeito do Apache OpenOffice.</a>
<a style="display: inline; padding: 0 5px 0 30px;"
href="javascript:shareFacebook()"
title="Por favor fale aos seus amigos do Apache OpenOffice através do
Facebook">
- <img src="/images/logo-facebook-32.png" alt="Por favor fale aos seus
amigos do Apache OpenOffice através do Facebook" /></a>
+ <img src="../../images/logo-facebook-32.png"
+ alt="Por favor fale aos seus amigos do Apache OpenOffice através do
Facebook" /></a>
<a style="display: inline; padding: 0 5px;"
href="javascript:shareTwitter()"
title="Por favor fale aos seus amigos do Apache OpenOffice através do
Twitter">
- <img src="/images/logo-twitter-32.png" alt="Por favor fale aos seus amigos
do Apache OpenOffice através do Twitter" /></a>
+ <img src="../../images/logo-twitter-32.png"
+ alt="Por favor fale aos seus amigos do Apache OpenOffice através do
Twitter" /></a>
<a style="display: inline; padding: 0 5px;"
href="javascript:shareGooglePlus()"
title="Por favor fale aos seus amigos do Apache OpenOffice através do
Google+">
- <img src="/images/logo-googleplus-32.png" alt="Por favor fale aos seus
amigos do Apache OpenOffice através do Google+" /></a>
+ <img src="../../images/logo-googleplus-32.png"
+ alt="Por favor fale aos seus amigos do Apache OpenOffice através do
Google+" /></a>
</p>
</div>
<!-- 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="Escolha entre uma grande variedade de funcionalidades individuais e
adicionais">
Obter extensões e dicionários para o Apache OpenOffice</a></h2>
<p><a href="http://extensions.openoffice.org"
title="Escolha entre uma grande variedade de funcionalidades individuais e
adicionais">
- Aumente a capacidade do seu Apache OpenOffice usando uma grande biblioteca
de extensões e dicionários de outros utilizadores.</a></p>
+ Aumente a capacidade do seu Apache OpenOffice usando uma grande biblioteca
de extensões e dicionários de outros
+ utilizadores.</a></p>
</div>
<!-- Blue: Templates -->
<div class="button blue" id="optionitem6"
onclick="openItem('optionitem3_1','http://templates.openoffice.org');
return false;">
+ <div class="blue-icon"></div>
<h2><a href="http://templates.openoffice.org"
title="Escolha entre uma grande variedade de documentos individuais e
adicionais">
Obter modelos para o Apache OpenOffice</a></h2>
<p><a href="http://templates.openoffice.org"
title="Escolha entre uma grande variedade de documentos individuais e
adicionais">
- Aumente a criatividade do seu Apache OpenOffice usando uma grande
biblioteca de modelos criados por outros utilizadores.</a></p>
+ Aumente a criatividade do seu Apache OpenOffice usando uma grande
biblioteca de modelos criados por outros
+ utilizadores.</a></p>
</div>
</div>
@@ -203,7 +228,8 @@
title="Para obter servidores alternativos para transferir">Servidores
alternativos</a><br /></li>
-->
<li><a href="http://www.apache.org/dyn/aoo-closer.cgi/openoffice/"
- title="Use os servidores alternativos do Apache para transferir o Apache
OpenOffice">Servidores alternativos</a><br /></li>
+ title="Use os servidores alternativos do Apache para transferir o Apache
OpenOffice">
+ Servidores alternativos</a><br /></li>
<li><a href="/download/archive.html"
title="Transferir versões antigas e arquivadas">Versões arquivadas e
antigas</a><br /></li>
</ul>
@@ -212,7 +238,7 @@
<p> </p>
<a href="http://validator.w3.org/check?uri=referer" target="_blank"
title="W3C Markup Validation Service - verifique a marcação (HTML,
XHTML, ...) de documentos Web">
- <img src="/images/valid-xhtml10-blue.png"
+ <img src="../../images/valid-xhtml10-blue.png"
alt="W3C Markup Validation Service - verifique a marcação (HTML, XHTML,
...) de documentos Web" /></a>
</div>
</div>