Commit 9125cce8 authored by Sandro Knauß's avatar Sandro Knauß

Use normal wiki translating system for unsafe_browser_warning.

Because of #14962, we can't use the normal page.tmpl, as we are not
allowed to use CSS.

Fixes: #15461
parent a4b90070
......@@ -50,6 +50,7 @@ add_plugins:
- toggle
- trail
- underlay
- pagetemplate
# plugins to disable
disable_plugins:
- comments
......@@ -107,7 +108,7 @@ ENV: {}
# regexp of normally excluded files to include
include: '^\.htaccess$'
# regexp of files that should be skipped
exclude: '(^blueprint\/.*|^contribute\/how\/promote\/material\/.*|\/discussion\..*|\/Discussion\..*|^misc\/.*)'
exclude: '(^blueprint\/.*|^contribute\/how\/promote\/material\/.*|\/discussion\..*|\/Discussion\..*)'
# specifies the characters that are allowed in source filenames
wiki_file_chars: '-[:alnum:]+/._~'
# allow symlinks in the path leading to the srcdir (potentially insecure)
......@@ -120,7 +121,7 @@ allow_symlinks_before_srcdir: 1
# htmlscrubber plugin
# PageSpec specifying pages not to scrub
htmlscrubber_skip: 'misc/unsafe_browser_warning or misc/unsafe_browser_warning.* or donate or donate.* or donate/* or download or download.* or home or home.* or index or index.* or install or install.* or install/* or upgrade or upgrade.* or upgrade/*'
htmlscrubber_skip: 'donate or donate.* or donate/* or download or download.* or home or home.* or index or index.* or install or install.* or install/* or upgrade or upgrade.* or upgrade/*'
# inline plugin
# enable rss feeds by default?
......
[[!pagetemplate template="unsafe_browser_warning.tmpl"]]
[[!meta title="Warning! The web browser you are currently using is not
anonymous!"]]
<p>You are currently using the Unsafe Browser. As its name suggests,
the Unsafe Browser's network activity is <strong>not
anonymous</strong>. If you want a safe, anonymous web browser, please
shut this browser down immediately and start the following web browser
instead:
<em>Applications</em> → <em>Internet</em> → <em>Tor Browser</em>.</p>
<p>If you want to login to a captive portal to get Internet access (as
is commonly necessary at Internet cafés, libraries, schools and other
public places and businesses), try visiting any web site you know of
by entering its address in the address field above. The web site you
choose should preferably be common to your geographic location in
order to raise less suspicion (good examples of such pages are search
engines, news papers' home pages and similar). Once you've done that
you should be redirected to the login page instead, and once logged in
you should have Internet access so that you can start your anonymous
activity by using <strong>other</strong> applications than the Unsafe
Browser.</p>
<p><strong>Note that the Unsafe Browser is never anonymous, not even
after you have logged in to a captive portal.</strong></p>
<!DOCTYPE html>
<TMPL_IF HTML_LANG_CODE>
<html lang="<TMPL_VAR HTML_LANG_CODE>" dir="<TMPL_VAR HTML_LANG_DIR>" xmlns="http://www.w3.org/1999/xhtml">
<TMPL_ELSE>
<html xmlns="http://www.w3.org/1999/xhtml">
</TMPL_IF>
<head>
<TMPL_IF HTML5><meta charset="utf-8" /><TMPL_ELSE><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></TMPL_IF>
<title>Tails - <TMPL_VAR TITLE></title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
</head>
<TMPL_IF HTML_LANG_CODE>
<body class="<TMPL_VAR HTML_LANG_CODE>">
<TMPL_ELSE>
<body>
</TMPL_IF>
<h1><TMPL_VAR TITLE></h1>
<TMPL_VAR CONTENT>
</body>
</html>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment