From: stronk7 Date: Sat, 29 Apr 2006 15:54:52 +0000 (+0000) Subject: body and html close were being printed twice! Number of XHTML X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=954ec82fd0292b59c4e4fafbbf45836a597a13eb;p=moodle.git body and html close were being printed twice! Number of XHTML errors highly reduced by the form-table mix remains... --- 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 ' ';