Added link to Cloze
[moodle.git] / doc / contents.php
blobbbde6f7797c2f18dafdf90003043121a157cc232
1 <?PHP // $Id$
3 require("../config.php");
5 if (! $info = document_file("files.php", false)) {
6 error("404 - File Not Found");
9 include($info->filepath);
11 print_header();
13 foreach ($string as $file => $filename) {
14 if (substr($file,0,1) == "-") {
15 echo '<p style="font-size:small;margin-bottom:0px;font-family:Trebuchet MS, Verdana, Arial, Helvetica, sans-serif;">'.
16 $filename.'</p>';
17 } else {
18 echo "<li style=\"font-size:small\"><a target=\"main\" href=\"$CFG->wwwroot/doc/?file=$file\">$filename</a></li>";