From: moodler Date: Fri, 12 Dec 2003 08:20:45 +0000 (+0000) Subject: This has been annoying me for ages, and the fix is so simple. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=2e82fd38c113b8416f60a82465507a0e663cc523;p=moodle.git This has been annoying me for ages, and the fix is so simple. When replying to a post that already has replies - the replies are listed in threaded form. --- diff --git a/mod/forum/post.php b/mod/forum/post.php index 62ce936954..95581bc126 100644 --- a/mod/forum/post.php +++ b/mod/forum/post.php @@ -339,11 +339,13 @@ } - echo "
"; if (!empty($parent)) { forum_print_post($parent, $course->id, $ownpost=false, $reply=false, $link=false); + forum_print_posts_threaded($parent->id, $course, 0, false, false); + echo "
"; echo "

".get_string("yourreply", "forum").":

"; } else { + echo "
"; echo "

".get_string("yournewtopic", "forum")."

"; } if (!empty($post->error)) {