mirror of
https://git.code.sf.net/p/quake/website
synced 2024-11-13 00:24:12 +00:00
24d0b67b09
beta7. Others will be forthcoming.
50 lines
1 KiB
PHP
50 lines
1 KiB
PHP
<? // Preamble
|
|
$pageName = "Documentation";
|
|
$focused = "none"; // Dock icon name to gets a border
|
|
require("parts/preamble.php"); // Load most of document
|
|
?>
|
|
|
|
<?
|
|
$program_list = array (
|
|
"qf-client-3dfx",
|
|
"qf-client-ggi",
|
|
"qf-client-glx",
|
|
"qf-client-mgl",
|
|
"qf-client-sdl",
|
|
"qf-client-sgl",
|
|
"qf-client-svga",
|
|
"qf-client-wgl",
|
|
"qf-client-x11",
|
|
"qf-server"
|
|
);
|
|
?>
|
|
<P>cvar documentation</P>
|
|
<UL>
|
|
<?
|
|
reset ($program_list);
|
|
while (list (, $cdl) = each ($program_list)) {
|
|
if (is_file ('doc/' . $cdl . '-cvar.txt')) {
|
|
echo '<LI>';
|
|
echo '<A href="cvar.php?program=' . $cdl . '">' . $cdl . '</A>';
|
|
echo '</LI>';
|
|
}
|
|
}
|
|
?>
|
|
</UL>
|
|
<P>command documentation</P>
|
|
<UL>
|
|
<?
|
|
reset ($program_list);
|
|
while (list (, $cdl) = each ($program_list)) {
|
|
if (is_file ('doc/' . $cdl . '-cmd.txt')) {
|
|
echo '<LI>';
|
|
echo '<A href="cmd.php?program=' . $cdl . '">' . $cdl . '</A>';
|
|
echo '</LI>';
|
|
}
|
|
}
|
|
?>
|
|
</UL>
|
|
|
|
<?
|
|
require("parts/postamble.php"); // Finish this sucker up
|
|
?>
|