Skip to content
Snippets Groups Projects
Commit 5f6f288d authored by jh's avatar jh
Browse files

Bug 677147 - Update SeaMonkey website for changes to release mirrors

Always point Aurora/Beta direct links to FTP and change 2.3b3 back to mirrorred=true
parent c591e617
No related branches found
No related tags found
No related merge requests found
...@@ -50,9 +50,14 @@ ...@@ -50,9 +50,14 @@
END; END;
%] %]
[% BLOCK direct_download_file;
"ftp://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/$smversion/$path";
END;
%]
[% BLOCK download_file; [% BLOCK download_file;
# vars that need to be set by caller or document: # vars that need to be set by caller or document:
# smversion: version number (2.0a1, 2.0.1, ...) # smversion: version number (2.0a1, 2.0.1, ...)
# mirrorred: bool that tells us if to use release mirrors/bouncer, false means direct FTP # mirrorred: bool that tells us if to use release mirrors/bouncer, false means direct FTP
# path: path to add to the base URL of that version # path: path to add to the base URL of that version
...@@ -53,9 +58,9 @@ ...@@ -53,9 +58,9 @@
[% BLOCK download_file; [% BLOCK download_file;
# vars that need to be set by caller or document: # vars that need to be set by caller or document:
# smversion: version number (2.0a1, 2.0.1, ...) # smversion: version number (2.0a1, 2.0.1, ...)
# mirrorred: bool that tells us if to use release mirrors/bouncer, false means direct FTP # mirrorred: bool that tells us if to use release mirrors/bouncer, false means direct FTP
# path: path to add to the base URL of that version # path: path to add to the base URL of that version
IF mirrorred; IF mirrorred AND NOT smversion.match('a|b');
"http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/$smversion/$path"; "http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/$smversion/$path";
ELSE; ELSE;
...@@ -60,6 +65,6 @@ ...@@ -60,6 +65,6 @@
"http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/$smversion/$path"; "http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/$smversion/$path";
ELSE; ELSE;
"ftp://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/$smversion/$path"; INCLUDE direct_download_file;
END; END;
END; END;
%] %]
...@@ -63,9 +68,3 @@ ...@@ -63,9 +68,3 @@
END; END;
END; END;
%] %]
[% BLOCK direct_download_file;
# like download_file, but unmirrorred
"ftp://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/$smversion/$path";
END;
%]
[%- PROCESS release.tmpl -%] [%- PROCESS release.tmpl -%]
[%- smversion = '2.3b3' -%] [%- smversion = '2.3b3' -%]
[%- prettyversion = '2.3 Beta 3' -%] [%- prettyversion = '2.3 Beta 3' -%]
[%- mirrorred = false -%] [%- mirrorred = true -%]
[%- uselongversion = false -%] [%- uselongversion = false -%]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en"> <html lang="en">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment