# HG changeset patch
# User jh@junetz.de
# Date 1313846549 0
#      Sat Aug 20 13:22:29 2011 +0000
# Node ID 8b5f4dd917109ba275f6ac49e2f175af3fb60ba8
# Parent  b3348b2eb2ddc3cedce505e012d7072b263117a7
Bug 678756 - Update SeaMonkey website for 2.3 Final release
- 2.1 page: removed suggested download area
- 2.2 page: changed to mirrorred=false and added old release warning
- 2.3 page: added old release warning (commented out)
- general: added rewrite for /somereleaseversion to /releases/somereleaseversion

diff --git a/src/.htaccess b/src/.htaccess
--- a/src/.htaccess
+++ b/src/.htaccess
@@ -21,6 +21,9 @@
 Redirect permanent /dev/trademark http://www.seamonkey-project.org/legal/trademark
 Redirect permanent /donate https://donate.mozilla.org/page/contribute/seamonkey
 
+# redirect from top level to actual location of release pages
+RedirectMatch temp ^/([0-9]{1,2}\.[0-9]{1,2}.*) http://www.seamonkey-project.org/releases/$1
+
 # 2.1rc2 shipped as 2.1pre, redirect 2.1pre to the 2.1 relnotes
 Redirect permanent /releases/seamonkey2.1pre/ http://www.seamonkey-project.org/releases/seamonkey2.1/
 
diff --git a/src/releases/2.1.en.html b/src/releases/2.1.en.html
--- a/src/releases/2.1.en.html
+++ b/src/releases/2.1.en.html
@@ -15,8 +15,6 @@
 <link rel="top" href="../" title="SeaMonkey Project">
 <link rel="up" href="./" title="SeaMonkey Releases">
 
-<script type="text/javascript" src="/download.js"></script>
-
 <title>SeaMonkey [% prettyversion %]</title>
 </head>
 <body>
@@ -37,50 +35,19 @@
   <li><a href="#official">Official Builds</a></li>
   <li><a href="#source">Source Code</a></li>
   <li><a href="#langpacks">Language Packs</a></li>
+  <li><a href="#experimental">Experimental builds/languages</a></li>
   <li><a href="#contrib">Contributed builds (other platforms)</a></li>
 </ul>
 
 <div class="key-point">
-<div class="key-side download">
-  <h3>Download</h3>
-  <ul>
-    <li id="download-win" class=""><a
-          href="[% INCLUDE download_build platform='win' locale='en-US' %]"
-          id="download-win-link">Windows,
-        <span id="download-win-lang">English</span>
-        (16 MB)</a></li>
-    <li id="download-linux" class=""><a
-          href="[% INCLUDE download_build platform='linux' locale='en-US' %]"
-          id="download-linux-link">Linux GTK2,
-        <span id="download-linux-lang">English</span>
-        (19 MB)</a></li>
-    <li id="download-mac" class=""><a
-          href="[% INCLUDE download_build platform='osx' locale='en-US' %]"
-          id="download-mac-link">Mac OS X,
-        <span id="download-mac-lang">English</span>
-        (34 MB)</a></li>
-  </ul>
+<ul>
+  <li><a href="seamonkey[% smversion %]/">Release Notes</a> - The release notes describe
+  new changes, system requirements, installation instructions, and known issues
+  in this release - please read them carefully before using this version of
+  SeaMonkey!
+  </li>
+</ul>
 </div>
-<dl>
-  <dt id="relnotes"><a href="seamonkey2.1/">Release Notes</a></dt>
-    <dd>
-    The release notes contain installation instructions, system requirements,
-    what's new, and a list of known issues that you should read before
-    reporting bugs.
-    </dd>
-  <dt id="feedback">Feedback</dt>
-    <dd>
-    Please contact our <a href="../community#groups">newsgroups</a>
-    for general feedback and <a href="https://bugzilla.mozilla.org/">report
-    bugs in Bugzilla</a>.
-    </dd>
-</dl>
-</div>
-<script type="text/javascript">
-  <!--
-  highlightDownload("download", true);
-  // -->
-</script>
 
 <h2 id="official">Official builds</h2>
 <div class="section">
diff --git a/src/releases/2.2.en.html b/src/releases/2.2.en.html
--- a/src/releases/2.2.en.html
+++ b/src/releases/2.2.en.html
@@ -1,7 +1,7 @@
 [%- PROCESS release.tmpl -%]
 [%- smversion = '2.2' -%]
 [%- prettyversion = smversion -%]
-[%- mirrorred = true -%]
+[%- mirrorred = false -%]
 [%- uselongversion = false -%]
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 <html lang="en">
@@ -21,6 +21,16 @@
 <h1><a name="[% smversion %]">SeaMonkey [% prettyversion %]</a></h1>
 <p class="release-date">Released July 7, 2011</p>
 
+<div class="important">
+  <strong class="very-strong shout">Warning!</strong> The SeaMonkey version
+  available for download from this page is outdated and suffers from
+  <a href="http://www.mozilla.org/security/known-vulnerabilities/#SeaMonkey">known
+  security vulnerabilities</a>. This page is only available for historic
+  reference.
+  <br>We strongly advise you to download the <a href="./">current release</a>
+  instead.
+</div>
+
 <ul class="toc">
   <li><a href="#official">Official Builds</a></li>
   <li><a href="#source">Source Code</a></li>
@@ -30,7 +40,7 @@
 
 <div class="key-point">
 <ul>
-  <li><a href="seamonkey2.2/">Release Notes</a> - The release notes describe
+  <li><a href="seamonkey[% smversion %]/">Release Notes</a> - The release notes describe
   new changes, system requirements, installation instructions, and known issues
   in this release - please read them carefully before using this version of
   SeaMonkey!
diff --git a/src/releases/2.3.en.html b/src/releases/2.3.en.html
--- a/src/releases/2.3.en.html
+++ b/src/releases/2.3.en.html
@@ -1,6 +1,6 @@
 [%- PROCESS release.tmpl -%]
 [%- smversion = '2.3' -%]
-[%- prettyversion = '2.3' -%]
+[%- prettyversion = smversion -%]
 [%- mirrorred = true -%]
 [%- uselongversion = false -%]
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
@@ -21,6 +21,18 @@
 <h1><a name="[% smversion %]">SeaMonkey [% prettyversion %]</a></h1>
 <p class="release-date">Released August 16, 2011</p>
 
+<!--
+<div class="important">
+  <strong class="very-strong shout">Warning!</strong> The SeaMonkey version
+  available for download from this page is outdated and suffers from
+  <a href="http://www.mozilla.org/security/known-vulnerabilities/#SeaMonkey">known
+  security vulnerabilities</a>. This page is only available for historic
+  reference.
+  <br>We strongly advise you to download the <a href="./">current release</a>
+  instead.
+</div>
+-->
+
 <ul class="toc">
   <li><a href="#official">Official Builds</a></li>
   <li><a href="#source">Source Code</a></li>
@@ -30,7 +42,7 @@
 
 <div class="key-point">
 <ul>
-  <li><a href="seamonkey2.3/">Release Notes</a> - The release notes describe
+  <li><a href="seamonkey[% smversion %]/">Release Notes</a> - The release notes describe
   new changes, system requirements, installation instructions, and known issues
   in this release - please read them carefully before using this version of
   SeaMonkey!