mirror of
https://git.code.sf.net/p/quake/website
synced 2025-02-17 09:21:29 +00:00
More stuff for the contact page -- people can now give a subject line.
This commit is contained in:
parent
8d8238c338
commit
0a8c112186
2 changed files with 30 additions and 7 deletions
33
contact.php
33
contact.php
|
@ -1,7 +1,12 @@
|
|||
<?
|
||||
if (isset ($clicked)) {
|
||||
StripSlashes ($message);
|
||||
mail ("quakeforge-user@lists.quakeforge.net", "Comments (Sent from the QuakeForge web site)", StripSlashes ($message), "From: $sender\r\nReply-To: $sender\r\n");
|
||||
StripSlashes ($subject);
|
||||
|
||||
if (!$subject)
|
||||
$subject = "No subject!";
|
||||
|
||||
mail ("quakeforge-user@lists.quakeforge.net", StripSlashes ($subject), StripSlashes ($message), "From: $sender\r\nReply-To: $sender\r\n");
|
||||
header ("Location: http://www.quakeforge.net/thanks.php");
|
||||
exit;
|
||||
}
|
||||
|
@ -34,14 +39,28 @@ mailing list.
|
|||
if you expect a reply.<br>
|
||||
|
||||
<FORM>
|
||||
<P>Your email address:
|
||||
<P><INPUT type="text" name="sender">
|
||||
<TABLE cellPadding="0" cellSpacing="0">
|
||||
<TR>
|
||||
<TD>
|
||||
<P>Your email address: <BR>
|
||||
<SPAN class="smallText">(will not be used for any purpose other than to send this email)</SPAN><BR>
|
||||
<INPUT type="text" name="sender" size="32">
|
||||
</TD>
|
||||
<TD vAlign="bottom" align="right">
|
||||
<DIV align="right"><INPUT type="submit" name="clicked" value="Send Message"></DIV>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD colSpan="2">
|
||||
<P>Subject:<BR>
|
||||
<INPUT type="text" name="subject" size="66" maxLength="72">
|
||||
|
||||
<P>Message:
|
||||
<P><TEXTAREA name="message" cols="64" rows="16"></TEXTAREA>
|
||||
<P><INPUT type="submit" name="clicked" value="Submit">
|
||||
<P>Message:<BR>
|
||||
<TEXTAREA name="message" cols="64" rows="16"></TEXTAREA>
|
||||
</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</FORM>
|
||||
|
||||
<!--NOSEARCH-->
|
||||
<?
|
||||
require "parts/postamble.php"; // Finish this sucker up
|
||||
|
|
|
@ -14,6 +14,10 @@ P {
|
|||
text-align: justify;
|
||||
}
|
||||
|
||||
SPAN.smallText {
|
||||
font-size: x-small;
|
||||
}
|
||||
|
||||
P.centered {
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
color: white;
|
||||
|
|
Loading…
Reference in a new issue