5d9fe2fddeeb6c1eda26facbef1f7e43fa9f2d51
Andrew Lewman add dlhead for the download...

Andrew Lewman authored 13 years ago

download/en/dlhead.wmi   1) #! /usr/bin/wml
download/en/dlhead.wmi   2) <: use strict; :>
download/en/dlhead.wmi   3) <: use warnings; :>
download/en/dlhead.wmi   4) #use "perl-globals.wmi"
download/en/dlhead.wmi   5) #use "links.wmi"
download/en/dlhead.wmi   6) #use "versions.wmi"
download/en/dlhead.wmi   7) #use "navigation.wmi"
download/en/dlhead.wmi   8) 
download/en/dlhead.wmi   9) <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
download/en/dlhead.wmi  10) <html>
download/en/dlhead.wmi  11) <head>
download/en/dlhead.wmi  12)   <title>$(TITLE)</title>
download/en/dlhead.wmi  13)   <link rel="shortcut icon" type="image/x-icon" href="$(IMGROOT)/favicon.ico">
download/en/dlhead.wmi  14)   <ifneq "$(REDIRECT)" "" "<meta http-equiv="refresh" content="0;url=$(DOCROOT)/$(REDIRECT)">">
download/en/dlhead.wmi  15)   <ifneq "$(REDIRECT_GLOBAL)" "" "<meta http-equiv="refresh" content="0;url=$(REDIRECT_GLOBAL)">">
download/en/dlhead.wmi  16) 
download/en/dlhead.wmi  17)   # begin WML to generate css/js paths 
download/en/dlhead.wmi  18)   <ifneq "$(STYLESHEET)" "" "<link rel="stylesheet" type="text/css" href="$(DOCROOT)/$(STYLESHEET)">">
download/en/dlhead.wmi  19)   <ifeq "$(STYLESHEET)" "" "<link rel="stylesheet" type="text/css" href="$(DOCROOT)/css/master.css">">
download/en/dlhead.wmi  20) 
download/en/dlhead.wmi  21)   #<link href="css/master.css" rel="stylesheet" type="text/css">
download/en/dlhead.wmi  22)   <!--[if lte IE 8]>
download/en/dlhead.wmi  23)   <link rel="stylesheet" type="text/css" href="$(DOCROOT)/css/ie8-and-down.css">
download/en/dlhead.wmi  24)   <![endif]-->
download/en/dlhead.wmi  25)   <!--[if lte IE 7]>
download/en/dlhead.wmi  26)   <link rel="stylesheet" type="text/css" href="$(DOCROOT)/css/ie7-and-down.css">
download/en/dlhead.wmi  27)   <![endif]-->
download/en/dlhead.wmi  28)   <!--[if IE 6]>
download/en/dlhead.wmi  29)   <link rel="stylesheet" type="text/css" href="$(DOCROOT)/css/ie6.css">
download/en/dlhead.wmi  30)   <![endif]-->
download/en/dlhead.wmi  31) 
download/en/dlhead.wmi  32) #  <script language="javascript" type="text/javascript" src="$(DOCROOT)/global.js"></script>
download/en/dlhead.wmi  33)   # end WML to generate css/js paths 
download/en/dlhead.wmi  34) 
download/en/dlhead.wmi  35)   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
download/en/dlhead.wmi  36)   <meta name="author" content="The Tor Project, Inc.">
download/en/dlhead.wmi  37)   <meta name="keywords" content="anonymity online, tor, tor project, censorship circumvention, traffic analysis, anonymous communications research">
download/en/dlhead.wmi  38)   <script type="text/javascript" src="../js/jquery.min.js">
download/en/dlhead.wmi  39) # /* jQuery */
download/en/dlhead.wmi  40)   </script>
download/en/dlhead.wmi  41)   <script type="text/javascript" src="../js/jquery.client.min.js">
download/en/dlhead.wmi  42) /* "jQuery Browser And OS Detection Plugin" by Stoimen
download/en/dlhead.wmi  43)    Source: http://www.stoimen.com/blog/2009/07/16/jquery-browser-and-os-detection-plugin/
download/en/dlhead.wmi  44)    License: Public Domain (http://www.stoimen.com/blog/2009/07/16/jquery-browser-and-os-detection-plugin/#comment-12498) */
download/en/dlhead.wmi  45)   </script>
download/en/dlhead.wmi  46)   <script type="text/javascript" src="../js/dlpage01.js">
download/en/dlhead.wmi  47) # /* Displays detected section */
download/en/dlhead.wmi  48)   </script>
download/en/dlhead.wmi  49)   <script async type="text/javascript" src="../js/jquery.accordion.min.js">
download/en/dlhead.wmi  50) /* Modified version of "Stupid Simple jQuery Accordian Menu" originally developed by Ryan Stemkoski
download/en/dlhead.wmi  51)    Source: http://www.stemkoski.com/stupid-simple-jquery-accordion-menu/
download/en/dlhead.wmi  52)    License: Public Domain (http://www.stemkoski.com/stupid-simple-jquery-accordion-menu/#comment-32882) */
download/en/dlhead.wmi  53)   </script>
download/en/dlhead.wmi  54)   <script async type="text/javascript">
download/en/dlhead.wmi  55) # /* switches package links depending on selection */
download/en/dlhead.wmi  56)   function updateLang() {
download/en/dlhead.wmi  57)     var caller = $( this );
download/en/dlhead.wmi  58)     var pkg = caller.attr('id');
download/en/dlhead.wmi  59)     var lang = caller.val();
download/en/dlhead.wmi  60)     var wintbb = '../dist/torbrowser/tor-browser-<version-torbrowserbundle>_'+lang+'.exe';
Roger Dingledine break version-torbrowserbun...

Roger Dingledine authored 12 years ago

include/dlhead.wmi      61)     var osxtbb = '../dist/torbrowser/osx/TorBrowser-<version-torbrowserbundleosx32>-dev-osx-i386-'+lang+'.zip';
include/dlhead.wmi      62)     var osxtbb64 = '../dist/torbrowser/osx/TorBrowser-<version-torbrowserbundleosx64>-dev-osx-x86_64-'+lang+'.zip';
Andrew Lewman add dlhead for the download...

Andrew Lewman authored 13 years ago

download/en/dlhead.wmi  63)     var lintbb32 = '../dist/torbrowser/linux/tor-browser-gnu-linux-i686-<version-torbrowserbundlelinux32>-dev-'+lang+'.tar.gz';
download/en/dlhead.wmi  64)     var lintbb64 = '../dist/torbrowser/linux/tor-browser-gnu-linux-x86_64-<version-torbrowserbundlelinux64>-dev-'+lang+'.tar.gz';
download/en/dlhead.wmi  65)     if(pkg == 'win-tbb'){
Andrew Lewman apply jeremy's patch for os...

Andrew Lewman authored 13 years ago

include/dlhead.wmi      66)       $('.'+pkg).replaceWith('<a class="button win-tbb" href="'+wintbb+'"><span class="strong">Download</span><span class="normal"><button-win-tbb32></span></a>');
Andrew Lewman add dlhead for the download...

Andrew Lewman authored 13 years ago

download/en/dlhead.wmi  67)       $('.'+pkg+'-sig').replaceWith('<a class="win-tbb-sig" href="'+wintbb+'.asc">sig</a>');
Andrew Lewman and we have a new download-...

Andrew Lewman authored 13 years ago

include/dlhead.wmi      68)       $('.mac-alt').replaceWith('<a class="mac-alt" href="'+osxtbb+'">Mac</a>');
include/dlhead.wmi      69)       $('.lin-alt').replaceWith('<a class="lin-alt" href="'+lintbb32+'">Linux</a>');
Roger Dingledine in the download-easy javasc...

Roger Dingledine authored 12 years ago

include/dlhead.wmi      70)       $('.lin-alt64').replaceWith('<a class="lin-alt64" href="'+lintbb64+'">Linux 64-bit</a>');
Andrew Lewman add dlhead for the download...

Andrew Lewman authored 13 years ago

download/en/dlhead.wmi  71)     }else if(pkg == 'osx-tbb'){
Andrew Lewman apply jeremy's patch for os...

Andrew Lewman authored 13 years ago

include/dlhead.wmi      72)       $('.'+pkg).replaceWith('<a class="button osx-tbb" href="'+osxtbb+'"><span class="strong">Download</span><span class="normal"><button-osx-tbb32></span></a>');
Andrew Lewman add dlhead for the download...

Andrew Lewman authored 13 years ago

download/en/dlhead.wmi  73)       $('.'+pkg+'-sig').replaceWith('<a class="osx-tbb-sig" href="'+osxtbb+'.asc">sig</a>');
Andrew Lewman and we have a new download-...

Andrew Lewman authored 13 years ago

include/dlhead.wmi      74)       $('.win-alt').replaceWith('<a class="lin-win" href="'+wintbb+'">Windows</a>');
include/dlhead.wmi      75)       $('.lin-alt').replaceWith('<a class="lin-alt" href="'+lintbb32+'">Linux</a>');
Roger Dingledine in the download-easy javasc...

Roger Dingledine authored 12 years ago

include/dlhead.wmi      76)       $('.lin-alt64').replaceWith('<a class="lin-alt64" href="'+lintbb64+'">Linux 64-bit</a>');
Andrew Lewman apply jeremy's patch for os...

Andrew Lewman authored 13 years ago

include/dlhead.wmi      77)     }else if(pkg == 'osx-tbb64'){
include/dlhead.wmi      78)       $('.'+pkg).replaceWith('<a class="button osx-tbb64" href="'+osxtbb64+'"><span class="strong">Download</span><span class="normal"><button-osx-tbb64></span></a>');
include/dlhead.wmi      79)       $('.'+pkg+'-sig').replaceWith('<a class="osx-tbb64-sig" href="'+osxtbb64+'.asc">sig</a>');
Andrew Lewman update download-easy to han...

Andrew Lewman authored 13 years ago

include/dlhead.wmi      80)       $('.win-alt64').replaceWith('<a class="win-alt64" href="'+wintbb+'">Windows</a>');
Roger Dingledine in the download-easy javasc...

Roger Dingledine authored 12 years ago

include/dlhead.wmi      81)       $('.lin-alt').replaceWith('<a class="lin-alt" href="'+lintbb32+'">Linux</a>');
include/dlhead.wmi      82)       $('.lin-alt64').replaceWith('<a class="lin-alt64" href="'+lintbb64+'">Linux 64-bit</a>');
Andrew Lewman add dlhead for the download...

Andrew Lewman authored 13 years ago

download/en/dlhead.wmi  83)     }else if(pkg == 'lin-tbb32'){
Andrew Lewman apply jeremy's patch for os...

Andrew Lewman authored 13 years ago

include/dlhead.wmi      84)       $('.'+pkg).replaceWith('<a class="button lin-tbb32" href="'+lintbb32+'"><span class="strong">Download</span><span class="normal"><button-lin-tbb32></span></a>');
Andrew Lewman add dlhead for the download...

Andrew Lewman authored 13 years ago

download/en/dlhead.wmi  85)       $('.'+pkg+'-sig').replaceWith('<a class="lin-tbb32-sig" href="'+lintbb32+'.asc">sig</a>');
Andrew Lewman and we have a new download-...

Andrew Lewman authored 13 years ago

include/dlhead.wmi      86)       $('.mac-alt').replaceWith('<a class="lin-mac" href="'+osxtbb+'">Mac</a>');
include/dlhead.wmi      87)       $('.win-alt').replaceWith('<a class="lin-win" href="'+wintbb+'">Windows</a>');
Andrew Lewman add dlhead for the download...

Andrew Lewman authored 13 years ago

download/en/dlhead.wmi  88)     }else if(pkg == 'lin-tbb64'){
Andrew Lewman apply jeremy's patch for os...

Andrew Lewman authored 13 years ago

include/dlhead.wmi      89)       $('.'+pkg).replaceWith('<a class="button lin-tbb64" href="'+lintbb64+'"><span class="strong">Download</span><span class="normal"><button-lin-tbb64></span></a>');
Andrew Lewman add dlhead for the download...

Andrew Lewman authored 13 years ago

download/en/dlhead.wmi  90)       $('.'+pkg+'-sig').replaceWith('<a class="lin-tbb64-sig" href="'+lintbb64+'.asc">sig</a>');
Andrew Lewman update download-easy to han...

Andrew Lewman authored 13 years ago

include/dlhead.wmi      91)       $('.mac-alt64').replaceWith('<a class="mac-alt64" href="'+osxtbb64+'">Mac</a>');
include/dlhead.wmi      92)       $('.win-alt64').replaceWith('<a class="win-alt64" href="'+wintbb+'">Windows</a>');