From ef6a649b72495187eb7e0f7a9bc7eb5fb69dcb7e Mon Sep 17 00:00:00 2001
From: moodler <moodler>
Date: Mon, 26 Jan 2004 09:48:20 +0000
Subject: [PATCH] MOds to use dividers between sections

---
 mod/forum/index.php | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/mod/forum/index.php b/mod/forum/index.php
index 97dbe3159e..1267a36991 100644
--- a/mod/forum/index.php
+++ b/mod/forum/index.php
@@ -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 = "";
-- 
2.39.5