From 8d4e106db782ed7a1bf5c10a75957d5dba096a13 Mon Sep 17 00:00:00 2001
From: Paul Vaughan <paulvaughan@southdevon.ac.uk>
Date: Mon, 4 Apr 2011 14:24:44 +0100
Subject: [PATCH] Added a space between language string ( ./lang/en/forum.php:303:['readtherest'] = 'Read the rest of this topic'; ) and lines remaning in brackets e.g. (123).


diff --git a/mod/forum/lib.php b/mod/forum/lib.php
index a2ef362..576e992 100644
--- a/mod/forum/lib.php
+++ b/mod/forum/lib.php
@@ -3368,7 +3368,7 @@ function forum_print_post($post, $discussion, $forum, &$cm, $course, $ownpost=fa
         $postclass    = 'shortenedpost';
         $postcontent  = format_text(forum_shorten_post($post->message), $post->messageformat, $options, $course->id);
         $postcontent .= html_writer::link($discussionlink, get_string('readtherest', 'forum'));
-        $postcontent .= html_writer::tag('span', '('.get_string('numwords', 'moodle', count_words(strip_tags($post->message))).')...', array('class'=>'post-word-count'));
+        $postcontent .= html_writer::tag('span', ' ('.get_string('numwords', 'moodle', count_words(strip_tags($post->message))).')...', array('class'=>'post-word-count'));
     } else {
         // Prepare whole post
         $postclass    = 'fullpost';
-- 
1.7.1

