From 45405d9b6b8240b68f5f518d961788ccbf876aaa Mon Sep 17 00:00:00 2001 From: Vincent Untz Date: Wed, 19 Apr 2006 06:05:17 +0000 Subject: [PATCH] try to add an antispam entry 2006-04-19 Vincent Untz * foundation.gnome.org/membership/application.wml: try to add an antispam entry --- ChangeLog | 5 +++++ foundation.gnome.org/membership/application.wml | 15 +++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/ChangeLog b/ChangeLog index b81e499..3503d57 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-04-19 Vincent Untz + + * foundation.gnome.org/membership/application.wml: try to add an + antispam entry + 2006-04-01 Vincent Untz * foundation.gnome.org/membership/application.wml: accept + in email diff --git a/foundation.gnome.org/membership/application.wml b/foundation.gnome.org/membership/application.wml index 4f5b6d7..d1b6716 100644 --- a/foundation.gnome.org/membership/application.wml +++ b/foundation.gnome.org/membership/application.wml @@ -24,6 +24,7 @@ $ircnick = $_POST['ircnick']; $cvsuser = $_POST['cvsuser']; $previousmember = $_POST['previousmember']; + $spam = $_POST['spam']; if ($submit) { /* remove the slashes */ @@ -58,6 +59,11 @@ } } + if ($spam != "not spam") { + $bad_elements[] = "spam"; + $errors[] = "Please fill the \"not spam\" field."; + } + if (count($bad_elements) == 0) { // make the mail @@ -267,6 +273,15 @@

+ + + + + + +
Please type "not spam" here: + +