diff --git a/documentation.php b/documentation.php
index 674d9ec..c2a302b 100644
--- a/documentation.php
+++ b/documentation.php
@@ -8,111 +8,106 @@
function doc_list ($title, $list, $type)
{
- tableBoxHeader (featureBgColor, featureHeadColor);
+?>
+
+
tableTitle ($title, 1, featureHeadColor);
- ?>
- tableHeader("100%", featureBgColor);
- ?> |
-
-
-
- reset ($list);
- while (list (, $cdl) = each ($list)) {
- if (is_file ('doc/' . $cdl . '-' . $type . '.txt')) {
- echo '- ';
- echo '' . $cdl . '';
- echo '
';
- }
- }
-
- ?>
- |
-
- tableFooter ();
- ?>
+?>
+
+
+ reset ($list);
+ while (list (, $cdl) = each ($list)) {
+ if (is_file ('doc/' . $cdl . '-' . $type . '.txt')) {
+ echo '- ';
+ echo '' . $cdl . '';
+ echo '
';
+ }
+ }
+ ?>
+ |
+
tableBoxFooter ();
}
function program_doc_list ($title, $list, $notes)
{
tableBoxHeader (featureBgColor, featureHeadColor);
- tableTitle ($title, 1, featureHeadColor);
- ?>
- if (is_file ('doc/' . $notes . '-notes' . '.txt')) {
- $lines = file ('doc/' . $notes . '-notes' . '.txt');
- reset ($lines);
- while (list (, $line) = each ($lines)) {
- print $line;
+ tableTitle ($title, 2, featureHeadColor);
+?>
+ |
+
+
+ if (is_file ('doc/' . $notes . '-notes' . '.txt')) {
+ $lines = file ('doc/' . $notes . '-notes' . '.txt');
+ reset ($lines);
+ while (list (, $line) = each ($lines)) {
+ print $line;
+ }
+ } else {
+ echo " There are no errata for this release.";
}
- }
- tableHeader("100%", featureBgColor);
- ?> |
-
- doc_list ("cvar documentation", $list, "cvar");
- ?> |
-
- doc_list ("command documentation", $list, "cmd");
- ?> |
-
- tableFooter ();
- ?>
+ ?>
+
+
+
+ doc_list ("Cvar Documentation", $list, "cvar"); ?>
+ |
+
+ doc_list ("Command Documentation", $list, "cmd"); ?>
+ |
+
+
tableBoxFooter ();
}
?>
-
-
-
- $program_list = array (
- "nq-3dfx",
- "nq-ggi",
- "nq-glx",
- "nq-mgl",
- "nq-sdl",
- "nq-sdl32",
- "nq-sgl",
- "nq-svga",
- "nq-wgl",
- "nq-x11",
- "nq-server",
- "qw-client-3dfx",
- "qw-client-ggi",
- "qw-client-glx",
- "qw-client-mgl",
- "qw-client-sdl",
- "qw-client-sdl32",
- "qw-client-sgl",
- "qw-client-svga",
- "qw-client-wgl",
- "qw-client-x11",
- "qw-master",
- "qw-server"
- );
- program_doc_list ("QuakeForge 0.5", $program_list, "quakeforge");
- ?> |
-
+
+ $program_list = array (
+ "nq-3dfx",
+ "nq-ggi",
+ "nq-glx",
+ "nq-mgl",
+ "nq-sdl",
+ "nq-sdl32",
+ "nq-sgl",
+ "nq-svga",
+ "nq-wgl",
+ "nq-x11",
+ "nq-server",
+ "qw-client-3dfx",
+ "qw-client-ggi",
+ "qw-client-glx",
+ "qw-client-mgl",
+ "qw-client-sdl",
+ "qw-client-sdl32",
+ "qw-client-sgl",
+ "qw-client-svga",
+ "qw-client-wgl",
+ "qw-client-x11",
+ "qw-master",
+ "qw-server"
+ );
+ program_doc_list ("QuakeForge 0.5", $program_list, "quakeforge");
+?>
+
+
+ $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"
+ );
-
-
- $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"
- );
-
- program_doc_list ("QuakeForge 0.3", $program_list, "");
- ?> |
-
-
+ program_doc_list ("QuakeForge 0.3", $program_list, "");
+?>
require("parts/postamble.php"); // Finish this sucker up
?>
diff --git a/lib/table.php b/lib/table.php
index e115284..c4c5a1c 100644
--- a/lib/table.php
+++ b/lib/table.php
@@ -34,10 +34,7 @@
*/
function tableBoxHeader ($bgColor, $borderColor)
{
- echo '' .
- ' ' .
- ' ' .
- ' ';
+ echo '';
}
/*
@@ -47,10 +44,7 @@
*/
function tableBoxFooter ()
{
- echo ' ' .
- ' ' .
- ' ' .
- ' ';
+ echo ' |
';
}
/*
diff --git a/styles/quakeforge.css b/styles/quakeforge.css
index 1be5d71..32dc16f 100644
--- a/styles/quakeforge.css
+++ b/styles/quakeforge.css
@@ -1,6 +1,5 @@
BODY {
background: black;
- background-image: none;
color: white;
}
@@ -21,9 +20,31 @@ P.centered {
text-align: center;
}
-TD.featureBox {
- font-size: small;
- background: rgb(38,40,51);
+TABLE.featureBox {
+ background: #737b9c;
+ border: solid #737b9c 1px;
+ margin: 0px;
+ padding: 0px;
+}
+
+TABLE.featureBox TH {
+ border: none;
+ margin: 0px;
+ padding: 0px;
+}
+
+TABLE.featureBox TD {
+ background: #262633;
+ border: solid #737b9c 1px;
+ margin: 0px;
+ padding: 6pt;
+}
+
+TABLE.featureBox TD.inside {
+ background: #262633;
+ border: none;
+ margin: 1px;
+ padding: 1pt;
}
H1,H2,H3,H4,H5,H6 { font-family: Arial, Helvetica, sans-serif; }