moodle/doc/contents.php
moodler ee8b1abe65 First round clean up of the docs
- new Coding Guidelines
  - new Philosophy page
  - new dedicated styles sheet for all pages
  - better table of contents in left frame
  - source fixups all over

The styles are very boring - I'll work on that next time!
Also, we'll get David's optimisation page and a student manual in there.
2003-10-01 18:00:41 +00:00

23 lines
643 B
PHP
Executable File

<?PHP // $Id$
require("../config.php");
if (! $info = document_file("files.php", false)) {
error("404 - File Not Found");
}
include($info->filepath);
print_header();
foreach ($string as $file => $filename) {
if (substr($file,0,1) == "-") {
echo '<p style="font-size:small;margin-bottom:0px;font-family:Trebuchet MS, Verdana, Arial, Helvetica, sans-serif;">'.
$filename.'</p>';
} else {
echo "<li style=\"font-size:small\"><a target=\"main\" href=\"$CFG->wwwroot/doc/?file=$file\">$filename</a></li>";
}
}
?>