mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +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);
|
$forum->intro = forum_shorten_post($forum->intro);
|
||||||
replace_smilies($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
|
if (!$forum->section) { // forums in the "0" section => generaltable
|
||||||
$generalforums[] = $forum;
|
$generalforums[] = $forum;
|
||||||
|
@ -98,6 +99,9 @@
|
||||||
|
|
||||||
if ($forum->section != $currentsection) {
|
if ($forum->section != $currentsection) {
|
||||||
$printsection = $forum->section;
|
$printsection = $forum->section;
|
||||||
|
if ($currentsection) {
|
||||||
|
$learningtable->data[] = 'hr';
|
||||||
|
}
|
||||||
$currentsection = $forum->section;
|
$currentsection = $forum->section;
|
||||||
} else {
|
} else {
|
||||||
$printsection = "";
|
$printsection = "";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue