OK, the new form works - ditch the old one.

This commit is contained in:
Mike Newman 2002-08-19 16:33:47 +00:00
parent 4e0fff4c25
commit 648750999a
3 changed files with 5 additions and 229 deletions

View file

@ -1,7 +1,10 @@
2002-08-19 Mike Newman <mike@gtnorthern.demon.co.uk>
* cgi-bin/membership-form-handler.cgi:
* membership-form.html: OK, it works. Remove the old form and handler.
2002-08-18 Vincent Untz <vincent@vuntz.net>
* cgi-bin/membership-form-handler.cgi
* membership-form.html : removed the old form
* membership-form.php: added the new form (it checks if fields
are correctly filled).
* electionrules.html

View file

@ -1,84 +0,0 @@
#!/usr/bin/perl
#
# A *really* simple CGI handler for the GNOME Foundation membership
# form.
#
# Author: Russell Steinthal <rms39@columbia.edu>
#
#
my $MAIL_COMMAND = "/usr/lib/sendmail";
use CGI qw /-debug/;
my $form = new CGI;
$form->import_names ("FORM");
print $form->header;
my $date = localtime;
open MAIL, "|$MAIL_COMMAND";
print MAIL <<HEADER;
From: gnome-membership\@gnome.org (GNOME Membership Script)
To: membership\@gnome.org (GNOME Membership Committee)
HEADER
if ($FORM::previousmember eq "on") {
print MAIL "Subject: [RENEWAL] Application received from $FORM::name ($FORM::email)\n";
} else {
print MAIL "Subject: Application received from $FORM::name ($FORM::email)\n";
}
print MAIL <<CONTACT;
Contact Information:
--------------------
Name: $FORM::name
E-mail: $FORM::email
irc.gnome.org nickname (if any): $FORM::ircnick
cvs.gnome.org username (if any): $FORM::cvsuser
CONTACT
if ($FORM::previousmember eq "on") {
print MAIL "Previous GNOME Foundation member: yes\n";
} else {
print MAIL "Previous GNOME Foundation member: no\n";
}
print MAIL <<END;
GNOME contributions:
--------------------
Summary:
$FORM::summary
Detailed description:
$FORM::details
Contacts:
$FORM::contacts
Other comments:
---------------
$FORM::comments
[Application received at $date (Eastern time)]
END
close MAIL;
print "<html>\n";
print "<head><title>Application Received</title></head>\n";
print "<body bgcolor=\"#FFFFFF\">";
print "<h1>Thank you</h1>\n";
print "<p>Thank you for your submission. It has been forwarded to the membership committee, which will inform you when it has been processed.</p>\n";
print "<p>If you have any questions, please e-mail <a href=\"mailto:membership\@gnome.org\">membership\@gnome.org.</p>\n";
print "<br> <br>\n";
print "<center><a href=\"http://foundation.gnome.org\">Return to the GNOME Foundation home page</a></center>\n";
print "</body>\n";
print "</html>\n";

View file

@ -1,143 +0,0 @@
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<title>The GNOME Foundation: Membership Application</title>
</head>
<body bgcolor="#FFFFFF">
<center>
<table BORDER=2 CELLPADDING=5 WIDTH="595" NOSAVE >
<tr VALIGN=TOP NOSAVE>
<td VALIGN=TOP NOSAVE>
<center>
<a href="http://www.gnome.org">
<img SRC="gnome.jpg" ALT="" height=250 width=198 border=0></a><img
SRC="text.png" ALT="The GNOME Foundation" height=198 width=354>
</center>
</td>
</tr>
<tr>
<td>
<center>
<a href="index.html">Home</a> :&nbsp;
<a href="press.html">Press</a> :&nbsp;
<a href="organization.html">Organization</a> :&nbsp;
<a href="documentation.html">Documentation</a> :&nbsp;
Membership :&nbsp;
<a href="elections.html">Elections</a> :&nbsp;
<a href="directory.html">Directory</a>
</center>
<br>
<center>
<a href="membership.html">Membership Information</a> :&nbsp;
<a href="membership-policy.html">Membership Policy</a> :&nbsp;
Membership Application
</center>
</td>
</tr>
<!-- End of Boilerplate -->
<tr>
<td>
<br>
<h2 align="center">GNOME Foundation Membership Application</h2>
<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="membership-policy.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
href="mailto:membership@gnome.org">membership@gnome.org</a>.</p>
<form action="/cgi-bin/membership-form-handler.cgi" method=get>
<h3>Contact Information</h3>
<table>
<tr><td>Full Name:</td><td><input name="name" length=80></td></tr>
<tr><td>E-mail address:</td><td><input name="email" length=80></td></tr>
<tr><td>irc.gnome.org nickname (if any):</td><td><input name="ircnick"
length=50></td></tr>
<tr><td>cvs.gnome.org username (if any):</td><td><input name="cvsuser"
length=50></td></tr>
<tr><td colspan="2">&nbsp;</td></tr>
<tr><td colspan="2"><input type="checkbox" name="previousmember"> 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>
<textarea rows=3 cols=50 name="summary">
</textarea>
<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>
<textarea rows=10 cols=50 name="details">
</textarea>
<p>Please list individuals (frequently, but not necessarily, project
maintainers) 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, such as a pointer to a project
ChangeLog, etc. 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/":</p>
<textarea rows=5 cols=50 name="contacts">
</textarea>
<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>
<textarea rows=10 cols=50 name="comments">
</textarea>
<center>
<input type=submit value="Submit Application"><input type=reset>
</center>
</td>
</tr>
<!-- Start of Boilerplate -->
<tr>
<td>
<center><font size=-1>This site is maintained by
<a href="mailto:membership@gnome.org">the GNOME Foundation Membership and Elections Committee</a>
and was designed by <a href="mailto:jpsc@users.sourceforge.net">JP
Schnapper-Casteras</a> and <a href="mailto:bart@eazel.com">Bart Decrem</a>.</font></center>
</td>
</tr>
</table>
</center>
</body>
</html>