From 954ec82fd0292b59c4e4fafbbf45836a597a13eb Mon Sep 17 00:00:00 2001 From: stronk7 Date: Sat, 29 Apr 2006 15:54:52 +0000 Subject: [PATCH] body and html close were being printed twice! Number of XHTML errors highly reduced by the form-table mix remains... --- files/index.php | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/files/index.php b/files/index.php index 6279021bde..db4c77fc31 100644 --- a/files/index.php +++ b/files/index.php @@ -39,15 +39,9 @@ } function html_footer() { - global $course, $choose; - if ($choose) { - echo ""; - } else { - echo ""; - print_footer($course); - } + print_footer($course); } function html_header($course, $wdir, $formfield=""){ @@ -852,6 +846,7 @@ function displaydir ($wdir) { echo " "; echo ""; } + echo ""; echo ""; echo "
"; echo ' '; -- 2.39.5