From: moodler <moodler> Date: Thu, 7 Oct 2004 09:18:33 +0000 (+0000) Subject: Changes for XHTML compatibility X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=44ff1b8791a03be8b428d2b9e982f5b1ee3f8b5c;p=moodle.git Changes for XHTML compatibility --- diff --git a/course/format/topics/format.php b/course/format/topics/format.php index 0a563a648c..433f03cb6d 100644 --- a/course/format/topics/format.php +++ b/course/format/topics/format.php @@ -252,7 +252,7 @@ echo "</font>"; echo "</td>"; echo "</tr>"; - echo "<tr><td colspan=\"3\"><img src=\"../pix/spacer.gif\" width=\"1\" height=\"1\" alt=\"\"></td></tr>"; + echo "<tr><td colspan=\"3\"><img src=\"../pix/spacer.gif\" width=\"1\" height=\"1\" alt=\"\" /></td></tr>"; } $section++; diff --git a/course/format/weeks/format.php b/course/format/weeks/format.php index 95f8422cc8..c9a7e69846 100644 --- a/course/format/weeks/format.php +++ b/course/format/weeks/format.php @@ -88,7 +88,7 @@ if ($thissection->summary or $thissection->sequence or isediting($course->id)) { echo "<tr>"; - echo "<td nowrap bgcolor=\"$THEME->cellheading\" class=\"weeklyoutlineside\" valign=\"top\" width=\"20\"> </td>"; + echo "<td nowrap=\"nowrap\" bgcolor=\"$THEME->cellheading\" class=\"weeklyoutlineside\" valign=\"top\" width=\"20\"> </td>"; echo "<td valign=\"top\" bgcolor=\"$THEME->cellcontent\" class=\"weeklyoutlinecontent\" width=\"100%\">"; $summaryformatoptions->noclean = true; @@ -107,7 +107,7 @@ } echo "</td>"; - echo "<td nowrap bgcolor=\"$THEME->cellheading\" class=\"weeklyoutlineside\" valign=\"top\" align=\"center\" width=\"10\">"; + echo "<td nowrap=\"nowrap\" bgcolor=\"$THEME->cellheading\" class=\"weeklyoutlineside\" valign=\"top\" align=\"center\" width=\"10\">"; echo " </td></tr>"; echo "<tr><td colspan=\"3\"><img src=\"../pix/spacer.gif\" width=\"1\" height=\"1\" alt=\"\" /></td></tr>"; } @@ -169,7 +169,7 @@ } 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\"><a name=\"$section\">$section</a></font></p>"; echo "</td>"; @@ -201,7 +201,7 @@ 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) { @@ -233,7 +233,8 @@ } } - + + echo "</font>"; echo "</td>"; echo "</tr>"; echo "<tr><td colspan=\"3\"><img src=\"../pix/spacer.gif\" width=\"1\" height=\"1\" alt=\"\"></td></tr>";