$strcancel= get_string("cancel");
echo "<tr>";
echo "<td colspan=\"3\" valign=\"top\" class=\"topicoutlineclip\" width=\"100%\">";
- echo "<p><font size=\"2\">";
+ echo "<div><font size=\"2\">";
echo "$stractivityclipboard (<a href=\"mod.php?cancelcopy=true&sesskey=$USER->sesskey\">$strcancel</a>)";
- echo "</font></p>";
+ echo "</font></div>";
echo "</td>";
echo "</tr>";
echo "<tr><td colspan=\"3\"><img src=\"../pix/spacer.gif\" width=\"1\" height=\"1\" alt=\"\" /></td></tr>";
echo "<tr>";
echo "<td nowrap=\"nowrap\" $colorsides valign=\"top\" width=\"20\">";
- echo "<p align=\"center\"><font size=\"3\"><b><a name=\"$section\">$section</a></b></font></p>";
+ echo "<div align=\"center\"><font size=\"3\"><b><a name=\"$section\">$section</a></b></font></div>";
echo "</td>";
if (!isteacher($course->id) and !$thissection->visible) { // Hidden for students
$strcancel= get_string("cancel");
echo "<tr>";
echo "<td colspan=\"3\" valign=\"top\" class=\"weeklyoutlineclip\" width=\"100%\">";
- echo "<p><font size=\"2\">";
+ echo "<div><font size=\"2\">";
echo "$stractivityclipboard (<a href=\"mod.php?cancelcopy=true&sesskey=$USER->sesskey\">$strcancel</a>)";
- echo "</font></p>";
+ echo "</font></div>";
echo "</td>";
echo "</tr>";
echo "<tr><td colspan=\"3\"><img src=\"../pix/spacer.gif\" width=\"1\" height=\"1\" alt=\"\" /></td></tr>";
echo "<tr>";
echo "<td nowrap=\"nowrap\" $colorsides valign=\"top\" width=\"20\">";
- echo "<p align=\"center\"><font size=\"3\"><a name=\"$section\">$section</a></font></p>";
+ echo "<div align=\"center\"><font size=\"3\"><a name=\"$section\">$section</a></font></div>";
echo "</td>";
echo "<td valign=\"top\" $colormain width=\"100%\">";
if (!isteacher($course->id) and !$thissection->visible) { // Hidden for students
- echo "<p class=\"weeklydatetext\">$weekday - $endweekday ";
+ echo "<div class=\"weeklydatetext\">$weekday - $endweekday ";
echo "(".get_string("notavailable").")";
- echo "</p>";
+ echo "</div>";
echo "</td>";
} else {
- echo "<p class=\"weeklydatetext\">$weekday - $endweekday</p>";
+ echo "<div class=\"weeklydatetext\">$weekday - $endweekday</div>";
$summaryformatoptions->noclean = true;
echo format_text($thissection->summary, FORMAT_HTML, $summaryformatoptions);