mirror of
https://github.com/moodle/moodle.git
synced 2025-04-20 07:56:06 +02:00
"FORUM/MDL-17709, replace p with div in forum summary, merged from 1.9"
This commit is contained in:
parent
26c5f1b78b
commit
aba28cbafe
@ -232,7 +232,9 @@
|
||||
|
||||
case 'eachuser':
|
||||
if (!empty($forum->intro)) {
|
||||
print_box(format_text($forum->intro), 'generalbox', 'intro');
|
||||
$options = new stdclass;
|
||||
$options->para = false;
|
||||
print_box(format_text($forum->intro, FORMAT_MOODLE, $options), 'generalbox', 'intro');
|
||||
}
|
||||
echo '<p class="mdl-align">';
|
||||
if (forum_user_can_post_discussion($forum, null, -1, $cm)) {
|
||||
@ -258,7 +260,9 @@
|
||||
|
||||
default:
|
||||
if (!empty($forum->intro)) {
|
||||
print_box(format_text($forum->intro), 'generalbox', 'intro');
|
||||
$options = new stdclass;
|
||||
$options->para = false;
|
||||
print_box(format_text($forum->intro, FORMAT_MOODLE, $options), 'generalbox', 'intro');
|
||||
}
|
||||
echo '<br />';
|
||||
if (!empty($showall)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user