diff options
author | Christian Franke <nobody@nowhere.ws> | 2013-03-12 06:12:24 +0100 |
---|---|---|
committer | Christian Franke <nobody@nowhere.ws> | 2013-03-12 06:22:17 +0100 |
commit | 8733f95d481d341a74d95cd97ecbef39a1f0609f (patch) | |
tree | 2862af920799e90da7ed9dd86e612ae6347f26d2 /template | |
parent | 18d1778eeda305b5ee65d22500905640e2fbacc5 (diff) |
World day against cyber censorship
Diffstat (limited to 'template')
-rw-r--r-- | template/template/template.html | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/template/template/template.html b/template/template/template.html index 3c8f053..66c8987 100644 --- a/template/template/template.html +++ b/template/template/template.html @@ -15,16 +15,31 @@ <meta name="description" lang="de" content="$template_desc_de"> <meta name="description" lang="en" content="$template_desc_en"> - <link rel="stylesheet" href="/css/sublab-2012-09-16.css" type="text/css"> + <link rel="stylesheet" href="/css/sublab-2013-03-12.css" type="text/css"> <link rel="stylesheet" href="/css/taifun.status.css" type="text/css"> <link rel="stylesheet" href="/css/trieste.status.css" type="text/css"> <link rel="stylesheet" href="/css/nautilus.status.css" type="text/css"> <link rel="stylesheet" href="/css/sublab.status.css" type="text/css"> <link rel="shortcut icon" href="/img/favicon.png"> <link rel="space-api" href="/status.json" /> + + <script type="text/javascript" src="/inc/zensur.js"></script> + <script type="text/javascript"> + window.onload = function() { zensurjs(document.body); }; + function toggleZensur() { + var state = zensurjs(); + document.getElementById("zensurstate").innerHTML={true: 'Diese Seite ist zensiert.', false: 'Diese Seite könnte zensiert sein.'}[state]; + document.getElementById("zensurlink").innerHTML={true: 'Ich bin gegen Zensur!', false: 'Ich bin für Zensur!'}[state]; + } + </script> </head> <body> + <div id="zensurinfo"> + <span id="zensurstate">Diese Seite ist zensiert.</span> + <a href="https://march12.rsf.org/en/">Lies Warum!</a> + <small><a href="" id="zensurlink" onclick="toggleZensur(); return false;">Ich bin gegen Zensur!</a></small> + </div> <div class="hiddenframe"> <div class="frame"> |