clean up home, version, and size is irrelevant and changes with nearly every release. writing this in wml is now a huge pita because of all the div and structure tagging. gah.
Andrew Lewman

Andrew Lewman commited on 2010-07-14 03:04:59
Zeige 1 geänderte Dateien mit 1 Einfügungen und 13 Löschungen.

... ...
@@ -19,42 +19,32 @@ function clientSpecificDownload() {
19 19
   var platform = navigator.platform;
20 20
   if (platform === "Win32" || platform === "Win64")
21 21
   {
22
-    document.write('<a href="<package-win32-bundle-stable>"> \
22
+    document.write('<a href="insert TBB for win32 here"> \
23 23
         <span class="download-tor">Download <strong>Tor</strong></span><br /> \
24
-        <span class="version">Version <version-win32-bundle-stable> for Windows</span><br /> \
25
-        <span class="info">English (US) 24.3MB</span> \
26 24
         </a>');
27 25
   }
28 26
   else if (platform === "MacIntel")
29 27
   {
30 28
     document.write('<a href="<package-osx-bundle-stable>"> \
31 29
         <span class="download-tor">Download <strong>Tor</strong></span><br /> \
32
-        <span class="version">Version <version-osx-bundle-stable> for Mac OSX</span><br /> \
33
-        <span class="info">English (US) 24.3MB</span> \
34 30
         </a>');
35 31
   }
36 32
   else if (platform === "MacPPC")
37 33
   {
38 34
     document.write('<a href="<package-oldosx-bundle-stable>"> \
39 35
         <span class="download-tor">Download <strong>Tor</strong></span><br /> \
40
-        <span class="version">Version <version-oldosx-bundle-stable> for Mac OSX</span><br /> \
41
-        <span class="info">English (US) 24.3MB</span> \
42 36
         </a>');
43 37
   }
44 38
   else if (platform === "Linux i686" || platform === "Linux x86_64")
45 39
   {
46 40
     document.write('<a href="<package-source-stable>"> \
47 41
         <span class="download-tor">Download <strong>Tor</strong></span><br /> \
48
-        <span class="version">Version <version-stable> for Linux</span><br /> \
49
-        <span class="info">English (US) 24.3MB</span> \
50 42
         </a>');
51 43
   } 
52 44
   else
53 45
   {
54 46
     document.write('<a href="<page download/download>"> \
55 47
         <span class="download-tor">Download <strong>Tor</strong></span><br /> \
56
-        <span class="version">Version <version-stable></span><br /> \
57
-        <span class="info">English (US) 24.3MB</span> \
58 48
         </a>');
59 49
   }
60 50
 
... ...
@@ -85,8 +75,6 @@ function clientSpecificDownload() {
85 75
           <div id="download">
86 76
           <a href="<page download/download>">
87 77
             <span class="download-tor">Download <strong>Tor</strong></span><br />
88
-            <span class="version">Version <version-stable></span><br />
89
-            <span class="info">English (US) 24.3MB</span>
90 78
           </a>
91 79
           </div>
92 80
           </noscript>
93 81