Removing obsolete pages and includes
hiromipaw

hiromipaw commited on 2017-09-07 17:45:43
Zeige 2 geänderte Dateien mit 0 Einfügungen und 187 Löschungen.

... ...
@@ -1,41 +0,0 @@
1
-## translation metadata
2
-# Revision: $Revision: 24807 $
3
-# Translation-Priority: 3-low
4
-
5
-#include "thankyou-head.wmi" TITLE="Tor Project: Donate to Tor" CHARSET="UTF-8"
6
-<!-- BEGIN CONTENT -->
7
-  <div id="thanks" class="clearfix hundred">
8
-  <div id="thanks_top">
9
-    <img class="thankyou_h1" src="../images/thankyou_h1.jpg" height="122" width="419" alt="Thank You!">
10
-    <p>Your donation helps support online privacy<br>&amp; censorship circumvention around the globe!</p>
11
-  </div>
12
-  <div id="thanks_btm">
13
-  <div id="thanks_btm_inner">
14
-  <table>
15
-    <tr id="thanks_row">
16
-    <td id="thanks_l">
17
-      <img class="thankyou_h2" src="../images/thankyou_h2.png" height="46" width="195" alt="Keep In Touch!">
18
-      <p>Sign up for our <a href="https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-news">newsletter</a></p>
19
-      <form Method="POST" ACTION="https://lists.torproject.org/cgi-bin/mailman/subscribe/tor-news">
20
-	<p>
21
-	<label class="inactive" for="email">Enter your email address:</label><br>
22
-	<input type="text" name="email" id="email" size="25" value="">
23
-	<input id="submit" type="submit" name="email-button" value="GO">
24
-	</p>
25
-      </form>
26
-    </td>
27
-    <td id="thanks_c">
28
-      <div id="v_rule"></div>
29
-    </td>
30
-    <td id="thanks_r">
31
-      <img class="thankyou_h2" src="../images/thankyou_h3.png" height="46" width="142" alt="Got Skills?">
32
-      <p>Put them to good use</p>
33
-      <a href="<page getinvolved/volunteer>">Volunteer for The Tor Project &raquo;</a>
34
-    </td>
35
-    </tr>
36
-  </table>
37
-  </div>
38
-  </div>
39
-  </div>
40
-<!-- END CONTENT -->
41
-#include <foot.wmi>
... ...
@@ -1,146 +0,0 @@
1
-#! /usr/bin/wml
2
-<: use strict; :>
3
-<: use warnings; :>
4
-#use "perl-globals.wmi"
5
-#use "links.wmi"
6
-#use "versions.wmi"
7
-#use "navigation.wmi"
8
-
9
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
10
-<html>
11
-<head>
12
-  <title>$(TITLE)</title>
13
-  <link rel="shortcut icon" type="image/x-icon" href="$(IMGROOT)/favicon.ico">
14
-  <ifneq "$(REDIRECT)" "" "<meta http-equiv="refresh" content="0;url=$(DOCROOT)/$(REDIRECT)">">
15
-  <ifneq "$(REDIRECT_GLOBAL)" "" "<meta http-equiv="refresh" content="0;url=$(REDIRECT_GLOBAL)">">
16
-
17
-  # begin WML to generate css/js paths
18
-  <ifneq "$(STYLESHEET)" "" "<link rel="stylesheet" type="text/css" href="$(DOCROOT)/$(STYLESHEET)">">
19
-  <ifeq "$(STYLESHEET)" "" "<link rel="stylesheet" type="text/css" href="$(DOCROOT)/css/master.min.css">">
20
-
21
-  <link href="$(DOCROOT)/css/thankyou.min.css" rel="stylesheet" type="text/css">
22
-  <!--[if lte IE 8]>
23
-  <link rel="stylesheet" type="text/css" href="$(DOCROOT)/css/ie8-and-down.min.css">
24
-  <![endif]-->
25
-  <!--[if lte IE 7]>
26
-  <link rel="stylesheet" type="text/css" href="$(DOCROOT)/css/ie7-and-down.min.css">
27
-  <![endif]-->
28
-  <!--[if IE 6]>
29
-  <link rel="stylesheet" type="text/css" href="$(DOCROOT)/css/ie6.min.css">
30
-  <![endif]-->
31
-#  <script language="javascript" type="text/javascript" src="$(DOCROOT)/global.js"></script>
32
-  # end WML to generate css/js paths
33
-
34
-  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
35
-  <meta name="author" content="The Tor Project, Inc.">
36
-  <meta name="keywords" content="anonymity online, tor, tor project, censorship circumvention, traffic analysis, anonymous communications research">
37
-<script type="text/javascript" src="$(DOCROOT)/js/jquery.min.js" charset="utf-8"></script>
38
-<script type="text/javascript" src="$(DOCROOT)/js/jquery.infieldlabel.min.js" charset="utf-8"></script>
39
-<script type="text/javascript" src="$(DOCROOT)/js/functions.min.js" charset="utf-8"></script>
40
-</head>
41
-<body>
42
-<div id="wrap">
43
-  <div id="header">
44
-    <h1 id="logo"><a href="<page index>">Tor</a></h1>
45
-      # navigation menu generation
46
-      <div id="nav">
47
-        <ul>
48
-        <:{
49
-            # create a hash and maintain order of keys
50
-            my %navigation;
51
-            my @keys;
52
-            while (@navigation) {
53
-              my $key = shift @navigation;
54
-              my $val = shift @navigation;
55
-              push @keys, $key;
56
-              $navigation{$key} = $val;
57
-            }
58
-
59
-            my $page = $WML_SRC_BASENAME;
60
-            my $lang = "$(LANG)";
61
-
62
-            for my $key (@keys) {
63
-              my ($dir, $base) = $key =~ m,^(?:(.*)/)?(.*?)$,;
64
-
65
-              # in directory of active link, set class active
66
-              my $class;
67
-              if ((defined $dir) and ($WML_SRC_DIRNAME =~/$dir/) or ($WML_SRC_BASENAME eq $base)) {
68
-                $class = 'class="active"';
69
-              } else {
70
-                $class = '';
71
-              }
72
-
73
-	            $dir = '.' unless defined $dir;
74
-
75
-              # translated version
76
-              if (-e "$(DOCROOT)/$dir/$lang/$base.wml") {
77
-                  printf '<li><a '.$class.' href="%s">%s</a></li>'."\n",
78
-                         stripDotSlashs("$(DOCROOT)/$dir/$base.html.$(LANG)"),$navigation{$key};
79
-              }
80
-              # english version
81
-              elsif (-e "$(DOCROOT)/$dir/en/$base.wml") {
82
-              	printf '<li><a '.$class.' href="%s">%s</a></li>'."\n",
83
-                  stripDotSlashs("$(DOCROOT)/$dir/$base.html"), $navigation{$key};
84
-              }
85
-              # full url
86
-              elsif ($key =~/^http/) {
87
-                printf '<li><a href="%s">%s</a></li>'."\n", $key, $navigation{$key};
88
-              } else {
89
-                warn "$WML_SRC_FILENAME has a [page $key] (parses to
90
-docdir: $(DOCROOT)/; dir: $dir; base: $base -> $(DOCROOT)/$dir/$lang/$base.wml), but that doesn't exist.";
91
-              }
92
-            }
93
-        }:>
94
-        </ul>
95
-      </div>
96
-      <!-- END NAV -->
97
-     # end navigation generation
98
-      <div id="calltoaction">
99
-        <ul>
100
-          <:{
101
-            my %calltoaction;
102
-            my @keys;
103
-            while (@calltoaction) {
104
-              my $key = shift @calltoaction;
105
-              my $val = shift @calltoaction;
106
-              push @keys, $key;
107
-              $calltoaction{$key} = $val;
108
-            }
109
-
110
-            my $page = $WML_SRC_BASENAME;
111
-            my $lang = "$(LANG)";
112
-            for my $key (@keys) {
113
-              my ($dir, $base) = $key =~ m,^(?:(.*)/)?(.*?)$,;
114
-
115
-              # in directory, set active
116
-              my $class;
117
-              if ((defined $dir) and ($WML_SRC_DIRNAME =~/$dir/) or ($WML_SRC_BASENAME eq $base)) {
118
-              #if ($WML_SRC_BASENAME eq $base) {
119
-                $class = 'class="active"';
120
-              } else {
121
-                $class = '';
122
-              }
123
-
124
-	          $dir = '.' unless defined $dir;
125
-              # try to use a translated version
126
-              if (-e "$(DOCROOT)/$dir/$lang/$base.wml") {
127
-                  printf '<li class="donate"><a '.$class.' href="%s">%s</a></li>'."\n",
128
-                         stripDotSlashs("$(DOCROOT)/$dir/$base.html.$(LANG)"),$calltoaction{$key};
129
-              }
130
-              # default to english version
131
-              elsif (-e "$(DOCROOT)/$dir/en/$base.wml") {
132
-              	printf '<li class="donate"><a '.$class.' href="%s">%s</a></li>'."\n",
133
-                  stripDotSlashs("$(DOCROOT)/$dir/$base.html"), $calltoaction{$key};
134
-              } else {
135
-                warn "$WML_SRC_FILENAME has a [page $key] (parses to docdir: $(DOCROOT)/; dir: $dir; base: $base -> $(DOCROOT)/$dir/$lang/$base.wml), but that doesn't exist.";
136
-              }
137
-            }
138
-          }:>
139
-        </ul>
140
-      </div>
141
-      <!-- END CALLTOACTION -->
142
-  </div>
143
-  <!-- END HEADER -->
144
-
145
-#<ifneq "$(REDIRECT)" "" "Redirecting to <a href="$(DOCROOT)/$(REDIRECT)">$(DOCROOT)/$(REDIRECT)</a>.">
146
-#<ifneq "$(REDIRECT_GLOBAL)" "" "Redirecting to <a href="$(REDIRECT_GLOBAL)">$(REDIRECT_GLOBAL)</a>.">
147 0