key cleanup

This commit is contained in:
Bill Currie 2003-07-18 06:18:44 +00:00
parent 5b1a61143f
commit 0b0b13d4ca

View file

@ -24,12 +24,15 @@
}
}
function fileDownloadLinkGPG ($baseUrl, $extensions)
function fileDownloadLinkGPG ($baseUrl, $extensions $mode)
{
$extension = explode (' ', $extensions);
$count = count ($extension);
echo '<br>PGP Signatures (to verify archive authenticity) ';
if ($mode)
echo '<br>PGP Signatures (to verify archive authenticity) ';
else
echo 'PGP ';
for ($i = 0 ; $i < $count ; $i++) {
if ($i == 0) {
echo '[ ';
@ -94,32 +97,32 @@ very few people on Windows would be able to play. <STRONG>:)</STRONG>
<LI>Source code
<?
fileDownloadLink("http://download.sourceforge.net/quake/quakeforge-0.5.4", "tar.bz2 tar.gz zip");
fileDownloadLinkGPG("http://download.sourceforge.net/quake/quakeforge-0.5.4", "tar.bz2 tar.gz zip");
fileDownloadLinkGPG("http://download.sourceforge.net/quake/quakeforge-0.5.4", "tar.bz2 tar.gz zip", 1);
?>
</LI>
<LI>Win32 binaries (Made with <A href="http://www.mingw.org/">MinGW</A> (GCC) in Linux)
<?
echo '<br>SDL (sw) client';
fileDownloadLink("http://download.sourceforge.net/quake/quakeforge-client-sdl-0.5.4-win32", "zip");
fileDownloadLinkGPG("http://download.sourceforge.net/quake/quakeforge-client-sdl-0.5.4-win32", "zip");
fileDownloadLinkGPG("http://download.sourceforge.net/quake/quakeforge-client-sdl-0.5.4-win32", "zip", 0);
echo '<br>SDL32 (32 bpp sw) client';
fileDownloadLink("http://download.sourceforge.net/quake/quakeforge-client-sdl32-0.5.4-win32", "zip");
fileDownloadLinkGPG("http://download.sourceforge.net/quake/quakeforge-client32-sdl-0.5.4-win32", "zip");
fileDownloadLinkGPG("http://download.sourceforge.net/quake/quakeforge-client32-sdl-0.5.4-win32", "zip", 0);
echo '<br>SGL (SDL OpenGL) client';
fileDownloadLink("http://download.sourceforge.net/quake/quakeforge-client-sgl-0.5.4-win32", "zip");
fileDownloadLinkGPG("http://download.sourceforge.net/quake/quakeforge-client-sgl-0.5.4-win32", "zip");
fileDownloadLinkGPG("http://download.sourceforge.net/quake/quakeforge-client-sgl-0.5.4-win32", "zip", 0);
echo '<br>WGL (native OpenGL) client';
fileDownloadLink("http://download.sourceforge.net/quake/quakeforge-client-wgl-0.5.4-win32", "zip");
fileDownloadLinkGPG("http://download.sourceforge.net/quake/quakeforge-client-wgl-0.5.4-win32", "zip");
fileDownloadLinkGPG("http://download.sourceforge.net/quake/quakeforge-client-wgl-0.5.4-win32", "zip", 0);
echo '<br>servers';
fileDownloadLink("http://download.sourceforge.net/quake/quakeforge-server-0.5.4-win32", "zip");
fileDownloadLinkGPG("http://download.sourceforge.net/quake/quakeforge-server-0.5.4-win32", "zip");
fileDownloadLinkGPG("http://download.sourceforge.net/quake/quakeforge-server-0.5.4-win32", "zip", 0);
echo '<br>tools';
fileDownloadLink("http://download.sourceforge.net/quake/quakeforge-tools-0.5.4-win32", "zip");
fileDownloadLinkGPG("http://download.sourceforge.net/quake/quakeforge-tools-0.5.4-win32", "zip");
fileDownloadLinkGPG("http://download.sourceforge.net/quake/quakeforge-tools-0.5.4-win32", "zip", 0);
echo '<br>libs and header files';
fileDownloadLink("http://download.sourceforge.net/quake/quakeforge-devel-0.5.4-win32", "zip");
fileDownloadLinkGPG("http://download.sourceforge.net/quake/quakeforge-devel-0.5.4-win32", "zip");
fileDownloadLinkGPG("http://download.sourceforge.net/quake/quakeforge-devel-0.5.4-win32", "zip", 0);
?>
</LI>
<LI><A href="http://www.debian.org/">Debian GNU/Linux</A> packages for the
@ -133,7 +136,7 @@ very few people on Windows would be able to play. <STRONG>:)</STRONG>
you will have to download <TT>menu.dat</TT>
<?
fileDownloadLink("files/menu.dat", "gz");
fileDownloadLinkGPG("files/menu.dat", "gz");
fileDownloadLinkGPG("files/menu.dat", "gz", 1);
?>
<BR>This goes into your <TT>id1</TT> directory. However, this will override any
<TT>menu.dat</TT> we supply in the future which will possibly cause
@ -143,7 +146,7 @@ very few people on Windows would be able to play. <STRONG>:)</STRONG>
files on BSD systems (seen as linking errors in the ruamoko directory).
<?
fileDownloadLink("files/Qseek", "diff");
fileDownloadLinkGPG("files/Qseek", "diff");
fileDownloadLinkGPG("files/Qseek", "diff", 1);
?>
</LI>
</UL>
@ -152,13 +155,13 @@ very few people on Windows would be able to play. <STRONG>:)</STRONG>
<LI>Source code
<?
fileDownloadLink("http://download.sourceforge.net/quake/quakeforge-0.5.2", "tar.bz2 tar.gz zip");
fileDownloadLinkGPG("http://download.sourceforge.net/quake/quakeforge-0.5.2", "tar.bz2 tar.gz zip");
fileDownloadLinkGPG("http://download.sourceforge.net/quake/quakeforge-0.5.2", "tar.bz2 tar.gz zip", 1);
?>
</LI>
<LI>Win32 binaries (Made with <A href="http://www.mingw.org/">MinGW</A> (GCC) in Linux)
<?
fileDownloadLink("http://download.sourceforge.net/quake/quakeforge-0.5.2-win32", "zip");
fileDownloadLinkGPG("http://download.sourceforge.net/quake/quakeforge-0.5.2-win32", "zip");
fileDownloadLinkGPG("http://download.sourceforge.net/quake/quakeforge-0.5.2-win32", "zip", 1);
?>
</LI>
<LI><A href="http://www.debian.org/">Debian GNU/Linux</A> packages for the
@ -172,7 +175,7 @@ very few people on Windows would be able to play. <STRONG>:)</STRONG>
you will have to download <TT>menu.dat</TT>
<?
fileDownloadLink("files/menu.dat", "gz");
fileDownloadLinkGPG("files/menu.dat", "gz");
fileDownloadLinkGPG("files/menu.dat", "gz", 1);
?>
<BR>This goes into your <TT>id1</TT> directory. However, this will override any
<TT>menu.dat</TT> we supply in the future which will possibly cause
@ -182,7 +185,7 @@ very few people on Windows would be able to play. <STRONG>:)</STRONG>
files on BSD systems (seen as linking errors in the ruamoko directory).
<?
fileDownloadLink("files/Qseek", "diff");
fileDownloadLinkGPG("files/Qseek", "diff");
fileDownloadLinkGPG("files/Qseek", "diff", 1);
?>
</LI>
</UL>