]> git.mjollnir.org Git - moodle.git/commitdiff
MOds to use dividers between sections
authormoodler <moodler>
Mon, 26 Jan 2004 09:48:20 +0000 (09:48 +0000)
committermoodler <moodler>
Mon, 26 Jan 2004 09:48:20 +0000 (09:48 +0000)
mod/forum/index.php

index 97dbe3159e7d6c4e53798e0408683c282278abdf..1267a3699104c71f3d8ef6b46dc31237f17a8b3e 100644 (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 = "";