mirror of
https://git.code.sf.net/p/quake/website
synced 2024-11-27 22:42:57 +00:00
Updates to the web site. We now have our own list subscription system,
and the menu knows what page you're on, to an extent. :)
This commit is contained in:
parent
f506b7c7f1
commit
44584e9b91
2 changed files with 156 additions and 0 deletions
59
lists/index.php
Normal file
59
lists/index.php
Normal file
|
@ -0,0 +1,59 @@
|
|||
<? // Preamble
|
||||
$pageName = "Mailing Lists";
|
||||
$focused = "none"; // Dock icon name to get a border
|
||||
$currPage = "lists"; // Name of the page, for the menu
|
||||
require "../parts/preamble.php"; // Load most of document
|
||||
|
||||
function mailListLinks ($listName)
|
||||
{
|
||||
$subUrl = '/lists/subscribe.php?list=';
|
||||
$archiveUrl = 'http://www.geocrawler.com/redir-sf.php3?list=';
|
||||
|
||||
echo '[ ';
|
||||
echo '<A href="' . $subUrl . $listName . '">subscribe</A>';
|
||||
echo ' | ';
|
||||
echo '<A href="' . $archiveUrl . $listName . '">archives</A>';
|
||||
echo ' ]';
|
||||
}
|
||||
?>
|
||||
<!--SEARCHME-->
|
||||
|
||||
The QuakeForge Project has several email lists, which we use to keep in touch
|
||||
with each other and the community. This page is a list of them.
|
||||
|
||||
<H4>QuakeForge Announcements <? mailListLinks ('quake-announce'); ?></H4>
|
||||
|
||||
<P>From time to time, the QuakeForge team make announcements. This, along with
|
||||
the development list, is where they are sent. If you want to know about them,
|
||||
subscribe here.
|
||||
|
||||
<H4>QuakeForge Bugs <? mailListLinks ('quake-bugs'); ?></H4>
|
||||
|
||||
<P>We hate to admit it, but even our code sometimes has bugs in it. This mailing
|
||||
list is for discussing those bugs. Also, the QuakeForge bug-tracking system
|
||||
sends mail to this list whenever the bug database is updated.
|
||||
|
||||
<H4>QuakeForge CVS Updates <? mailListLinks ('quake-cvs'); ?></H4>
|
||||
|
||||
<P>If you would like to get an email every time something happens in the
|
||||
QuakeForge CVS, subscribe to this mailing list. Because a mail is sent out
|
||||
every time any file is changed, this list tends to be pretty high-traffic. Each
|
||||
email contains a list of files changed, and what was changed.
|
||||
|
||||
<H4>QuakeForge Development <? mailListLinks ('quake-devel'); ?></H4>
|
||||
|
||||
<P>This is where the main development work is discussed. Tempers run high
|
||||
occasionally, and technical discussion is the order of the day. If you are
|
||||
interested in helping, have a patch, or are concerned with the direction the
|
||||
development is taking, this is the place you want to be.
|
||||
|
||||
<H4>QuakeForge User Discussion <? mailListLinks ('quake-user'); ?></H4>
|
||||
|
||||
<P>If you are more interested in playing the game than talking about development
|
||||
stuff, you want to be here. Many of the QuakeForge developers are here, and
|
||||
aside from our IRC channel, this is the closest thing to a tech support hotline
|
||||
that we have. There may also be discussion between players here.
|
||||
<!--NOSEARCH-->
|
||||
<?
|
||||
require "../parts/postamble.php"; // Finish this sucker up
|
||||
?>
|
97
lists/subscribe.php
Normal file
97
lists/subscribe.php
Normal file
|
@ -0,0 +1,97 @@
|
|||
<? // Preamble
|
||||
$pageName = "Mailing Lists";
|
||||
$focused = "none"; // Dock icon name to get a border
|
||||
$currPage = "none";
|
||||
require "../parts/preamble.php"; // Load most of document
|
||||
|
||||
if (!$list || !(preg_match("/^quake-(announce|bugs|cvs|devel|user)$/i", $list))) {
|
||||
echo "Bad Beavis! Go away.\n";
|
||||
require "../parts/postamble.php";
|
||||
exit();
|
||||
} else {
|
||||
$list = strToLower ($list);
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
<FORM method="post" action="http://lists.sourceforge.net/lists/subscribe/<? echo $list; ?>">
|
||||
<?
|
||||
tableBoxHeader (featureBgColor, tableHeadColor);
|
||||
tableTitle ('Subscribing to ' . ucWords ($list), 1, tableHeadColor);
|
||||
?>
|
||||
<TD align="center">
|
||||
<?
|
||||
tableHeader ("90%", featureBgColor);
|
||||
?>
|
||||
<TR vAlign="middle">
|
||||
<TD align="right" width="50%">
|
||||
<STRONG>E-mail Address:</STRONG>
|
||||
</TD>
|
||||
<TD align="left" width="50%">
|
||||
<INPUT name="email" type="text" size="30">
|
||||
</TD>
|
||||
</TR>
|
||||
<TR vAlign="middle">
|
||||
<TD align="center" colSpan="2">
|
||||
This address <STRONG>will be kept private</STRONG>.
|
||||
<BR><BR>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR vAlign="middle">
|
||||
<TD align="right">
|
||||
<STRONG>Password:</STRONG>
|
||||
</TD>
|
||||
<TD align="left">
|
||||
<INPUT name="pw" type="text" size="15">
|
||||
</TD>
|
||||
</TR>
|
||||
<TR vAlign="middle">
|
||||
<TD align="right">
|
||||
<STRONG>Confirm password:</STRONG>
|
||||
</TD>
|
||||
<TD align="left">
|
||||
<INPUT name="pw-conf" type="text" size="15">
|
||||
</TD>
|
||||
</TR>
|
||||
<TR vAlign="middle">
|
||||
<TD colSpan="2">
|
||||
<H5>On choosing a password:</H5>
|
||||
<P>You need to enter a privacy password. This provides only
|
||||
mild security, but should prevent others from messing with your
|
||||
subscription. <STRONG>Do not use a valuable password</STRONG>,
|
||||
because it <STRONG>is</STRONG> possible (though a bit unlikely)
|
||||
for others to see it in transit.</P><BR>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR vAlign="middle">
|
||||
<TD align="right">
|
||||
<STRONG>Digest mode?</STRONG>
|
||||
</TD>
|
||||
<TD align="left">
|
||||
<INPUT type="radio" name="digest" value="1"> Yes
|
||||
<INPUT type="radio" name="digest" value="0" CHECKED> No
|
||||
</TD>
|
||||
</TR>
|
||||
<TR vAlign="middle">
|
||||
<TD colSpan="2">
|
||||
<H5>Digest mode:</H5>
|
||||
<P>"Digest Mode" is a different way of reading <? echo $list; ?>.
|
||||
Instead of receiving an email every time someone posts to the list,
|
||||
you will receive an email once per day containing all list messages
|
||||
posted that day.</P><BR>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR vAlign="middle">
|
||||
<TD colSpan="2" align="center">
|
||||
<INPUT type="submit" name="email-button" value="Subscribe">
|
||||
</TD>
|
||||
</TR>
|
||||
<?
|
||||
tableFooter ();
|
||||
tableBoxFooter ();
|
||||
?>
|
||||
</FORM>
|
||||
<!--NOSEARCH-->
|
||||
<?
|
||||
require "../parts/postamble.php"; // Finish this sucker up
|
||||
?>
|
Loading…
Reference in a new issue