Browse Source

Bug 1566358 - Update releases page to include 64-bit Windows and Linux platforms - use xml sources for downloads table and fieldset r=me

Ian Neal 5 years ago
parent
commit
1af795dbb6
5 changed files with 366 additions and 518 deletions
  1. 31 0
      lib/downloads_fieldset.en.xml
  2. 209 0
      lib/downloads_table.en.xml
  3. 96 0
      lib/release.tmpl
  4. 16 258
      src/index-new.en.html
  5. 14 260
      src/releases/index-new.en.html

+ 31 - 0
lib/downloads_fieldset.en.xml

@@ -0,0 +1,31 @@
+<dropdowns>
+  <dropdown id="download_platform" label="Which operating system are you using?" aria="download_info">
+    <option value="win64" label="Windows 64-bit" />
+    <option value="win" label="Windows 32-bit" />
+    <option value="osx" label="macOS" />
+    <option value="linux64" label="Linux 64-bit" />
+    <option value="linux" label="Linux 32-bit" />
+  </dropdown>
+  <dropdown id="download_language" label="Would you like to select a different language?" aria="download_info">
+    <option value="zh-CN" label="Chinese (Simplified) — 中文 (简体)" />
+    <option value="zh-TW" label="Chinese (Traditional) — 正體中文 (繁體)" />
+    <option value="cs" label="Czech — Čeština" />
+    <option value="nl" label="Dutch — Nederlands" />
+    <option value="en-GB" label="English (British)" />
+    <option value="en-US" label="English (US)" />
+    <option value="fr" label="French — Français" />
+    <option value="de" label="German — Deutsch" />
+    <option value="hu" label="Hungarian — magyar" />
+    <option value="it" label="Italian — Italiano" />
+    <option value="ja" label="Japanese — 日本語" />
+    <option value="lt" label="Lithuanian — Lietuvių" />
+    <option value="nb-NO" label="Norwegian (Bokmål) — Norsk bokmål" />
+    <option value="pl" label="Polish — Polski" />
+    <option value="pt-PT" label="Portuguese (Portugal) — Português (Europeu)" />
+    <option value="ru" label="Russian — Русский" />
+    <option value="sk" label="Slovak — slovenčina" />
+    <option value="es-AR" label="Spanish (Argentina) — Español (de Argentina)" />
+    <option value="es-ES" label="Spanish (Spain) — Español (de España)" />
+    <option value="sv-SE" label="Swedish — Svenska" />
+  </dropdown>
+</dropdowns>

+ 209 - 0
lib/downloads_table.en.xml

@@ -0,0 +1,209 @@
+<downloads summary="SeaMonkey builds available for download.">
+  <header name="Language" colspan="2" class="top-left"/>
+  <header name="Version" />
+  <header name="Windows" second="64-bit" spanclass="download-win" />
+  <header name="Windows" second="32-bit" spanclass="download-win" />
+  <header name="macOS" spanclass="download-mac" />
+  <header name="Linux" second="64-bit" class="top-right" spanclass="download-linux" />
+  <header name="Linux" second="32-bit" class="top-right" spanclass="download-linux" />
+  <language id="zh-CN">
+    <cell name="Chinese (Simplified)" />
+    <cell lang="zh-CN" native="中文 (简体)" />
+    <cell version="" />
+    <cell locale="zh-CN" class="download-win" platform="win64" content="Download" />
+    <cell locale="zh-CN" class="download-win" platform="win" content="Download" />
+    <cell locale="zh-CN" class="download-mac" platform="osx" content="Download" />
+    <cell locale="zh-CN" class="download-linux" platform="linux64" content="Download" />
+    <cell locale="zh-CN" class="download-linux" platform="linux" content="Download" />
+  </language>
+  <language id="zh-TW">
+    <cell name="Chinese (Traditional)" />
+    <cell lang="zh-TW" native="正體中文 (繁體)" />
+    <cell version="" />
+    <cell locale="zh-TW" class="download-win" platform="win64" content="Download" />
+    <cell locale="zh-TW" class="download-win" platform="win" content="Download" />
+    <cell locale="zh-TW" class="download-mac" platform="osx" content="Download" />
+    <cell locale="zh-TW" class="download-linux" platform="linux64" content="Download" />
+    <cell locale="zh-TW" class="download-linux" platform="linux" content="Download" />
+  </language>
+  <language id="cs">
+    <cell name="Czech" />
+    <cell lang="cs" native="Čeština" />
+    <cell version="" />
+    <cell locale="cs" class="download-win" platform="win64" content="Download" />
+    <cell locale="cs" class="download-win" platform="win" content="Download" />
+    <cell locale="cs" class="download-mac" platform="osx" content="Download" />
+    <cell locale="cs" class="download-linux" platform="linux64" content="Download" />
+    <cell locale="cs" class="download-linux" platform="linux" content="Download" />
+  </language>
+  <language id="nl">
+    <cell name="Dutch" />
+    <cell lang="nl" native="Nederlands" />
+    <cell version="" />
+    <cell locale="nl" class="download-win" platform="win64" content="Download" />
+    <cell locale="nl" class="download-win" platform="win" content="Download" />
+    <cell locale="nl" class="download-mac" platform="osx" content="Download" />
+    <cell locale="nl" class="download-linux" platform="linux64" content="Download" />
+    <cell locale="nl" class="download-linux" platform="linux" content="Download" />
+  </language>
+  <language id="en-US">
+    <cell name="English (US)" />
+    <cell lang="en-US" native="English (US)" />
+    <cell version="" />
+    <cell locale="en-US" class="download-win" platform="win64" content="Download" />
+    <cell locale="en-US" class="download-win" platform="win" content="Download" />
+    <cell locale="en-US" class="download-mac" platform="osx" content="Download" />
+    <cell locale="en-US" class="download-linux" platform="linux64" content="Download" />
+    <cell locale="en-US" class="download-linux" platform="linux" content="Download" />
+  </language>
+  <language id="en-GB">
+    <cell name="English (British)" />
+    <cell lang="en-GB" native="English (British)" />
+    <cell version="" />
+    <cell locale="en-GB" class="download-win" platform="win64" content="Download" />
+    <cell locale="en-GB" class="download-win" platform="win" content="Download" />
+    <cell locale="en-GB" class="download-mac" platform="osx" content="Download" />
+    <cell locale="en-GB" class="download-linux" platform="linux64" content="Download" />
+    <cell locale="en-GB" class="download-linux" platform="linux" content="Download" />
+  </language>
+  <language id="fr">
+    <cell name="French" />
+    <cell lang="fr" native="Français" />
+    <cell version="" />
+    <cell locale="fr" class="download-win" platform="win64" content="Download" />
+    <cell locale="fr" class="download-win" platform="win" content="Download" />
+    <cell locale="fr" class="download-mac" platform="osx" content="Download" />
+    <cell locale="fr" class="download-linux" platform="linux64" content="Download" />
+    <cell locale="fr" class="download-linux" platform="linux" content="Download" />
+  </language>
+  <language id="de">
+    <cell name="German" />
+    <cell lang="de" native="Deutsch" />
+    <cell version="" />
+    <cell locale="de" class="download-win" platform="win64" content="Download" />
+    <cell locale="de" class="download-win" platform="win" content="Download" />
+    <cell locale="de" class="download-mac" platform="osx" content="Download" />
+    <cell locale="de" class="download-linux" platform="linux64" content="Download" />
+    <cell locale="de" class="download-linux" platform="linux" content="Download" />
+  </language>
+  <language id="hu">
+    <cell name="Hungarian" />
+    <cell lang="hu" native="Magyar" />
+    <cell version="" />
+    <cell locale="hu" class="download-win" platform="win64" content="Download" />
+    <cell locale="hu" class="download-win" platform="win" content="Download" />
+    <cell locale="hu" class="download-mac" platform="osx" content="Download" />
+    <cell locale="hu" class="download-linux" platform="linux64" content="Download" />
+    <cell locale="hu" class="download-linux" platform="linux" content="Download" />
+  </language>
+  <language id="it">
+    <cell name="Italian" />
+    <cell lang="it" native="Italiano" />
+    <cell version="" />
+    <cell locale="it" class="download-win" platform="win64" content="Download" />
+    <cell locale="it" class="download-win" platform="win" content="Download" />
+    <cell locale="it" class="download-mac" platform="osx" content="Download" />
+    <cell locale="it" class="download-linux" platform="linux64" content="Download" />
+    <cell locale="it" class="download-linux" platform="linux" content="Download" />
+  </language>
+  <language id="ja">
+    <cell name="Japanese" />
+    <cell lang="ja" native="日本語" />
+    <cell version="" />
+    <cell locale="ja" class="download-win" platform="win64" content="Download" />
+    <cell locale="ja" class="download-win" platform="win" content="Download" />
+    <cell locale="ja-JP-mac" class="download-mac" platform="osx" content="Download" />
+    <cell locale="ja" class="download-linux" platform="linux64" content="Download" />
+    <cell locale="ja" class="download-linux" platform="linux" content="Download" />
+  </language>
+  <language id="lt">
+    <cell name="Lithuanian" />
+    <cell lang="lt" native="lietuvių kalba" />
+    <cell version="" />
+    <cell locale="lt" class="download-win" platform="win64" content="Download" />
+    <cell locale="lt" class="download-win" platform="win" content="Download" />
+    <cell locale="lt" class="download-mac" platform="osx" content="Download" />
+    <cell locale="lt" class="download-linux" platform="linux64" content="Download" />
+    <cell locale="lt" class="download-linux" platform="linux" content="Download" />
+  </language>
+  <language id="nb-NO">
+    <cell name="Norwegian (Bokmål)" />
+    <cell lang="nb-NO" native="Norsk bokmål" />
+    <cell version="" />
+    <cell locale="nb-NO" class="download-win" platform="win64" content="Download" />
+    <cell locale="nb-NO" class="download-win" platform="win" content="Download" />
+    <cell locale="nb-NO" class="download-mac" platform="osx" content="Download" />
+    <cell locale="nb-NO" class="download-linux" platform="linux64" content="Download" />
+    <cell locale="nb-NO" class="download-linux" platform="linux" content="Download" />
+  </language>
+  <language id="pl">
+    <cell name="Polish" />
+    <cell lang="pl" native="Polski" />
+    <cell version="" />
+    <cell locale="pl" class="download-win" platform="win64" content="Download" />
+    <cell locale="pl" class="download-win" platform="win" content="Download" />
+    <cell locale="pl" class="download-mac" platform="osx" content="Download" />
+    <cell locale="pl" class="download-linux" platform="linux64" content="Download" />
+    <cell locale="pl" class="download-linux" platform="linux" content="Download" />
+  </language>
+  <language id="pt-PT">
+    <cell name="Portuguese (Portugal)" />
+    <cell lang="pt-PT" native="Português (Europeu)" />
+    <cell version="" />
+    <cell locale="pt-PT" class="download-win" platform="win64" content="Download" />
+    <cell locale="pt-PT" class="download-win" platform="win" content="Download" />
+    <cell locale="pt-PT" class="download-mac" platform="osx" content="Download" />
+    <cell locale="pt-PT" class="download-linux" platform="linux64" content="Download" />
+    <cell locale="pt-PT" class="download-linux" platform="linux" content="Download" />
+  </language>
+  <language id="ru">
+    <cell name="Russian" />
+    <cell lang="ru" native="Русский" />
+    <cell version="" />
+    <cell locale="ru" class="download-win" platform="win64" content="Download" />
+    <cell locale="ru" class="download-win" platform="win" content="Download" />
+    <cell locale="ru" class="download-mac" platform="osx" content="Download" />
+    <cell locale="ru" class="download-linux" platform="linux64" content="Download" />
+    <cell locale="ru" class="download-linux" platform="linux" content="Download" />
+  </language>
+  <language id="sk">
+    <cell name="Slovak" />
+    <cell lang="sk" native="slovenčina" />
+    <cell version="" />
+    <cell locale="sk" class="download-win" platform="win64" content="Download" />
+    <cell locale="sk" class="download-win" platform="win" content="Download" />
+    <cell locale="sk" class="download-mac" platform="osx" content="Download" />
+    <cell locale="sk" class="download-linux" platform="linux64" content="Download" />
+    <cell locale="sk" class="download-linux" platform="linux" content="Download" />
+  </language>
+  <language id="es-AR">
+    <cell name="Spanish (Argentina)" />
+    <cell lang="es-AR" native="Español (de Argentina)" />
+    <cell version="" />
+    <cell locale="es-AR" class="download-win" platform="win64" content="Download" />
+    <cell locale="es-AR" class="download-win" platform="win" content="Download" />
+    <cell locale="es-AR" class="download-mac" platform="osx" content="Download" />
+    <cell locale="es-AR" class="download-linux" platform="linux64" content="Download" />
+    <cell locale="es-AR" class="download-linux" platform="linux" content="Download" />
+  </language>
+  <language id="es-ES">
+    <cell name="Spanish (Spain)" />
+    <cell lang="es-ES" native="Español (de España)" />
+    <cell version="" />
+    <cell locale="es-ES" class="download-win" platform="win64" content="Download" />
+    <cell locale="es-ES" class="download-win" platform="win" content="Download" />
+    <cell locale="es-ES" class="download-mac" platform="osx" content="Download" />
+    <cell locale="es-ES" class="download-linux" platform="linux64" content="Download" />
+    <cell locale="es-ES" class="download-linux" platform="linux" content="Download" />
+  </language>
+  <language id="sv-SE">
+    <cell name="Swedish" />
+    <cell lang="sv-SE" native="Svenska" />
+    <cell version="" />
+    <cell locale="sv-SE" class="download-win" platform="win64" content="Download" />
+    <cell locale="sv-SE" class="download-win" platform="win" content="Download" />
+    <cell locale="sv-SE" class="download-mac" platform="osx" content="Download" />
+    <cell locale="sv-SE" class="download-linux" platform="linux64" content="Download" />
+    <cell locale="sv-SE" class="download-linux" platform="linux" content="Download" />
+  </language>
+</downloads>

+ 96 - 0
lib/release.tmpl

@@ -77,3 +77,99 @@
 #     END;
    END;
 %]
+
+[% BLOCK downloads_table;
+     # vars that need to be set by caller or document:
+     # languages: set of languages containing information for the table
+     # smversion: version number (2.0a1, 2.0.1, ...)
+     "  <table class=\"downloads\" cellpadding=\"0\" cellspacing=\"0\" summary=\"$languages.summary\">\n";
+     "    <thead>\n";
+     "      <tr>\n";
+     FOREACH header IN languages.header;
+       table_header = "<th";
+       IF header.colspan;
+         table_header = "$table_header colspan=\"$header.colspan\"";
+       END;
+       IF header.class;
+         table_header = "$table_header class=\"$header.class\">";
+       ELSE;
+         table_header = "$table_header>";
+       END;
+       IF header.spanclass;
+         table_header = "$table_header<span class=\"$header.spanclass\">$header.name";
+         IF header.second;
+           table_header = "$table_header<br>$header.second</span>";
+         ELSE;
+           table_header = "$table_header</span>";
+         END;
+       ELSE;
+         table_header = "$table_header$header.name";
+       END;
+       "        $table_header</th>\n";
+     END;
+     "      </tr>\n";
+     "    </thead>\n";
+     "    <tfoot>\n";
+     "      <tr>\n";
+     "        <td class=\"bottom-left\"></td>\n";
+     "        <td colspan=\"6\"></td>\n";
+     "        <td class=\"bottom-right\"></td>\n";
+     "      </tr>\n";
+     "    </tfoot>\n";
+     "    <tbody>\n";
+
+     class = "odd";
+     FOREACH language IN languages.language;
+       "      <tr id=\"$language.id\" class=\"$class\">\n";
+
+       IF class == "odd";
+         class = "even";
+       ELSE;
+         class = "odd";
+       END;
+
+       FOREACH cell IN language.cell;
+         IF cell.name;
+           "        <td>$cell.name</td>\n";
+         END;
+         IF cell.lang;
+           "        <td lang=\"$cell.lang\">$cell.native</td>\n";
+         END;
+         IF cell.version;
+           "        <td class=\"curVersion\">$smversion</td>\n";
+         END;
+         IF cell.locale;
+           "        <td><a href=\"";
+           INCLUDE download_build platform=cell.platform locale=cell.locale;
+           "\" class=\"$cell.class\" data-platform=\"$cell.platform\">$cell.content</a></td>\n";
+         END;
+       END;
+
+       "      </tr>\n";
+     END;
+
+     "    </tbody>\n";
+     "  </table>\n";
+
+   END;
+%]
+
+[% BLOCK downloads_fieldset;
+     # vars that need to be set by caller or document:
+     # dropdowns: set of dropdowns containing information for the selects
+
+     "  <fieldset>\n";
+     FOREACH dropdown IN dropdowns.dropdown;
+       "    <label for=\"$dropdown.id\" class=\"select-label\">$dropdown.label</label>\n";
+       "    <select id=\"$dropdown.id\" class=\"select-input\" aria-controls=\"$dropdown.aria\">\n";
+
+       FOREACH option IN dropdown.option;
+         "      <option value=\"$option.value\">$option.label</option>\n";
+       END;
+
+       "    </select>\n";
+     END;
+
+     "  </fieldset>\n";
+   END;
+%]

+ 16 - 258
src/index-new.en.html

@@ -48,267 +48,25 @@
            Systems &amp; Languages</a></li>
       </ul>
     </div>
-    <div id="download_fieldset" style="display: none;">
-      <fieldset>
-        <label for="download_platform" class="select-label">Which operating system are you using?</label>
-        <select id="download_platform" class="select-input" aria-controls="download_info">
-          <option value="win64">Windows 64-bit</option>
-          <option value="win">Windows 32-bit</option>
-          <option value="osx">macOS</option>
-          <option value="linux64">Linux 64-bit</option>
-          <option value="linux">Linux 32-bit</option>
-        </select>
-        <label for="download_language" class="select-label">Would you like to select a different language?</label>
-        <select id="download_language" class="select-input" aria-controls="download_info">
-          <option value="zh-CN">Chinese (Simplified) — 中文 (简体)</option>
-          <option value="zh-TW">Chinese (Traditional) — 正體中文 (繁體)</option>
-          <option value="cs">Czech — Čeština</option>
-          <option value="nl">Dutch — Nederlands</option>
-          <option value="en-GB">English (British)</option>
-          <option value="en-US">English (US)</option>
-          <option value="fr">French — Français</option>
-          <option value="de">German — Deutsch</option>
-          <option value="hu">Hungarian — magyar</option>
-          <option value="it">Italian — Italiano</option>
-          <option value="ja">Japanese — 日本語</option>
-          <option value="lt">Lithuanian — Lietuvių</option>
-          <option value="nb-NO">Norwegian (Bokmål) — Norsk bokmål</option>
-          <option value="pl">Polish — Polski</option>
-          <option value="pt-PT">Portuguese (Portugal) — Português (Europeu)</option>
-          <option value="ru">Russian — Русский</option>
-          <option value="sk">Slovak — slovenčina</option>
-          <option value="es-AR">Spanish (Argentina) — Español (de Argentina)</option>
-          <option value="es-ES">Spanish (Spain) — Español (de España)</option>
-          <option value="sv-SE">Swedish — Svenska</option>
-        </select>
-      </fieldset>
-    </div>
   </div>
 </div>
+<div id="download_fieldset" style="display: none;">
+[% USE dropdowns = XML::Simple(
+       'downloads_fieldset.en.xml'
+       ForceArray = ['dropdown']
+       KeyAttr = ['' ]
+   )
+%]
+[% INCLUDE downloads_fieldset %]
+</div>
 <div style="display: none;">
-<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<br>64-bit</span></th>
-      <th><span class="download-win">Windows<br>32-bit</span></th>
-      <th><span class="download-mac">macOS</span></th>
-      <th class="top-right"><span class="download-linux">Linux<br>64-bit</span></th>
-      <th class="top-right"><span class="download-linux">Linux<br>32-bit</span></th>
-    </tr>
-  </thead>
-  <tfoot>
-    <tr>
-      <td class="bottom-left"></td>
-      <td colspan="6"></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='win64' locale='zh-CN' %]" class="download-win" data-platform="win64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='win' locale='zh-CN' %]" class="download-win" data-platform="win">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='osx' locale='zh-CN' %]" class="download-mac" data-platform="osx">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux64' locale='zh-CN' %]" class="download-linux" data-platform="linux64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux' locale='zh-CN' %]" class="download-linux" data-platform="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='win64' locale='zh-TW' %]" class="download-win" data-platform="win64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='win' locale='zh-TW' %]" class="download-win" data-platform="win">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='osx' locale='zh-TW' %]" class="download-mac" data-platform="osx">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux64' locale='zh-TW' %]" class="download-linux" data-platform="linux64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux' locale='zh-TW' %]" class="download-linux" data-platform="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='win64' locale='cs' %]" class="download-win" data-platform="win64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='win' locale='cs' %]" class="download-win" data-platform="win">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='osx' locale='cs' %]" class="download-mac" data-platform="osx">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux64' locale='cs' %]" class="download-linux" data-platform="linux64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux' locale='cs' %]" class="download-linux" data-platform="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='win64' locale='nl' %]" class="download-win" data-platform="win64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='win' locale='nl' %]" class="download-win" data-platform="win">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='osx' locale='nl' %]" class="download-mac" data-platform="osx">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux64' locale='nl' %]" class="download-linux" data-platform="linux64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux' locale='nl' %]" class="download-linux" data-platform="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='win64' locale='en-US' %]" class="download-win" data-platform="win64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='win' locale='en-US' %]" class="download-win" data-platform="win">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='osx' locale='en-US' %]" class="download-mac" data-platform="osx">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux64' locale='en-US' %]" class="download-linux" data-platform="linux64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux' locale='en-US' %]" class="download-linux" data-platform="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='win64' locale='en-GB' %]" class="download-win" data-platform="win64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='win' locale='en-GB' %]" class="download-win" data-platform="win">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='osx' locale='en-GB' %]" class="download-mac" data-platform="osx">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux64' locale='en-GB' %]" class="download-linux" data-platform="linux64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux' locale='en-GB' %]" class="download-linux" data-platform="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='win64' locale='fr' %]" class="download-win" data-platform="win64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='win' locale='fr' %]" class="download-win" data-platform="win">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='osx' locale='fr' %]" class="download-mac" data-platform="osx">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux64' locale='fr' %]" class="download-linux" data-platform="linux64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux' locale='fr' %]" class="download-linux" data-platform="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='win64' locale='de' %]" class="download-win" data-platform="win64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='win' locale='de' %]" class="download-win" data-platform="win">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='osx' locale='de' %]" class="download-mac" data-platform="osx">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux64' locale='de' %]" class="download-linux" data-platform="linux64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux' locale='de' %]" class="download-linux" data-platform="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='win64' locale='hu' %]" class="download-win" data-platform="win64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='win' locale='hu' %]" class="download-win" data-platform="win">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='osx' locale='hu' %]" class="download-mac" data-platform="osx">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux64' locale='hu' %]" class="download-linux" data-platform="linux64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux' locale='hu' %]" class="download-linux" data-platform="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='win64' locale='it' %]" class="download-win" data-platform="win64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='win' locale='it' %]" class="download-win" data-platform="win">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='osx' locale='it' %]" class="download-mac" data-platform="osx">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux64' locale='it' %]" class="download-linux" data-platform="linux64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux' locale='it' %]" class="download-linux" data-platform="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='win64' locale='ja' %]" class="download-win" data-platform="win64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='win' locale='ja' %]" class="download-win" data-platform="win">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='osx' locale='ja-JP-mac' %]" class="download-mac" data-platform="osx">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux64' locale='ja' %]" class="download-linux" data-platform="linux64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux' locale='ja' %]" class="download-linux" data-platform="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='win64' locale='lt' %]" class="download-win" data-platform="win64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='win' locale='lt' %]" class="download-win" data-platform="win">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='osx' locale='lt' %]" class="download-mac" data-platform="osx">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux64' locale='lt' %]" class="download-linux" data-platform="linux64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux' locale='lt' %]" class="download-linux" data-platform="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='win64' locale='nb-NO' %]" class="download-win" data-platform="win64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='win' locale='nb-NO' %]" class="download-win" data-platform="win">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='osx' locale='nb-NO' %]" class="download-mac" data-platform="osx">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux64' locale='nb-NO' %]" class="download-linux" data-platform="linux64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux' locale='nb-NO' %]" class="download-linux" data-platform="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='win64' locale='pl' %]" class="download-win" data-platform="win64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='win' locale='pl' %]" class="download-win" data-platform="win">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='osx' locale='pl' %]" class="download-mac" data-platform="osx">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux64' locale='pl' %]" class="download-linux" data-platform="linux64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux' locale='pl' %]" class="download-linux" data-platform="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='win64' locale='pt-PT' %]" class="download-win" data-platform="win64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='win' locale='pt-PT' %]" class="download-win" data-platform="win">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='osx' locale='pt-PT' %]" class="download-mac" data-platform="osx">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux64' locale='pt-PT' %]" class="download-linux" data-platform="linux64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux' locale='pt-PT' %]" class="download-linux" data-platform="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='win64' locale='ru' %]" class="download-win" data-platform="win64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='win' locale='ru' %]" class="download-win" data-platform="win">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='osx' locale='ru' %]" class="download-mac" data-platform="osx">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux64' locale='ru' %]" class="download-linux" data-platform="linux64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux' locale='ru' %]" class="download-linux" data-platform="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='win64' locale='sk' %]" class="download-win" data-platform="win64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='win' locale='sk' %]" class="download-win" data-platform="win">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='osx' locale='sk' %]" class="download-mac" data-platform="osx">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux64' locale='sk' %]" class="download-linux" data-platform="linux64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux' locale='sk' %]" class="download-linux" data-platform="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='win64' locale='es-AR' %]" class="download-win" data-platform="win64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='win' locale='es-AR' %]" class="download-win" data-platform="win">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='osx' locale='es-AR' %]" class="download-mac" data-platform="osx">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux64' locale='es-AR' %]" class="download-linux" data-platform="linux64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux' locale='es-AR' %]" class="download-linux" data-platform="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='win64' locale='es-ES' %]" class="download-win" data-platform="win64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='win' locale='es-ES' %]" class="download-win" data-platform="win">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='osx' locale='es-ES' %]" class="download-mac" data-platform="osx">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux64' locale='es-ES' %]" class="download-linux" data-platform="linux64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux' locale='es-ES' %]" class="download-linux" data-platform="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='win64' locale='sv-SE' %]" class="download-win" data-platform="win64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='win' locale='sv-SE' %]" class="download-win" data-platform="win">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='osx' locale='sv-SE' %]" class="download-mac" data-platform="osx">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux64' locale='sv-SE' %]" class="download-linux" data-platform="linux64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux' locale='sv-SE' %]" class="download-linux" data-platform="linux">Download</a></td>
-    </tr>
-  </tbody>
-</table>
+[% USE languages = XML::Simple(
+       'downloads_table.en.xml'
+       ForceArray = ['language']
+       KeyAttr = ['' ]
+   )
+%]
+[% INCLUDE downloads_table %]
 </div>
 <script type="text/javascript">
   <!--

+ 14 - 260
src/releases/index-new.en.html

@@ -53,43 +53,13 @@
     </form>
   </div>
   <div id="download_fieldset" class="download-div">
-    <fieldset>
-      <p class="select-platform">
-        <label for="download_platform" class="select-label">Which operating system are you using?</label>
-        <select id="download_platform" class="select-input" aria-controls="download_info">
-          <option value="win64">Windows 64-bit</option>
-          <option value="win">Windows 32-bit</option>
-          <option value="osx">macOS</option>
-          <option value="linux64">Linux 64-bit</option>
-          <option value="linux">Linux 32-bit</option>
-        </select>
-      </p>
-      <p class="select-language">
-        <label for="download_language" class="select-label">Would you like to select a different language?</label>
-        <select id="download_language" class="select-input" aria-controls="download_info">
-          <option value="zh-CN">Chinese (Simplified) — 中文 (简体)</option>
-          <option value="zh-TW">Chinese (Traditional) — 正體中文 (繁體)</option>
-          <option value="cs">Czech — Čeština</option>
-          <option value="nl">Dutch — Nederlands</option>
-          <option value="en-GB">English (British)</option>
-          <option value="en-US">English (US)</option>
-          <option value="fr">French — Français</option>
-          <option value="de">German — Deutsch</option>
-          <option value="hu">Hungarian — magyar</option>
-          <option value="it">Italian — Italiano</option>
-          <option value="ja">Japanese — 日本語</option>
-          <option value="lt">Lithuanian — Lietuvių</option>
-          <option value="nb-NO">Norwegian (Bokmål) — Norsk bokmål</option>
-          <option value="pl">Polish — Polski</option>
-          <option value="pt-PT">Portuguese (Portugal) — Português (Europeu)</option>
-          <option value="ru">Russian — Русский</option>
-          <option value="sk">Slovak — slovenčina</option>
-          <option value="es-AR">Spanish (Argentina) — Español (de Argentina)</option>
-          <option value="es-ES">Spanish (Spain) — Español (de España)</option>
-          <option value="sv-SE">Swedish — Svenska</option>
-        </select>
-      </p>
-    </fieldset>
+[% USE dropdowns = XML::Simple(
+       'downloads_fieldset.en.xml'
+       ForceArray = ['dropdown']
+       KeyAttr = ['' ]
+   )
+%]
+[% INCLUDE downloads_fieldset %]
   </div>
 </div>
 
@@ -134,229 +104,13 @@
   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<br>64-bit</span></th>
-      <th><span class="download-win">Windows<br>32-bit</span></th>
-      <th><span class="download-mac">macOS</span></th>
-      <th class="top-right"><span class="download-linux">Linux<br>64-bit</span></th>
-      <th class="top-right"><span class="download-linux">Linux<br>32-bit</span></th>
-    </tr>
-  </thead>
-  <tfoot>
-    <tr>
-      <td class="bottom-left"></td>
-      <td colspan="6"></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='win64' locale='zh-CN' %]" class="download-win" data-platform="win64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='win' locale='zh-CN' %]" class="download-win" data-platform="win">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='osx' locale='zh-CN' %]" class="download-mac" data-platform="osx">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux64' locale='zh-CN' %]" class="download-linux" data-platform="linux64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux' locale='zh-CN' %]" class="download-linux" data-platform="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='win64' locale='zh-TW' %]" class="download-win" data-platform="win64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='win' locale='zh-TW' %]" class="download-win" data-platform="win">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='osx' locale='zh-TW' %]" class="download-mac" data-platform="osx">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux64' locale='zh-TW' %]" class="download-linux" data-platform="linux64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux' locale='zh-TW' %]" class="download-linux" data-platform="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='win64' locale='cs' %]" class="download-win" data-platform="win64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='win' locale='cs' %]" class="download-win" data-platform="win">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='osx' locale='cs' %]" class="download-mac" data-platform="osx">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux64' locale='cs' %]" class="download-linux" data-platform="linux64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux' locale='cs' %]" class="download-linux" data-platform="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='win64' locale='nl' %]" class="download-win" data-platform="win64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='win' locale='nl' %]" class="download-win" data-platform="win">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='osx' locale='nl' %]" class="download-mac" data-platform="osx">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux64' locale='nl' %]" class="download-linux" data-platform="linux64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux' locale='nl' %]" class="download-linux" data-platform="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='win64' locale='en-US' %]" class="download-win" data-platform="win64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='win' locale='en-US' %]" class="download-win" data-platform="win">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='osx' locale='en-US' %]" class="download-mac" data-platform="osx">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux64' locale='en-US' %]" class="download-linux" data-platform="linux64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux' locale='en-US' %]" class="download-linux" data-platform="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='win64' locale='en-GB' %]" class="download-win" data-platform="win64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='win' locale='en-GB' %]" class="download-win" data-platform="win">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='osx' locale='en-GB' %]" class="download-mac" data-platform="osx">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux64' locale='en-GB' %]" class="download-linux" data-platform="linux64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux' locale='en-GB' %]" class="download-linux" data-platform="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='win64' locale='fr' %]" class="download-win" data-platform="win64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='win' locale='fr' %]" class="download-win" data-platform="win">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='osx' locale='fr' %]" class="download-mac" data-platform="osx">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux64' locale='fr' %]" class="download-linux" data-platform="linux64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux' locale='fr' %]" class="download-linux" data-platform="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='win64' locale='de' %]" class="download-win" data-platform="win64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='win' locale='de' %]" class="download-win" data-platform="win">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='osx' locale='de' %]" class="download-mac" data-platform="osx">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux64' locale='de' %]" class="download-linux" data-platform="linux64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux' locale='de' %]" class="download-linux" data-platform="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='win64' locale='hu' %]" class="download-win" data-platform="win64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='win' locale='hu' %]" class="download-win" data-platform="win">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='osx' locale='hu' %]" class="download-mac" data-platform="osx">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux64' locale='hu' %]" class="download-linux" data-platform="linux64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux' locale='hu' %]" class="download-linux" data-platform="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='win64' locale='it' %]" class="download-win" data-platform="win64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='win' locale='it' %]" class="download-win" data-platform="win">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='osx' locale='it' %]" class="download-mac" data-platform="osx">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux64' locale='it' %]" class="download-linux" data-platform="linux64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux' locale='it' %]" class="download-linux" data-platform="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='win64' locale='ja' %]" class="download-win" data-platform="win64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='win' locale='ja' %]" class="download-win" data-platform="win">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='osx' locale='ja-JP-mac' %]" class="download-mac" data-platform="osx">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux64' locale='ja' %]" class="download-linux" data-platform="linux64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux' locale='ja' %]" class="download-linux" data-platform="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='win64' locale='lt' %]" class="download-win" data-platform="win64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='win' locale='lt' %]" class="download-win" data-platform="win">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='osx' locale='lt' %]" class="download-mac" data-platform="osx">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux64' locale='lt' %]" class="download-linux" data-platform="linux64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux' locale='lt' %]" class="download-linux" data-platform="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='win64' locale='nb-NO' %]" class="download-win" data-platform="win64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='win' locale='nb-NO' %]" class="download-win" data-platform="win">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='osx' locale='nb-NO' %]" class="download-mac" data-platform="osx">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux64' locale='nb-NO' %]" class="download-linux" data-platform="linux64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux' locale='nb-NO' %]" class="download-linux" data-platform="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='win64' locale='pl' %]" class="download-win" data-platform="win64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='win' locale='pl' %]" class="download-win" data-platform="win">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='osx' locale='pl' %]" class="download-mac" data-platform="osx">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux64' locale='pl' %]" class="download-linux" data-platform="linux64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux' locale='pl' %]" class="download-linux" data-platform="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='win64' locale='pt-PT' %]" class="download-win" data-platform="win64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='win' locale='pt-PT' %]" class="download-win" data-platform="win">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='osx' locale='pt-PT' %]" class="download-mac" data-platform="osx">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux64' locale='pt-PT' %]" class="download-linux" data-platform="linux64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux' locale='pt-PT' %]" class="download-linux" data-platform="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='win64' locale='ru' %]" class="download-win" data-platform="win64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='win' locale='ru' %]" class="download-win" data-platform="win">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='osx' locale='ru' %]" class="download-mac" data-platform="osx">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux64' locale='ru' %]" class="download-linux" data-platform="linux64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux' locale='ru' %]" class="download-linux" data-platform="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='win64' locale='sk' %]" class="download-win" data-platform="win64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='win' locale='sk' %]" class="download-win" data-platform="win">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='osx' locale='sk' %]" class="download-mac" data-platform="osx">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux64' locale='sk' %]" class="download-linux" data-platform="linux64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux' locale='sk' %]" class="download-linux" data-platform="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='win64' locale='es-AR' %]" class="download-win" data-platform="win64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='win' locale='es-AR' %]" class="download-win" data-platform="win">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='osx' locale='es-AR' %]" class="download-mac" data-platform="osx">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux64' locale='es-AR' %]" class="download-linux" data-platform="linux64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux' locale='es-AR' %]" class="download-linux" data-platform="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='win64' locale='es-ES' %]" class="download-win" data-platform="win64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='win' locale='es-ES' %]" class="download-win" data-platform="win">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='osx' locale='es-ES' %]" class="download-mac" data-platform="osx">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux64' locale='es-ES' %]" class="download-linux" data-platform="linux64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux' locale='es-ES' %]" class="download-linux" data-platform="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='win64' locale='sv-SE' %]" class="download-win" data-platform="win64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='win' locale='sv-SE' %]" class="download-win" data-platform="win">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='osx' locale='sv-SE' %]" class="download-mac" data-platform="osx">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux64' locale='sv-SE' %]" class="download-linux" data-platform="linux64">Download</a></td>
-      <td><a href="[% INCLUDE download_build platform='linux' locale='sv-SE' %]" class="download-linux" data-platform="linux">Download</a></td>
-    </tr>
-  </tbody>
-</table>
+[% USE languages = XML::Simple(
+       'downloads_table.en.xml'
+       ForceArray = ['language']
+       KeyAttr = ['' ]
+   )
+%]
+[% INCLUDE downloads_table %]
 </div>
 
 <script type="text/javascript">