mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MOds to use dividers between sections
This commit is contained in:
parent
e21e20cfd7
commit
ef6a649b72
1 changed files with 4 additions and 0 deletions
|
@ -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 = "";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue