]> git.mjollnir.org Git - moodle.git/commitdiff
Changes for XHTML compatibility
authormoodler <moodler>
Thu, 7 Oct 2004 08:46:30 +0000 (08:46 +0000)
committermoodler <moodler>
Thu, 7 Oct 2004 08:46:30 +0000 (08:46 +0000)
course/format/topics/format.php

index 3b2e65728d90403fdc6efa22f7c57a0eaca67789..0a563a648c3489e6225018dda0beb14c6f6140ab 100644 (file)
@@ -99,7 +99,7 @@
 
     if ($thissection->summary or $thissection->sequence or isediting($course->id)) {
         echo '<tr id="section_0">';
-        echo "<td nowrap bgcolor=\"$THEME->cellheading\" class=\"topicsoutlineside\" valign=\"top\" width=\"20\">&nbsp;</td>";
+        echo "<td nowrap=\"nowrap\" bgcolor=\"$THEME->cellheading\" class=\"topicsoutlineside\" valign=\"top\" width=\"20\">&nbsp;</td>";
         echo "<td valign=\"top\" bgcolor=\"$THEME->cellcontent\" class=\"topicsoutlinecontent\" width=\"100%\">";
 
         $summaryformatoptions->noclean = true;
         }
 
         echo "</td>";
-        echo "<td nowrap bgcolor=\"$THEME->cellheading\" class=\"topicsoutlineside\" valign=\"top\" align=\"center\" width=\"10\">";
+        echo "<td nowrap=\"nowrap\" bgcolor=\"$THEME->cellheading\" class=\"topicsoutlineside\" valign=\"top\" align=\"center\" width=\"10\">";
         echo "&nbsp;</td></tr>";
         echo "<tr><td colspan=\"3\"><img src=\"../pix/spacer.gif\" width=\"1\" height=\"1\" alt=\"\" /></td></tr>";
     }
             }
 
             echo "<tr>";
-            echo "<td nowrap $colorsides valign=\"top\" width=\"20\">";
+            echo "<td nowrap=\"nowrap\" $colorsides valign=\"top\" width=\"20\">";
             echo "<p align=\"center\"><font size=\"3\"><b><a name=\"$section\">$section</a></b></font></p>";
             echo "</td>";
 
 
                 echo "</td>";
             }
-            echo "<td nowrap $colorsides valign=\"top\" align=\"center\" width=\"10\">";
+            echo "<td nowrap=\"nowrap\" $colorsides valign=\"top\" align=\"center\" width=\"10\">";
             echo "<font size=\"1\">";
 
             if ($displaysection == $section) {      // Show the zoom boxes
 
             }
 
+            echo "</font>";
             echo "</td>";
             echo "</tr>";
             echo "<tr><td colspan=\"3\"><img src=\"../pix/spacer.gif\" width=\"1\" height=\"1\" alt=\"\"></td></tr>";