if ($content) {
echo "$content";
if ($footer) {
- echo "<div style=\"font-size: x-small; text-align:right;\">$footer</div>";
+ echo "<div style=\"font-size: x-small; text-align:center;\">$footer</div>";
}
} else {
echo "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"2\">";
}
if ($footer) {
echo "<tr bgcolor=\"$THEME->cellcontent2\">";
+ echo "<td class=\"sideblocklinks\" ";
if ($icons) {
- echo "<td class=\"sideblocklinks\" valign=\"top\" width=\"16\"> </td>";
+ echo ' colspan="2" ';
}
- echo "<td class=\"sideblocklinks\"><div style=\"font-size: x-small; text-align:right;\">$footer</div></td>";
- echo "</tr>";
+ echo '>';
+ echo "<div style=\"font-size: x-small; text-align:center;\">$footer</div>";
+ echo "</td></tr>";
}
echo "</table>";
}
}
if ($olddiscussionlink) {
- echo "<p align=right><a href=\"$CFG->wwwroot/mod/forum/view.php?f=$forum->id&showall=1\">";
+ echo "<p align=center><a href=\"$CFG->wwwroot/mod/forum/view.php?f=$forum->id&showall=1\">";
echo get_string("olderdiscussions", "forum")."</a> ...</p>";
}
}