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:
@@ -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">';
|
||||
|
||||
@@ -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">';
|
||||
|
||||
Reference in New Issue
Block a user