summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2011-09-27 17:37:38 +0200
committerAlexander Sulfrian <alexander@sulfrian.net>2011-09-27 17:37:38 +0200
commit034dad9e4a51ec8d87e7ae98122cb763965b1dca (patch)
treec9d5f5be082281609923e3d52bd67adb7137b2d4
parent82435d047377b2e47d7fcd677bd911950e45e2c0 (diff)
downloadsites-034dad9e4a51ec8d87e7ae98122cb763965b1dca.tar.gz
sites-034dad9e4a51ec8d87e7ae98122cb763965b1dca.tar.bz2
sites-034dad9e4a51ec8d87e7ae98122cb763965b1dca.zip
added error message, if wrong ip
-rw-r--r--templates/new.html33
1 files changed, 29 insertions, 4 deletions
diff --git a/templates/new.html b/templates/new.html
index d0897a3..91220e5 100644
--- a/templates/new.html
+++ b/templates/new.html
@@ -48,11 +48,36 @@ $var headline:
<b>Create a mailing list</b>
</div>
- <form name="main" method="post">
- $:form.render()
- <input type="submit" value="Create" class="submit" />
- </form>
+ $if user['valid']:
+ <form name="main" method="post">
+ $:form.render()
+
+ <input type="submit" value="Create" class="submit" />
+ </form>
+
+ $else:
+ <p class="wrong">
+ Access is only permitted within the FU network. But not by
+ using the ZEDAT proxy server.
+ </p>
+ <p>
+ We are solely offering our mailing list service to members of
+ the FU which are owning an e-mail address within the second
+ level domain &quot;fu-berlin.de&quot; (this includes all
+ e-mail addresses ending in &quot;fu-berlin.de&quot;).
+ </p>
+ <p>
+ Additionally we are limiting access to the mailing list
+ creation webpage to hosts with an IP address within the FU
+ networks (87.77.0.0/16, 130.133.0.0/16, 160.45.0.0/16).
+ </p>
+ <p>
+ We are logging creations of mailing lists. As we are saving
+ date, time, email address and the host you used for creating
+ the mailing list, you must not use the proxy server provided
+ by the ZEDAT (squid.fu-berlin.de).
+ </p>
</div>
<div class="create" id="info">