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

index 0a563a648c3489e6225018dda0beb14c6f6140ab..433f03cb6d5cc6f02478f61c1d617eb940935509 100644 (file)
             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++;
index 95f8422cc8b098109860024843c0fd32861ed29a..c9a7e6984646c164c467831efa6a3684f927db4f 100644 (file)
@@ -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\">&nbsp;</td>";
+        echo "<td nowrap=\"nowrap\" bgcolor=\"$THEME->cellheading\" class=\"weeklyoutlineside\" valign=\"top\" width=\"20\">&nbsp;</td>";
         echo "<td valign=\"top\" bgcolor=\"$THEME->cellcontent\" class=\"weeklyoutlinecontent\" width=\"100%\">";
 
         $summaryformatoptions->noclean = true;
         }
 
         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 "&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\"><a name=\"$section\">$section</a></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) {
                 }
     
             }
-    
+   
+            echo "</font>";
             echo "</td>";
             echo "</tr>";
             echo "<tr><td colspan=\"3\"><img src=\"../pix/spacer.gif\" width=\"1\" height=\"1\" alt=\"\"></td></tr>";