summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
Diffstat (limited to 'template')
-rw-r--r--template/template/template.html17
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">