From: defacer Date: Thu, 27 Jan 2005 05:01:16 +0000 (+0000) Subject: Fixed SC#83 and the HTML to boot. I 'll add some styles to bring the X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=5b13d65b077a93ba5af2815b5baac4455450384e;p=moodle.git Fixed SC#83 and the HTML to boot. I 'll add some styles to bring the end result back to normal. --- diff --git a/doc/contents.php b/doc/contents.php index f101a467ab..dba83a7d43 100755 --- a/doc/contents.php +++ b/doc/contents.php @@ -5,7 +5,8 @@ if (! $info = document_file("files.php", false)) { error("404 - File Not Found"); } - + + $string = array(); if ($CFG->forcelogin) { require_login(); } @@ -13,14 +14,23 @@ include($info->filepath); print_header(); - + + $ulopen = false; + foreach ($string as $file => $filename) { - if (substr($file,0,1) == "-") { - echo '

'. - $filename.'

'; + if (substr($file,0,1) == "-") { + if($ulopen) { + echo ''; + } + echo '

'.$filename.'

'; + } + ?>