show contacts in the mail even if it's only a renewal; we want to have

2007-04-28  Vincent Untz  <vuntz@gnome.org>

	* foundation.gnome.org/membership/application.wml: show contacts in
	the mail even if it's only a renewal; we want to have summary AND
	details, not summary and optionally details

svn path=/trunk/; revision=403
This commit is contained in:
Vincent Untz 2007-04-28 16:12:45 +00:00 committed by Vincent Untz
parent df487ab153
commit a0c2b07364
2 changed files with 15 additions and 8 deletions

View file

@ -1,3 +1,9 @@
2007-04-28 Vincent Untz <vuntz@gnome.org>
* foundation.gnome.org/membership/application.wml: show contacts in
the mail even if it's only a renewal; we want to have summary AND
details, not summary and optionally details
2007-04-19 Glynn Foster <glynn.foster@sun.com> 2007-04-19 Glynn Foster <glynn.foster@sun.com>
* foundation.gnome.org/index.wml: Add news item for Canonical joining * foundation.gnome.org/index.wml: Add news item for Canonical joining

View file

@ -46,11 +46,13 @@
$errors[] = "Please enter an email address we can use to contact you."; $errors[] = "Please enter an email address we can use to contact you.";
} }
$obfuscated_email = preg_replace("/@/", " AT ", $email); $obfuscated_email = preg_replace("/@/", " AT ", $email);
$obfuscated_contacts = preg_replace("/@/", " AT ", $contacts);
if (!$previousmember) { if (!$previousmember) {
if (!$summary || $summary == "") { if (!$summary || $summary == "") {
$bad_elements[] = "summary"; $bad_elements[] = "summary";
$errors[] = "Please enter a list of areas of GNOME to which you have made a non-trivial contribution."; $errors[] = "Please enter a list of areas of GNOME to which you have made a non-trivial contribution.";
} else if (!$details || $details == "") { }
if (!$details || $details == "") {
$bad_elements[] = "details"; $bad_elements[] = "details";
$errors[] = "Please enter a more detailed description of your contributions."; $errors[] = "Please enter a more detailed description of your contributions.";
} }
@ -62,7 +64,6 @@
$bad_elements[] = "contacts"; $bad_elements[] = "contacts";
$errors[] = "Please provide e-mails of the contacts you've provided."; $errors[] = "Please provide e-mails of the contacts you've provided.";
} }
$obfuscated_contacts = preg_replace("/@/", " AT ", $contacts);
} }
if ($spam != "not spam") { if ($spam != "not spam") {
$bad_elements[] = "spam"; $bad_elements[] = "spam";