Fixed HTML errors causing parser errors in Firefox when in developer debug
mode.
Author: Matt Clarkson <mattc@catalyst.net.nz>
Committer: Matt Clarkson <mattc@catalyst.net.nz>
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">';
$ratings->allow = true;
}
$formsent = 1;
+
echo "<form method=\"post\" action=\"rate.php\">";
echo "<div>";
echo "<input type=\"hidden\" name=\"id\" value=\"$course->id\" />";
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">';