657972057ff3dc2a3400f187f95311fddb4f942b
Andrew Lewman add dlhead for the download...

Andrew Lewman authored 12 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>
Andrew Lewman patch from jmtodaro for eve...

Andrew Lewman authored 12 years ago

include/dlhead.wmi      46)   <script type="text/javascript" src="../js/jquery.ba-bbq.min.js">
include/dlhead.wmi      47) /*  Source: https://raw.github.com/cowboy/jquery-bbq/v1.2.1/jquery.ba-bbq.js */
include/dlhead.wmi      48)   </script>
Andrew Lewman add dlhead for the download...

Andrew Lewman authored 12 years ago

download/en/dlhead.wmi  49)   <script type="text/javascript" src="../js/dlpage01.js">
download/en/dlhead.wmi  50) # /* Displays detected section */
download/en/dlhead.wmi  51)   </script>
download/en/dlhead.wmi  52)   <script async type="text/javascript" src="../js/jquery.accordion.min.js">
download/en/dlhead.wmi  53) /* Modified version of "Stupid Simple jQuery Accordian Menu" originally developed by Ryan Stemkoski
download/en/dlhead.wmi  54)    Source: http://www.stemkoski.com/stupid-simple-jquery-accordion-menu/
download/en/dlhead.wmi  55)    License: Public Domain (http://www.stemkoski.com/stupid-simple-jquery-accordion-menu/#comment-32882) */
download/en/dlhead.wmi  56)   </script>
download/en/dlhead.wmi  57)   <script async type="text/javascript">
download/en/dlhead.wmi  58) # /* switches package links depending on selection */
download/en/dlhead.wmi  59)   function updateLang() {
download/en/dlhead.wmi  60)     var caller = $( this );
download/en/dlhead.wmi  61)     var pkg = caller.attr('id');
download/en/dlhead.wmi  62)     var lang = caller.val();
Erinn Clark fix the easy download page...

Erinn Clark authored 10 years ago

include/dlhead.wmi      63)     var wintbb = '../dist/torbrowser/<version-torbrowserbundledir>/torbrowser-install-<version-torbrowserbundle>_'+lang+'.exe';
Georg Koppen Update dowload links

Georg Koppen authored 9 years ago

include/dlhead.wmi      64)     var osxtbb = '../dist/torbrowser/<version-torbrowserbundledir>/TorBrowser-<version-torbrowserbundleosx64>-osx64_'+lang+'.dmg';
include/dlhead.wmi      65)     var osxtbb64 = '../dist/torbrowser/<version-torbrowserbundledir>/TorBrowser-<version-torbrowserbundleosx64>-osx64_'+lang+'.dmg';
Erinn Clark fix a couple more .gz->.xz

Erinn Clark authored 10 years ago

include/dlhead.wmi      66)     var lintbb32 = '../dist/torbrowser/<version-torbrowserbundledir>/tor-browser-linux32-<version-torbrowserbundlelinux32>_'+lang+'.tar.xz';
include/dlhead.wmi      67)     var lintbb64 = '../dist/torbrowser/<version-torbrowserbundledir>/tor-browser-linux64-<version-torbrowserbundlelinux64>_'+lang+'.tar.xz';
Andrew Lewman add dlhead for the download...

Andrew Lewman authored 12 years ago

download/en/dlhead.wmi  68)     if(pkg == 'win-tbb'){
Andrew Lewman apply jeremy's patch for os...

Andrew Lewman authored 12 years ago

include/dlhead.wmi      69)       $('.'+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 12 years ago

download/en/dlhead.wmi  70)       $('.'+pkg+'-sig').replaceWith('<a class="win-tbb-sig" href="'+wintbb+'.asc">sig</a>');
download/en/dlhead.wmi  71)     }else if(pkg == 'osx-tbb'){
Andrew Lewman apply jeremy's patch for os...

Andrew Lewman authored 12 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 12 years ago

download/en/dlhead.wmi  73)       $('.'+pkg+'-sig').replaceWith('<a class="osx-tbb-sig" href="'+osxtbb+'.asc">sig</a>');
Andrew Lewman apply jeremy's patch for os...

Andrew Lewman authored 12 years ago

include/dlhead.wmi      74)     }else if(pkg == 'osx-tbb64'){
include/dlhead.wmi      75)       $('.'+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      76)       $('.'+pkg+'-sig').replaceWith('<a class="osx-tbb64-sig" href="'+osxtbb64+'.asc">sig</a>');
Andrew Lewman add dlhead for the download...

Andrew Lewman authored 12 years ago

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

Andrew Lewman authored 12 years ago

include/dlhead.wmi      78)       $('.'+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 12 years ago

download/en/dlhead.wmi  79)       $('.'+pkg+'-sig').replaceWith('<a class="lin-tbb32-sig" href="'+lintbb32+'.asc">sig</a>');
download/en/dlhead.wmi  80)     }else if(pkg == 'lin-tbb64'){
Andrew Lewman apply jeremy's patch for os...

Andrew Lewman authored 12 years ago

include/dlhead.wmi      81)       $('.'+pkg).replaceWith('<a class="button lin-tbb64" href="'+lintbb64+'"><span class="strong">Download</span><span class="normal"><button-lin-tbb64></span></a>');