From 5b13d65b077a93ba5af2815b5baac4455450384e Mon Sep 17 00:00:00 2001 From: defacer Date: Thu, 27 Jan 2005 05:01:16 +0000 Subject: [PATCH] Fixed SC#83 and the HTML to boot. I 'll add some styles to bring the end result back to normal. --- doc/contents.php | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) 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.'

'; + } + ?> -- 2.39.5