From 246d81853a038d808028e910420c2370cfca14ac Mon Sep 17 00:00:00 2001 From: Baris Cicek Date: Fri, 2 Mar 2007 12:30:13 +0000 Subject: [PATCH] Added check for e-mail address in contacts and updated some text svn path=/trunk/; revision=387 --- foundation.gnome.org/membership/application.wml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/foundation.gnome.org/membership/application.wml b/foundation.gnome.org/membership/application.wml index 2fbb0f0..36288f9 100644 --- a/foundation.gnome.org/membership/application.wml +++ b/foundation.gnome.org/membership/application.wml @@ -56,8 +56,11 @@ } if (!$contacts || $contacts == "") { $bad_elements[] = "contacts"; - $errors[] = "Please enter a list of individuals who can confirm your contributions or indicate us how the membership committee can verify your contributions."; + $errors[] = "Please enter a list of individuals with their e-mails who can confirm your contributions or indicate us how the membership committee can verify your contributions."; } + if ($contacts && $contacts != "" && strpos ($contacts, '@') === FALSE)) { + $bad_elements[] = "contacts"; + $errors[] = "Please provide e-mails of the contacts you've provided."; } if ($spam != "not spam") { @@ -72,7 +75,7 @@ $formmail .= "Name: " . $name . "\n"; $formmail .= "E-mail: " . $obfuscated_email . "\n"; $formmail .= "irc.gnome.org nickname (if any): " . $ircnick . "\n"; - $formmail .= "cvs.gnome.org username (if any): " . $cvsuser . "\n"; + $formmail .= "svn.gnome.org username (if any): " . $cvsuser . "\n"; $formmail .= "\n"; $formmail .= "Previous GNOME Foundation member: "; if ($previousmember) { @@ -167,7 +170,7 @@ Thus, all the information you will submit through this form will be publically available: the form will send an e-mail to a mailing list whose archives are publically available on the Internet and your - application will be accessible through CVS. + application will be accessible through mail archives.

@@ -199,7 +202,7 @@ - cvs.gnome.org username (if any): + svn.gnome.org username (if any):