]> git.mjollnir.org Git - moodle.git/commitdiff
body and html close were being printed twice! Number of XHTML
authorstronk7 <stronk7>
Sat, 29 Apr 2006 15:54:52 +0000 (15:54 +0000)
committerstronk7 <stronk7>
Sat, 29 Apr 2006 15:54:52 +0000 (15:54 +0000)
errors highly reduced by the form-table mix remains...

files/index.php

index 6279021bdec1bd9368326628656c2fe615361266..db4c77fc31153d896b6cafcfc6d3218c64932710 100644 (file)
     }
 
     function html_footer() {
-
         global $course, $choose;
 
-        if ($choose) {
-            echo "</td></tr></table></body></html>";
-        } else {
-            echo "</td></tr></table></body></html>";
-            print_footer($course);
-        }
+        print_footer($course);
     }
     
     function html_header($course, $wdir, $formfield=""){
@@ -852,6 +846,7 @@ function displaydir ($wdir) {
         echo " <input type=\"submit\" value=\"$strmovefilestohere\" />";
         echo "</form>";
     }
+    echo "</td>";
     echo "<td align=\"right\">";
         echo "<form action=\"index.php\" method=\"get\">";
         echo ' <input type="hidden" name="choose" value="'.$choose.'" />';