From 5138378ab3c5171519f288fb7fa47db0fc1c7d4c Mon Sep 17 00:00:00 2001 From: moodler Date: Tue, 20 Jan 2009 07:55:49 +0000 Subject: [PATCH] forum/css MDL-16749 added a div named "posting" around the posting (merged from 1.9) --- mod/forum/lib.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mod/forum/lib.php b/mod/forum/lib.php index c8c229b9364..88c5ca90495 100644 --- a/mod/forum/lib.php +++ b/mod/forum/lib.php @@ -3118,16 +3118,18 @@ function forum_print_post($post, $discussion, $forum, &$cm, $course, $ownpost=fa // Print shortened version echo format_text(forum_shorten_post($post->message), $post->format, $options, $course->id); $numwords = count_words(strip_tags($post->message)); - echo '

'; + echo '

'; echo get_string('readtherest', 'forum'); - echo ' ('.get_string('numwords', '', $numwords).')...

'; + echo ' ('.get_string('numwords', '', $numwords).')...
'; } else { // Print whole message + echo '
'; if ($highlight) { echo highlight($highlight, format_text($post->message, $post->format, $options, $course->id)); } else { echo format_text($post->message, $post->format, $options, $course->id); } + echo '
'; echo $attachedimages; }