2004-04-18 18:33:55 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2003-11-02 05:06:55 +00:00
<html>
<head>
<title>GNOME Foundation Membership Application</title>
2004-04-18 18:33:55 +00:00
<meta name="cvsdate" content="$Date$" />
2006-07-03 18:31:02 +00:00
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
2003-11-02 05:06:55 +00:00
</head>
<body>
<h1>GNOME Foundation Membership Application</h1>
2003-11-11 20:54:50 +00:00
<?php
2003-11-02 05:06:55 +00:00
$bad_elements = array();
$errors = array();
2003-11-11 21:11:31 +00:00
$submit = $_POST['submit'];
$name = $_POST['name'];
$email = $_POST['email'];
$summary = $_POST['summary'];
$details = $_POST['details'];
$contacts = $_POST['contacts'];
2007-03-02 13:15:09 +00:00
$pointers = $_POST['pointers'];
2003-11-11 21:11:31 +00:00
$comments = $_POST['comments'];
$ircnick = $_POST['ircnick'];
$cvsuser = $_POST['cvsuser'];
$previousmember = $_POST['previousmember'];
2006-04-19 06:05:17 +00:00
$spam = $_POST['spam'];
2003-11-11 21:11:31 +00:00
if ($submit) {
2003-11-02 05:06:55 +00:00
/* remove the slashes */
2003-11-11 21:11:31 +00:00
$name = trim(stripslashes($name));
$email = trim(stripslashes($email));
$summary = trim(stripslashes($summary));
$details = trim(stripslashes($details));
$contacts = trim(stripslashes($contacts));
$comments = trim(stripslashes($comments));
if (!$name || $name == "") {
2003-11-02 05:06:55 +00:00
$bad_elements[] = "name";
$errors[] = "Please enter your name.";
}
2006-04-01 06:53:21 +00:00
if (!$email || !ereg("^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9_.-]+\.[a-zA-Z]+$", $email)) {
2003-11-02 05:06:55 +00:00
$bad_elements[] = "email";
$errors[] = "Please enter an email address we can use to contact you.";
}
2003-11-11 20:54:50 +00:00
$obfuscated_email = preg_replace("/@/", " AT ", $email);
2004-09-15 12:10:15 +00:00
if (!$previousmember) {
if (!$summary || $summary == "") {
$bad_elements[] = "summary";
$errors[] = "Please enter a list of areas of GNOME to which you have made a non-trivial contribution.";
} else if (!$details || $details == "") {
$bad_elements[] = "details";
$errors[] = "Please enter a more detailed description of your contributions.";
}
2007-03-02 20:17:51 +00:00
if ((!$contacts || $contacts == "") && $pointers == "") {
2004-09-15 12:10:15 +00:00
$bad_elements[] = "contacts";
2007-03-02 12:30:13 +00:00
$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.";
2004-09-15 12:10:15 +00:00
}
2007-03-02 19:56:58 +00:00
if ($contacts && $contacts != "" && (strpos ($contacts, '@') === FALSE)) {
2007-03-02 12:30:13 +00:00
$bad_elements[] = "contacts";
$errors[] = "Please provide e-mails of the contacts you've provided.";
2003-11-02 05:06:55 +00:00
}
2007-03-02 20:06:37 +00:00
$obfuscated_contact = preg_replace("/@/", " AT ", $contacts);
}
2006-04-19 06:05:17 +00:00
if ($spam != "not spam") {
$bad_elements[] = "spam";
$errors[] = "Please fill the \"not spam\" field.";
}
2003-11-02 05:06:55 +00:00
if (count($bad_elements) == 0) {
// make the mail
$formmail = "Contact Information:\n--------------------\n";
$formmail .= "Name: " . $name . "\n";
2003-11-11 20:54:50 +00:00
$formmail .= "E-mail: " . $obfuscated_email . "\n";
2003-11-02 05:06:55 +00:00
$formmail .= "irc.gnome.org nickname (if any): " . $ircnick . "\n";
2007-03-02 12:30:13 +00:00
$formmail .= "svn.gnome.org username (if any): " . $cvsuser . "\n";
2003-11-02 05:06:55 +00:00
$formmail .= "\n";
$formmail .= "Previous GNOME Foundation member: ";
if ($previousmember) {
$formmail .= "yes\n";
} else {
$formmail .= "no\n";
}
$formmail .= "\n";
$formmail .= "GNOME contributions:\n--------------------\n";
$formmail .= "\n";
$formmail .= "Summary:\n" . $summary . "\n";
$formmail .= "\n";
$formmail .= "Detailed description:\n" . $details . "\n";
$formmail .= "\n";
2007-03-02 12:48:23 +00:00
$formmail .= "Contacts:\n" . $obfuscated_contacts . "\n";
$formmail .= "\n";
$formmail .= "Pointers:\n" . $pointers . "\n";
2003-11-02 05:06:55 +00:00
$formmail .= "\n";
$formmail .= "Other comments:\n---------------\n";
$formmail .= $comments . "\n";
$formmail .= "\n";
2005-03-01 11:30:28 +00:00
$formmail .= "[Application received at " . date("D M j G:i:s Y") . " (Eastern time)]\n";
$formmail .= "\n";
$formmail .= "If you have any questions, you can contact the membership committee by\nreplying to this mail. Please note that the delay for your application\nto be processed can be up to one month.";
2003-11-02 05:06:55 +00:00
2003-11-11 21:19:21 +00:00
$headers = "From: GNOME Foundation Membership Committee Script <membership-committee@gnome.org>\nCc: $email\n";
2003-11-02 05:06:55 +00:00
if ($previousmember) {
2003-11-11 20:54:50 +00:00
$subject = "[RENEWAL] Application received from $name ($obfuscated_email)";
2003-11-02 05:06:55 +00:00
} else {
2003-11-11 20:54:50 +00:00
$subject = "Application received from $name ($obfuscated_email)";
2003-11-02 05:06:55 +00:00
}
// send the mail
2006-05-28 18:43:48 +00:00
mail("membership-applications@gnome.org", $subject, $formmail, $headers);
2003-11-02 05:06:55 +00:00
// print the thank you page
print ("
<p>
Thank you for your submission. It has been forwarded to the
membership committee, which will inform you when it has been
2005-03-01 11:30:28 +00:00
processed. The membership committee tries to process applications
within a month after their reception.
2003-11-02 05:06:55 +00:00
</p>
<p>
As a confirmation, you should receive your application by mail too.
</p>
<p>
2003-12-13 07:46:32 +00:00
If you have any questions, please e-mail the <a
href=\"mailto:membership-committee@gnome.org\">Membership Committee</a>.
2003-11-02 05:06:55 +00:00
</p>
<br /><br />
<class div=\"center\">
<a href=\"../\">Return to the GNOME Foundation home page</a>
</div>
");
}
}
2003-11-11 21:11:31 +00:00
if (! $submit || count($bad_elements) != 0) { ?>
2003-11-02 05:06:55 +00:00
<p>
To apply for membership in the GNOME Foundation, please complete the
following form as completely as possible. Your application will then be
reviewed by the Foundation's Membership and Elections Committee, which
will notify you when your application has been accepted or rejected; the
committee may also ask you for additional information. For details on the
standards used in evaluating applications, see the <a
href="index.html">GNOME Foundation membership policy</a>, adopted by the
Board of Directors.
</p>
<p>
If you have any questions regarding the application process, please feel
free to e-mail the committee at <a
2003-12-13 07:46:32 +00:00
href="mailto:membership-committee@gnome.org">membership-committee@gnome.org</a>.
2003-11-02 05:06:55 +00:00
</p>
2003-11-11 20:54:50 +00:00
<?php if (count($bad_elements) != 0) {
2003-11-02 05:06:55 +00:00
print("<font color=\"red\">");
foreach ($errors as $error) {
print("<li>$error</li>");
}
print("</font>");
}
?>
2004-09-20 09:51:59 +00:00
<h3>Note about privacy</h3>
<p>
2004-09-21 08:32:26 +00:00
The GNOME Foundation tries to be as transparent as possible. This
includes making it easy to find out who is a member of the Foundation
and why an application is accepted or denied.
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
2007-03-02 12:30:13 +00:00
application will be accessible through mail archives.
2004-09-20 09:51:59 +00:00
</p>
2003-11-11 20:54:50 +00:00
<form action="<?php echo $PHP_SELF; ?>" method="POST">
2003-11-02 05:06:55 +00:00
<h3>Contact Information</h3>
<table summary="Membership form">
<tr>
<td>Full Name:</td>
<td>
<input type="text" name="name" size="40"
2003-11-11 20:54:50 +00:00
value="<?php if ($name) { echo $name; } ?>" />
2003-11-02 05:06:55 +00:00
</td>
</tr>
<tr>
<td>E-mail address:</td>
<td>
<input type="text" name="email" size="40"
2003-11-11 20:54:50 +00:00
value="<?php if ($email) { echo $email; } ?>" />
2003-11-02 05:06:55 +00:00
</td>
</tr>
<tr>
<td>irc.gnome.org nickname (if any):</td>
<td>
<input type="text" name="ircnick" size="20"
2003-11-11 20:54:50 +00:00
value="<?php if ($ircnick) { echo $ircnick; } ?>" />
2003-11-02 05:06:55 +00:00
</td>
</tr>
<tr>
2007-03-02 12:30:13 +00:00
<td>svn.gnome.org username (if any):</td>
2003-11-02 05:06:55 +00:00
<td>
<input type="text" name="cvsuser" size="20"
2003-11-11 20:54:50 +00:00
value="<?php if ($cvsuser) { echo $cvsuser; } ?>" />
2003-11-02 05:06:55 +00:00
</td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td colspan="2">
<input type="checkbox" name="previousmember"
2004-04-18 18:33:55 +00:00
<?php if ($previousmember) { ?> checked="checked" <?php } ?> />
2003-11-02 05:06:55 +00:00
Previous GNOME Foundation member
</td>
</tr>
</table>
<h3>GNOME Contributions</h3>
<p>
Membership in the GNOME Foundation requires that the candidate has
contributed to a non-trivial improvement in the GNOME Project. Please
use the following sections to explain how you have contributed to the
project, providing enough detail to allow the committee to verify your
application.
</p>
<p>
Please provide a short list of areas of GNOME to which you have made a
non-trivial contribution (for entry into the public membership list).
For example, "Documentation, gnomecal, Debian packaging.":
</p>
2003-11-11 21:11:31 +00:00
<textarea name="summary" rows="3" cols="50"><?php if ($summary) { echo $summary; } ?></textarea>
2003-11-02 05:06:55 +00:00
<p>
Please provide a more detailed description of your contributions to
help the membership committee determine your eligibility. In general,
anything listed above should be explained here, and additional
contributions can be included. For example: "Wrote a chapter "How to
Use the GNOME Calendaring System" for the GNOME Users Guide. Several
patches for gnomecal related to color support. Packaged the 1.4 release
for Debian.":
</p>
2003-11-11 21:11:31 +00:00
<textarea name="details" rows="10" cols="50"><?php if ($details) { echo $details; } ?></textarea>
2003-11-02 05:06:55 +00:00
<p>
Please list individuals (frequently, but not necessarily, project
2007-03-02 12:48:23 +00:00
maintainers and foundation members) who can help the membership
committee determine your eligibility. You should provide their
name, e-mail address, and a brief description of their role as a
reference. If there is nobody you can think to list, feel free to
suggest another way for the committee to verify your contributions
clearly, such as a pointer to a project ChangeLog, etc. into second
field. Beware that applications without contacts take relatively
longer to process. To continue the earlier example: "Dan Mueth
(d-mueth@uchicago.edu) (GDP coordinator); Russell Steinthal
(rms39@columbia.edu) (gnome-pim maintainer); packaging logs
at http://www.debian.org/packages/gnome/":
2003-11-02 05:06:55 +00:00
</p>
2003-11-11 21:11:31 +00:00
<textarea name="contacts" rows="5" cols="50"><?php if ($contacts) { echo $contacts; } ?></textarea>
2007-03-02 20:09:10 +00:00
<p>
If there's nobody you can think of, please list pointers to your contributions here:
</p>
<textarea name="pointers" rows="5" cols="50"><?php if ($pointers) { echo $pointers; } ?></textarea>
2003-11-02 05:06:55 +00:00
<h3>Other Comments</h3>
<p>
Please feel free to include any additional information which you
believe the committee should consider while reviewing your application:
</p>
2004-04-18 18:33:55 +00:00
<p>
2003-11-11 21:11:31 +00:00
<textarea name="comments" rows="10" cols="50"><?php if ($comments) { echo $comments; } ?></textarea>
2004-04-18 18:33:55 +00:00
</p>
2006-04-19 06:05:17 +00:00
<table summary="Antispam form">
<tr>
<td>Please type "not spam" here:</td>
<td>
<input type="text" name="spam" size="20" value="" />
</td>
</tr>
</table>
2004-04-18 18:33:55 +00:00
2003-11-02 05:06:55 +00:00
<p>
<div class="center">
<input type="submit" name="submit" value="Submit Application" />
<input type="reset" />
</div>
</p>
</form>
2003-11-11 20:54:50 +00:00
<?php } ?>
2003-11-02 05:06:55 +00:00
</body>
2007-03-02 19:56:58 +00:00
</html>