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) <ifeq "$(ANNOUNCE_RSS)" "yes" "<link rel="alternate" title="Tor Project OR-announce" href="http://rss.gmane.org/gmane.network.onion-routing.announce"
download/en/dlhead.wmi 17) type="application/rss+xml">">
download/en/dlhead.wmi 18)
download/en/dlhead.wmi 19) # begin WML to generate css/js paths
download/en/dlhead.wmi 20) <ifneq "$(STYLESHEET)" "" "<link rel="stylesheet" type="text/css" href="$(DOCROOT)/$(STYLESHEET)">">
download/en/dlhead.wmi 21) <ifeq "$(STYLESHEET)" "" "<link rel="stylesheet" type="text/css" href="$(DOCROOT)/css/master.css">">
download/en/dlhead.wmi 22)
download/en/dlhead.wmi 23) #<link href="css/master.css" rel="stylesheet" type="text/css">
download/en/dlhead.wmi 24) <!--[if lte IE 8]>
download/en/dlhead.wmi 25) <link rel="stylesheet" type="text/css" href="$(DOCROOT)/css/ie8-and-down.css">
download/en/dlhead.wmi 26) <![endif]-->
download/en/dlhead.wmi 27) <!--[if lte IE 7]>
download/en/dlhead.wmi 28) <link rel="stylesheet" type="text/css" href="$(DOCROOT)/css/ie7-and-down.css">
download/en/dlhead.wmi 29) <![endif]-->
download/en/dlhead.wmi 30) <!--[if IE 6]>
download/en/dlhead.wmi 31) <link rel="stylesheet" type="text/css" href="$(DOCROOT)/css/ie6.css">
download/en/dlhead.wmi 32) <![endif]-->
download/en/dlhead.wmi 33)
download/en/dlhead.wmi 34) # <script language="javascript" type="text/javascript" src="$(DOCROOT)/global.js"></script>
download/en/dlhead.wmi 35) # end WML to generate css/js paths
download/en/dlhead.wmi 36)
download/en/dlhead.wmi 37) <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
download/en/dlhead.wmi 38) <meta name="author" content="The Tor Project, Inc.">
download/en/dlhead.wmi 39) <meta name="keywords" content="anonymity online, tor, tor project, censorship circumvention, traffic analysis, anonymous communications research">
download/en/dlhead.wmi 40) <script type="text/javascript" src="../js/jquery.min.js">
download/en/dlhead.wmi 41) # /* jQuery */
download/en/dlhead.wmi 42) </script>
download/en/dlhead.wmi 43) <script type="text/javascript" src="../js/jquery.client.min.js">
download/en/dlhead.wmi 44) /* "jQuery Browser And OS Detection Plugin" by Stoimen
download/en/dlhead.wmi 45) Source: http://www.stoimen.com/blog/2009/07/16/jquery-browser-and-os-detection-plugin/
download/en/dlhead.wmi 46) License: Public Domain (http://www.stoimen.com/blog/2009/07/16/jquery-browser-and-os-detection-plugin/#comment-12498) */
download/en/dlhead.wmi 47) </script>
download/en/dlhead.wmi 48) <script type="text/javascript" src="../js/dlpage01.js">
download/en/dlhead.wmi 49) # /* Displays detected section */
download/en/dlhead.wmi 50) </script>
download/en/dlhead.wmi 51) <script async type="text/javascript" src="../js/jquery.accordion.min.js">
download/en/dlhead.wmi 52) /* Modified version of "Stupid Simple jQuery Accordian Menu" originally developed by Ryan Stemkoski
download/en/dlhead.wmi 53) Source: http://www.stemkoski.com/stupid-simple-jquery-accordion-menu/
download/en/dlhead.wmi 54) License: Public Domain (http://www.stemkoski.com/stupid-simple-jquery-accordion-menu/#comment-32882) */
download/en/dlhead.wmi 55) </script>
download/en/dlhead.wmi 56) <script async type="text/javascript">
download/en/dlhead.wmi 57) # /* switches package links depending on selection */
download/en/dlhead.wmi 58) function updateLang() {
download/en/dlhead.wmi 59) var caller = $( this );
download/en/dlhead.wmi 60) var pkg = caller.attr('id');
download/en/dlhead.wmi 61) var lang = caller.val();
download/en/dlhead.wmi 62) var wintbb = '../dist/torbrowser/tor-browser-<version-torbrowserbundle>_'+lang+'.exe';
download/en/dlhead.wmi 63) var osxtbb = '../dist/torbrowser/osx/TorBrowser-<version-torbrowserbundleosx>-dev-osx-i386-'+lang+'.zip';
|
apply jeremy's patch for os...
Andrew Lewman authored 13 years ago
|
include/dlhead.wmi 64) var osxtbb64 = '../dist/torbrowser/osx/TorBrowser-<version-torbrowserbundleosx>-dev-osx-x86_64-'+lang+'.zip';
|
add dlhead for the download...
Andrew Lewman authored 13 years ago
|
download/en/dlhead.wmi 65) var lintbb32 = '../dist/torbrowser/linux/tor-browser-gnu-linux-i686-<version-torbrowserbundlelinux32>-dev-'+lang+'.tar.gz';
download/en/dlhead.wmi 66) var lintbb64 = '../dist/torbrowser/linux/tor-browser-gnu-linux-x86_64-<version-torbrowserbundlelinux64>-dev-'+lang+'.tar.gz';
download/en/dlhead.wmi 67) if(pkg == 'win-tbb'){
|
apply jeremy's patch for os...
Andrew Lewman authored 13 years ago
|
include/dlhead.wmi 68) $('.'+pkg).replaceWith('<a class="button win-tbb" href="'+wintbb+'"><span class="strong">Download</span><span class="normal"><button-win-tbb32></span></a>');
|
add dlhead for the download...
Andrew Lewman authored 13 years ago
|
download/en/dlhead.wmi 69) $('.'+pkg+'-sig').replaceWith('<a class="win-tbb-sig" href="'+wintbb+'.asc">sig</a>');
|
and we have a new download-...
Andrew Lewman authored 13 years ago
|
include/dlhead.wmi 70) $('.mac-alt').replaceWith('<a class="mac-alt" href="'+osxtbb+'">Mac</a>');
include/dlhead.wmi 71) $('.lin-alt').replaceWith('<a class="lin-alt" href="'+lintbb32+'">Linux</a>');
|
add dlhead for the download...
Andrew Lewman authored 13 years ago
|
download/en/dlhead.wmi 72) }else if(pkg == 'osx-tbb'){
|
apply jeremy's patch for os...
Andrew Lewman authored 13 years ago
|
include/dlhead.wmi 73) $('.'+pkg).replaceWith('<a class="button osx-tbb" href="'+osxtbb+'"><span class="strong">Download</span><span class="normal"><button-osx-tbb32></span></a>');
|
add dlhead for the download...
Andrew Lewman authored 13 years ago
|
download/en/dlhead.wmi 74) $('.'+pkg+'-sig').replaceWith('<a class="osx-tbb-sig" href="'+osxtbb+'.asc">sig</a>');
|
and we have a new download-...
Andrew Lewman authored 13 years ago
|
include/dlhead.wmi 75) $('.win-alt').replaceWith('<a class="lin-win" href="'+wintbb+'">Windows</a>');
include/dlhead.wmi 76) $('.lin-alt').replaceWith('<a class="lin-alt" href="'+lintbb32+'">Linux</a>');
|
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>');
|
add dlhead for the download...
Andrew Lewman authored 13 years ago
|
download/en/dlhead.wmi 80) }else if(pkg == 'lin-tbb32'){
|
apply jeremy's patch for os...
Andrew Lewman authored 13 years ago
|
include/dlhead.wmi 81) $('.'+pkg).replaceWith('<a class="button lin-tbb32" href="'+lintbb32+'"><span class="strong">Download</span><span class="normal"><button-lin-tbb32></span></a>');
|
add dlhead for the download...
Andrew Lewman authored 13 years ago
|
download/en/dlhead.wmi 82) $('.'+pkg+'-sig').replaceWith('<a class="lin-tbb32-sig" href="'+lintbb32+'.asc">sig</a>');
|
and we have a new download-...
Andrew Lewman authored 13 years ago
|
include/dlhead.wmi 83) $('.mac-alt').replaceWith('<a class="lin-mac" href="'+osxtbb+'">Mac</a>');
include/dlhead.wmi 84) $('.win-alt').replaceWith('<a class="lin-win" href="'+wintbb+'">Windows</a>');
|
add dlhead for the download...
Andrew Lewman authored 13 years ago
|
download/en/dlhead.wmi 85) }else if(pkg == 'lin-tbb64'){
|
apply jeremy's patch for os...
Andrew Lewman authored 13 years ago
|
include/dlhead.wmi 86) $('.'+pkg).replaceWith('<a class="button lin-tbb64" href="'+lintbb64+'"><span class="strong">Download</span><span class="normal"><button-lin-tbb64></span></a>');
|