Bug 1566358 - Update releases page to include 64-bit Windows and Linux platforms- Switch releases index to use XML r=me
authorIan Neal <iann_cvs@blueyonder.co.uk>
Wed, 07 Aug 2019 18:34:31 +0100
changeset 1367 c562d3eaecd32bed4989d1161b532f8e16383d34
parent 1366 ac867cc736a5e57be3b1c5c1ef15d0797fdc2178
child 1368 69d5313b0ed2d0014e5807608240af50b2fc3e0e
push id141
push useriann_cvs@blueyonder.co.uk
push dateWed, 07 Aug 2019 17:36:29 +0000
reviewersme
bugs1566358
Bug 1566358 - Update releases page to include 64-bit Windows and Linux platforms- Switch releases index to use XML r=me
src/releases/index.en.html
--- a/src/releases/index.en.html
+++ b/src/releases/index.en.html
@@ -103,197 +103,23 @@
 
 <h3 id="official">Official builds</h3>
 <div class="section">
 <p class="note"><a href="[% INCLUDE download_file path='MD5SUMS' %]">MD5
   sums</a> and <a href="[% INCLUDE download_file path='SHA1SUMS' %]">SHA1
   sums</a> are available for official packages and source tarballs.
 </p>
 
-<table class="downloads" cellpadding="0" cellspacing="0"
-       summary="SeaMonkey builds available for download.">
-  <thead>
-    <tr>
-      <th colspan="2" class="top-left">Language</th>
-      <th>Version</th>
-      <th><span class="download-win">Windows</span></th>
-      <th><span class="download-mac">Mac OS X</span></th>
-      <th class="top-right"><span class="download-linux">Linux x86 32-bit only</span></th>
-    </tr>
-  </thead>
-  <tfoot>
-    <tr>
-      <td class="bottom-left"></td>
-      <td colspan="4"></td>
-      <td class="bottom-right"></td>
-    </tr>
-  </tfoot>
-  <tbody>
-    <tr id="zh-CN" class="odd">
-      <td>Chinese (Simplified)</td>
-      <td lang="zh-CN">中文 (简体)</td>
-      <td class="curVersion">[% smversion %]</td>
-      <td><a href="[% INCLUDE download_build platform='win' locale='zh-CN' %]" class="download-win">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='osx' locale='zh-CN' %]" class="download-mac">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux' locale='zh-CN' %]" class="download-linux">Download</a></td>
-    </tr>
-    <tr id="zh-TW" class="even">
-      <td>Chinese (Traditional)</td>
-      <td lang="zh-TW">正體中文 (繁體)</td>
-      <td class="curVersion">[% smversion %]</td>
-      <td><a href="[% INCLUDE download_build platform='win' locale='zh-TW' %]" class="download-win">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='osx' locale='zh-TW' %]" class="download-mac">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux' locale='zh-TW' %]" class="download-linux">Download</a></td>
-    </tr>
-    <tr id="cs" class="odd">
-      <td>Czech</td>
-      <td lang="cs">Čeština</td>
-      <td class="curVersion">[% smversion %]</td>
-      <td><a href="[% INCLUDE download_build platform='win' locale='cs' %]" class="download-win">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='osx' locale='cs' %]" class="download-mac">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux' locale='cs' %]" class="download-linux">Download</a></td>
-    </tr>
-    <tr id="nl" class="even">
-      <td>Dutch</td>
-      <td lang="nl">Nederlands</td>
-      <td class="curVersion">[% smversion %]</td>
-      <td><a href="[% INCLUDE download_build platform='win' locale='nl' %]" class="download-win">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='osx' locale='nl' %]" class="download-mac">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux' locale='nl' %]" class="download-linux">Download</a></td>
-    </tr>
-    <tr id="en-US" class="odd">
-      <td>English (US)</td>
-      <td lang="en-US">English (US)</td>
-      <td class="curVersion">[% smversion %]</td>
-      <td><a href="[% INCLUDE download_build platform='win' locale='en-US' %]" class="download-win">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='osx' locale='en-US' %]" class="download-mac">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux' locale='en-US' %]" class="download-linux">Download</a></td>
-    </tr>
-    <tr id="en-GB" class="even">
-      <td>English (British)</td>
-      <td lang="en-GB">English (British)</td>
-      <td class="curVersion">[% smversion %]</td>
-      <td><a href="[% INCLUDE download_build platform='win' locale='en-GB' %]" class="download-win">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='osx' locale='en-GB' %]" class="download-mac">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux' locale='en-GB' %]" class="download-linux">Download</a></td>
-    </tr>
-    <tr id="fr" class="odd">
-      <td>French</td>
-      <td lang="fr">Français</td>
-      <td class="curVersion">[% smversion %]</td>
-      <td><a href="[% INCLUDE download_build platform='win' locale='fr' %]" class="download-win">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='osx' locale='fr' %]" class="download-mac">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux' locale='fr' %]" class="download-linux">Download</a></td>
-    </tr>
-    <tr id="de" class="even">
-      <td>German</td>
-      <td lang="de">Deutsch</td>
-      <td class="curVersion">[% smversion %]</td>
-      <td><a href="[% INCLUDE download_build platform='win' locale='de' %]" class="download-win">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='osx' locale='de' %]" class="download-mac">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux' locale='de' %]" class="download-linux">Download</a></td>
-    </tr>
-    <tr id="hu" class="odd">
-     <td>Hungarian</td>
-     <td lang="hu">Magyar</td>
-      <td class="curVersion">[% smversion %]</td>
-      <td><a href="[% INCLUDE download_build platform='win' locale='hu' %]" class="download-win">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='osx' locale='hu' %]" class="download-mac">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux' locale='hu' %]" class="download-linux">Download</a></td>
-    </tr>
-    <tr id="it" class="even">
-      <td>Italian</td>
-      <td lang="it">Italiano</td>
-      <td class="curVersion">[% smversion %]</td>
-      <td><a href="[% INCLUDE download_build platform='win' locale='it' %]" class="download-win">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='osx' locale='it' %]" class="download-mac">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux' locale='it' %]" class="download-linux">Download</a></td>
-    </tr>
-    <tr id="ja" class="odd">
-      <td>Japanese</td>
-      <td lang="ja">日本語</td>
-      <td class="curVersion">[% smversion %]</td>
-      <td><a href="[% INCLUDE download_build platform='win' locale='ja' %]" class="download-win">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='osx' locale='ja-JP-mac' %]" class="download-mac">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux' locale='ja' %]" class="download-linux">Download</a></td>
-    </tr>
-    <tr id="lt" class="even">
-      <td>Lithuanian</td>
-      <td lang="lt">lietuvių kalba</td>
-      <td class="curVersion">[% smversion %]</td>
-      <td><a href="[% INCLUDE download_build platform='win' locale='lt' %]" class="download-win">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='osx' locale='lt' %]" class="download-mac">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux' locale='lt' %]" class="download-linux">Download</a></td>
-    </tr>
-    <tr id="nb-NO" class="odd">
-      <td>Norwegian (Bokmål)</td>
-      <td lang="nb-NO">Norsk bokmål</td>
-      <td class="curVersion">[% smversion %]</td>
-      <td><a href="[% INCLUDE download_build platform='win' locale='nb-NO' %]" class="download-win">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='osx' locale='nb-NO' %]" class="download-mac">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux' locale='nb-NO' %]" class="download-linux">Download</a></td>
-    </tr>
-    <tr id="pl" class="even">
-      <td>Polish</td>
-      <td lang="pl">Polski</td>
-      <td class="curVersion">[% smversion %]</td>
-      <td><a href="[% INCLUDE download_build platform='win' locale='pl' %]" class="download-win">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='osx' locale='pl' %]" class="download-mac">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux' locale='pl' %]" class="download-linux">Download</a></td>
-    </tr>
-    <tr id="pt-PT" class="odd">
-      <td>Portuguese (Portugal)</td>
-      <td lang="pt-PT">Português (Europeu)</td>
-      <td class="curVersion">[% smversion %]</td>
-      <td><a href="[% INCLUDE download_build platform='win' locale='pt-PT' %]" class="download-win">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='osx' locale='pt-PT' %]" class="download-mac">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux' locale='pt-PT' %]" class="download-linux">Download</a></td>
-    </tr>
-    <tr id="ru" class="even">
-      <td>Russian</td>
-      <td lang="ru">Русский</td>
-      <td class="curVersion">[% smversion %]</td>
-      <td><a href="[% INCLUDE download_build platform='win' locale='ru' %]" class="download-win">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='osx' locale='ru' %]" class="download-mac">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux' locale='ru' %]" class="download-linux">Download</a></td>
-    </tr>
-    <tr id="sk" class="odd">
-      <td>Slovak</td>
-      <td lang="sk">slovenčina</td>
-      <td class="curVersion">[% smversion %]</td>
-      <td><a href="[% INCLUDE download_build platform='win' locale='sk' %]" class="download-win">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='osx' locale='sk' %]" class="download-mac">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux' locale='sk' %]" class="download-linux">Download</a></td>
-    </tr>
-    <tr id="es-AR" class="even">
-      <td>Spanish (Argentina)</td>
-      <td lang="es-AR">Español (de Argentina)</td>
-      <td class="curVersion">[% smversion %]</td>
-      <td><a href="[% INCLUDE download_build platform='win' locale='es-AR' %]" class="download-win">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='osx' locale='es-AR' %]" class="download-mac">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux' locale='es-AR' %]" class="download-linux">Download</a></td>
-    </tr>
-    <tr id="es-ES" class="odd">
-      <td>Spanish (Spain)</td>
-      <td lang="es-ES">Español (de España)</td>
-      <td class="curVersion">[% smversion %]</td>
-      <td><a href="[% INCLUDE download_build platform='win' locale='es-ES' %]" class="download-win">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='osx' locale='es-ES' %]" class="download-mac">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux' locale='es-ES' %]" class="download-linux">Download</a></td>
-    </tr>
-    <tr id="sv-SE" class="even">
-      <td>Swedish</td>
-      <td lang="sv-SE">Svenska</td>
-      <td class="curVersion">[% smversion %]</td>
-      <td><a href="[% INCLUDE download_build platform='win' locale='sv-SE' %]" class="download-win">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='osx' locale='sv-SE' %]" class="download-mac">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux' locale='sv-SE' %]" class="download-linux">Download</a></td>
-    </tr>
-  </tbody>
-</table>
+[% USE languages = XML::Simple(
+       'downloads_table_2491.en.xml'
+       ForceArray = ['language']
+       KeyAttr = ['' ]
+   )
+%]
+[% INCLUDE downloads_table %]
 </div>
 
 <h3 id="source">Source code</h3>
 <div class="section">
   <p>The source code is available either as a tar package or from the
     <a href="http://developer.mozilla.org/en/Comm-central_source_code_(Mercurial)">source
     repository</a>.
   </p>