]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-7861, fixing xhtml strict problems in scales
authortoyomoyo <toyomoyo>
Tue, 19 Dec 2006 04:37:28 +0000 (04:37 +0000)
committertoyomoyo <toyomoyo>
Tue, 19 Dec 2006 04:37:28 +0000 (04:37 +0000)
course/scales.php

index babed3209378082a1923fce5f0dd35cd6867af96..6d8ae10c6c583b15f76b38455f15b9c7079271fe 100644 (file)
 
         close_window_button();
 
-        echo "<p>";
+        echo "<p/>";
         print_simple_box_start("center");
         print_heading($scale->name);
         echo "<center>";
         echo "</center>";
         echo text_to_html($scale->description);
         print_simple_box_end();
-        echo "<p>";
+        echo "<p/>";
 
         close_window_button();
 
         echo "<td><textarea name=\"description\" cols=\"50\" rows=\"8\" wrap=\"virtual\">".s($scale->description)."</textarea>";
         echo "</td>";
         echo "</tr>";
-        echo "<tr>";
         if ($scale->id) {
             echo "<tr valign=\"top\">";
             echo "<td align=\"right\">";
     print_simple_box_start('center');
     print_single_button($CFG->wwwroot.'/course/scales.php',$options,$srtcreatenewscale,'POST');
     print_simple_box_end();
-    echo "<p>";
+    echo "<p />";
 
     if (!empty($notify)) {
         notify($notify, "green");