MOds to use dividers between sections

This commit is contained in:
moodler 2004-01-26 09:48:20 +00:00
parent e21e20cfd7
commit ef6a649b72

View file

@ -90,6 +90,7 @@
$forum->intro = forum_shorten_post($forum->intro);
replace_smilies($forum->intro);
$forum->intro = "<span style=\"font-size:x-small;\">$forum->intro</span>";
if (!$forum->section) { // forums in the "0" section => generaltable
$generalforums[] = $forum;
@ -98,6 +99,9 @@
if ($forum->section != $currentsection) {
$printsection = $forum->section;
if ($currentsection) {
$learningtable->data[] = 'hr';
}
$currentsection = $forum->section;
} else {
$printsection = "";