Author: buildbot
Date: Wed Jun 25 00:35:53 2014
New Revision: 913580

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/pt/download/index.html

Propchange: websites/staging/ooo-site/trunk/cgi-bin/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Wed Jun 25 00:35:53 2014
@@ -1 +1 @@
-1605226
+1605227

Propchange: websites/staging/ooo-site/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Wed Jun 25 00:35:53 2014
@@ -1 +1 @@
-1605226
+1605227

Modified: websites/staging/ooo-site/trunk/content/pt/download/index.html
==============================================================================
--- websites/staging/ooo-site/trunk/content/pt/download/index.html (original)
+++ websites/staging/ooo-site/trunk/content/pt/download/index.html Wed Jun 25 
00:35:53 2014
@@ -13,10 +13,11 @@
   <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/download.js"></script>
-  <script type="text/javascript" src="/scripts/entourage.js"></script>
+  <script type="text/javascript" src="/download/boxed_download.js"></script>
+  <script type="text/javascript" src="msg_prop_l10n_pt.js"></script>
   <style type="text/css">
   /* <![CDATA[ */
   /*-------------------- Exceptions on standard css -----------------------*/
@@ -62,101 +63,56 @@
 <div class="optionset">
 
   <!-- Green: Stable release -->
-  <script type="text/javascript">
-  <!--
-  // Set a specific language ISO code to force to assemble a certain localized 
build as download URL
-  var NL_LANGUAGE = "pt";
-  // Get the download URL
-  var LINK        = getLink();
-
-  if ( hasMirrorLink() ) {
-    if ( LINK.toLowerCase().indexOf( "sourceforge" ) != -1 ) {
-      // 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 + "'>Download Apache 
OpenOffice " + VERSION + "</a></h2>"
-      + "<p><a href='" + LINK + "' title='Version " + VERSION + " - Milestone 
" + MILESTONE + " - Build ID " + BUILD
-      + " - SVN " + SVN_REV + "'>Click here for the most recent version 
for:<br />"
-      + "<b>" + UI_PLATFORM + "</b> and <b>" + LANG_ARRAY[ 2 ] + "</b> (~" + 
FILESIZE + " MByte)</a></p>" );
-    } else {
-      // OS and/or package manager was not recognized, therefore use 
"other.html" as download link.
-      document.write( "<div class=\"first button green\" id=\"optionitem1\" 
onclick=\"openItem('optionitem1','"
-      + LINK + "');" + "return false;\">" );
-      document.write( "<h2><a href='" + LINK + "' title='" + LINK + "'>"
-      + "Download Apache OpenOffice</a></h2>"
-      + "<p><a href='" + LINK + "' title='" + LINK + "'>Apache OpenOffice " + 
VERSION + " for "
-      + "<b>" + UI_PLATFORM + "</b> is not available. Please choose another 
platform build from the alternative download "
-      + "webpage.</a></p>" );
-    }
-  } else {
-    // Download from an alternative webpage if hasMirrorLink() == false.
-    document.write( "<div class=\"first button green\" id=\"optionitem1\" 
onclick=\"openItem('optionitem1','"
-    + LANG_ARRAY[ 4 ] + "');" + "return false;\">" );
-    document.write( "<h2><a href='" + LANG_ARRAY[ 4 ] + "' title='" + 
LANG_ARRAY[ 4 ] + "'>"
-    + "Download Apache OpenOffice</a></h2>"
-    + "<p><a href='" + LANG_ARRAY[ 4 ] + "' title='" + LANG_ARRAY[ 4 ] + 
"'>Apache OpenOffice " + VERSION + " for "
-    + "<b>" + LANG_ARRAY[ 2 ] + " (" + LANG_ARRAY[ 1 ] + ")</b> is not 
available. Please choose another build from the "
-    + "alternative " + LANG_ARRAY[ 1 ] + " download webpage.</a></p>" );
-  }
-  document.write( "</div>" );
-
-  // Show some helpful links for SDK, source, checksums, release notes, legacy 
version.
-  document.write( "<div class=\"sub-green\">" );
-  document.write( "<p>" );
-  if ( CHECKSUM_ASC ) {
-    document.write( "Signatures and hashes: "
-    + "<a href='" + CHECKSUM_KEYS   + "' + title='KEYS signature'>KEYS</a> , "
-    + "<a href='" + CHECKSUM_ASC    + "' + title='ASC signature'>ASC</a> , "
-    + "<a href='" + CHECKSUM_MD5    + "' + title='MD5 hash'>MD5</a> , "
-    + "<a href='" + CHECKSUM_SHA256 + "' + title='SHA256 hash'>SHA256</a> , "
-    + "<a href='/download/checksums.html' title='How to verify the download 
with checksums?'>How to verify?</a> | " );
-  }
-  document.write( "<a 
href='https://cwiki.apache.org/confluence/display/OOOUSERS/AOO+4.0+Release+Notes'"
-  + "title='What is new, what has been improved in Apache OpenOffice " + 
VERSION + "?'>Release Notes</a> | <br />"
-  + "<a href='/download/other.html' title='Get all platforms, languages, 
language packs to download'>"
-  + "<b>Get all platforms, languages, language packs</b></a> | "
-  + "<a href='/download/other.html#source' title='Get the source code and SDK 
to download'>"
-  + "Source code and SDK</a> | <br />"
-  + "<a href='/porting/index.html'"
-  + "title='Get Apache OpenOffice software packaged as portable USB versions 
and third-party ports'>"
-  + "<b>Portable USB versions</b> and third-party ports</a> | "
-  + "Old and legacy version: <a href='/download/other-341.html' title='Get the 
old version of Apache OpenOffice "
-  + OLDVERSION + "'><b>" + OLDVERSION + "</b></a> + "
-  + "<a href='/download/legacy/index.html' title='Get the legacy version of 
OpenOffice.org "
-  + LEGACYVERSION + "'><b>" + LEGACYVERSION + "</b></a>" );
-  document.write( "</div>" );
+  <!-- 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">
+    <!--
 
-  entourage.initialize();
-  //-->
-  </script>
+    // 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();
+
+    // Fill the select boxes and wait for the user's choice.
+    init( 1 );
+
+    entourage.initialize();
+
+    //-->
+    </script>
 
   <!-- Green: Stable release: No JavaScript enabled -->
   <noscript>
-  <div class="first button green" id="optionitem1">
+  <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;">O JavaScript tem de estar ativado para 
transferir o Apache OpenOffice.</a></p>
+        <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/other-341.html" title="Obtenha uma versão anterior do 
Apache OpenOffice">Apache OpenOffice anterior</a> |
-    <a href="/download/legacy/index.html" title="Obtenha a versão antiga do 
OpenOffice.org">OpenOffice.org antigo</a></p>
+    <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>
 
-<!-- Temporary workaround pointing at the global download page. -->
-<div id="optionitem2a" class="first button green-sel">
-  <h2><a href="http://www.openoffice.org/download/";>Transferir o Apache 
OpenOffice</a></h2>
-  <p><a href="http://www.openoffice.org/download/";>Get all platforms, 
languages, language packs</a></p>
-</div>
 
   <!-- Light Blue: Share download with social networks -->
-  <div class="button lightblue" id="optionitem2">
+  <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">
     Ajude a passar a palavra</a></h2>
     <p style="cursor: default;" id="ShareDownloadLinks">
@@ -175,7 +131,7 @@
   </div>
 
   <!-- Blue: Extensions -->
-  <div class="button blue" id="optionitem3" 
onclick="openItem('optionitem3','http://extensions.openoffice.org');
+  <div class="button blue" id="optionitem5" 
onclick="openItem('optionitem3','http://extensions.openoffice.org');
     return false;">
     <h2><a href="http://extensions.openoffice.org"; 
     title="Escolha entre uma grande variedade de funcionalidades individuais e 
adicionais">
@@ -186,7 +142,7 @@
   </div>
 
   <!-- Blue: Templates -->
-  <div class="button blue" id="optionitem3_1" 
onclick="openItem('optionitem3_1','http://templates.openoffice.org');
+  <div class="button blue" id="optionitem6" 
onclick="openItem('optionitem3_1','http://templates.openoffice.org');
     return false;">
     <h2><a href="http://templates.openoffice.org";
     title="Escolha entre uma grande variedade de documentos individuais e 
adicionais">
@@ -195,165 +151,8 @@
     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>
   </div>
-
-  <!-- Yellow: Release Candidate online -->
-  <script type="text/javascript">
-  /*
-  <!--
-  if ( RC_ACTIVE == 1 ) {
-    document.write( "<div class=\"button yellow\" id=\"optionitem4\" 
onclick=\"openItem('optionitem4',"
-      + "'all_rc.html#untested-full');"
-      + "return false;\">"
-      + "<h2><a href='all_rc.html#untested-full' title='Select from other 
platforms and languages to download'>"
-      + "Get OpenOffice.org Release Candidates</a></h2>"
-      + "<p><a href='all_rc.html#untested-full' title='Select from other 
platforms and languages to download'>"
-      + "<b>Most recent: OOo " + RC_NAME + " " + RC_NUMBER + "</b></a></p>"
-    + "</div>" );
-    document.write( "<div class=\"sub-yellow\">"
-      + "<p><a href='all_rc.html' title='Get all platforms, languages, 
language packs to download'>"
-      + "Get all platforms, languages, language packs</a> | "
-      + "<a href='http://www.openoffice.org/development/releases/"; + RC_BUILD 
+ ".html'"
-      + "title='What is new, what has been improved in OpenOffice.org " + 
RC_NAME + RC_NUMBER + "?'>Release Notes</a> | "
-      + "<a href='next/md5sums/" + RC_BUILD + "_md5sums.txt' title='MD5 
checksums for OpenOffice.org " + RC_NAME + RC_NUMBER
-      + "'>MD5 checksums</a></p>"
-    + "</div>" );
-  } else if ( RC_ACTIVE == 0 ) {
-  // Yellow: Release Candidate coming soon
-    document.write( "<div class=\"button yellow\" id=\"optionitem4\">"
-      + "<h2><a>Get OpenOffice.org Release Candidate <small>(" + RC_NAME + 
RC_NUMBER + " coming soon)</small></a></h2>"
-      + "<p><a>A wide range of platforms and languages will be available."
-      + "<br /><b>Important:</b> These builds are nearly ready but needs to be 
finally tested and are therefore not "
-      + "released.</a></p>"
-    + "</div>" );
-  }
-  //-->
-  */
-  </script>
-
-  <!-- Yellow: Release Candidate: No JavaScript enabled -->
-  <!--
-  <noscript>
-  <div class="button yellow" id="optionitem4" 
onclick="openItem('optionitem4','all_rc.html#untested-full'); return false;">
-    <h2><a href="all_rc.html" title="Select from all platforms, languages, 
language packs to download">
-    Get OpenOffice.org Release Candidate</a></h2>
-    <p><a href="all_rc.html" title="Select from other platforms, languages, 
language packs to download">
-    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-yellow">
-    <p><a href="all_rc.html" title="Get all platforms, languages, language 
packs to download">
-    Get all platforms, languages, language packs</a> |
-    <a href="http://www.openoffice.org/development/releases/dev_index.html";
-    title="What is new, what has been improved in OpenOffice.org?">Release 
Notes</a> |
-    <a href="next/md5sums/index.html" title="MD5 checksums for 
OpenOffice.org">MD5 checksums</a></p>
-  </div>
-  </noscript>
-  //-->
-
-  <!-- Yellow: Beta Release online -->
-  <script type="text/javascript">
-  /*
-  <!--
-  if ( BETA_ACTIVE == 1 ) {
-    document.write( "<div class=\"button yellow\" id=\"optionitem2\" 
onclick=\"openItem('optionitem2','all_beta.html');"
-      + "return false;\">"
-      + "<h2><a href='all_beta.html' title='Seleccionar de todas as 
plataformas, idiomas e pacotes de idiomas para descarregar'\">"
-      + "Obter o OpenOffice versão Beta</a></h2>"
-      + "<p><a href='all_beta.html' title='Seleccionar de todas as 
plataformas, idiomas e pacotes de idiomas para descarregar'\">"
-      + "<b>Mais recente: OOo-Dev " + BETA_NAME + " " + BETA_NUMBER + 
"</b></a></p>"
-    + "</div>" );
-    document.write( "<div class=\"sub-yellow\">"
-      + "<p><a href='all_beta.html' title='Obter todas as plataformas, idiomas 
e pacotes de idiomas para descarregar'>"
-      + "Obter todas as plataformas, idiomas e pacotes de idiomas</a> | "
-      + "<a href='http://www.openoffice.org/development/releases/"; + 
BETA_BUILD + ".html'"
-      + "title='O que há de novo, o que foi melhorado no OpenOffice " + 
BETA_NAME + BETA_NUMBER + "?'>Notas de lançamento</a> | "
-      + "<a href='next/md5sums/index.html" + BETA_BUILD + "_md5sums.txt' 
title='Checksums MD5 para o OpenOffice "
-      + BETA_NAME + BETA_NUMBER + "'>Checksums MD5</a></p>"
-    + "</div>" );
-  } else if ( BETA_ACTIVE == 0 ) {
-  // Yellow: Beta Release coming soon
-    document.write( "<div class=\"button yellow\" id=\"optionitem2\">"
-      + "<h2><a>Obter o OpenOffice versão Beta <small>(" + BETA_NAME + 
BETA_NUMBER + " a chegar brevemente)</small></a></h2>"
-      + "<p><a>Uma grande variedade de plataformas e idiomas estará 
disponível."
-      + "<br /><b>Importante:</b> A versão Beta está completa mas pode 
conter problemas e há necessidade de conduzir testes detalhados."
-      + "</a></p>"
-    + "</div>" );
-  }
-  //-->
-  */
-  </script>
-
-  <!-- Yellow: Beta: No JavaScript enabled -->
-  <!--
-  <noscript>
-  <div class="button yellow" id="optionitem2" 
onclick="openItem('optionitem2','all_beta.html#untested-full'); return false;">
-    <h2><a href="all_beta.html" title="Seleccionar de todas as plataformas, 
idiomas e pacotes de idiomas para descarregar">
-    Obter o Apache OpenOffice versão Beta</a></h2>
-    <p><a href="all_beta.html" title="Seleccionar de todas as plataformas, 
idiomas e pacotes de idiomas para descarregar">
-    O JavaScript tem de estar activo para tirar partido desta secção. 
Actaualmente não parece estar activo.
-    Por favor clique neste texto para usar uma página alternativa para 
seleccionar a sua plataforma e idioma.</a></p>
-  </div>
-  <div class="sub-yellow">
-    <p><a href="all_beta.html" title="Obter todas as plataformas, idiomas e 
pacotes de idiomas para descarregar">
-    Obter todas as plataformas, idiomas e pacotes de idiomas</a> |
-    <a href="http://www.openoffice.org/development/releases/dev_index.html";
-    title="O que há de novo, o que foi melhorado no OpenOffice?">Notas de 
lançamento</a> |
-    <a href="next/md5sums/index.html" title="Checksums MD5 para o 
OpenOffice">Checksums MD5</a></p>
-  </div>
-  </noscript>
-  //-->
-
-  <!-- Red: Developer Snapshots online -->
-  <script type="text/javascript">
-  /*
-  <!--
-  document.write( "<div class=\"button orange\" id=\"optionitem5\" 
onclick=\"openItem('optionitem5','next/index.html');"
-    + "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?'>Release 
Notes</a> | "
-    + "<a href='next/md5sums/index.html' title='MD5 checksums for 
OpenOffice.org'>MD5 checksums</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="Get all platforms, languages, language 
packs, SDK builds, source tarballs to
-    download">
-    Get all platforms, languages, language packs, 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?">
-    Release Notes</a> | <a href="next/md5sums/index.html" title="MD5 checksums 
for OpenOffice.org">MD5 checksums</a></p>
-  </div>
-  </noscript>
-  //-->
+  
 </div>
-
 <div class="additionalinformation">
 
   <h2>Informação adicional</h2>


Reply via email to