mod/glossary: HTML fixes

Fixed HTML errors causing parser errors in Firefox when in developer debug
mode.


Author: Matt Clarkson <[email protected]>
Committer: Matt Clarkson <[email protected]>
This commit is contained in:
mattc-catalyst
2007-04-16 23:16:25 +00:00
parent 859d05a03e
commit eee75231c1
2 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -1476,7 +1476,7 @@ function glossary_print_comment($course, $cm, $glossary, $entry, $comment) {
echo '<div class="boxaligncenter">';
echo '<table class="glossarycomment" cellspacing="0">';
echo '<tr valign="top">';
echo '<tr><td class="left picture">';
echo '<td class="left picture">';
print_user_picture($user->id, $course->id, $user->picture);
echo '</td>';
echo '<td class="entryheader">';
+5 -3
View File
@@ -407,6 +407,7 @@
$ratings->allow = true;
}
$formsent = 1;
echo "<form method=\"post\" action=\"rate.php\">";
echo "<div>";
echo "<input type=\"hidden\" name=\"id\" value=\"$course->id\" />";
@@ -496,15 +497,16 @@
print_scale_menu_helpbutton($course->id, $scale );
}
}
echo "</div>";
echo "</div>";
echo "</div>";
}
if ($entriesshown ) {
echo "</form>";
} else if (!empty($formsent)) {
// close the form properly if not used
echo "</div>";
echo "</form>";
}
if ( $paging ) {
echo '<hr />';
echo '<div class="paging">';