From 213e8cc67d6c5eef59bdc9b44b42555d95129541 Mon Sep 17 00:00:00 2001 From: moodler Date: Thu, 10 Oct 2002 09:27:49 +0000 Subject: [PATCH] Better default options, and hiding of moodle-text help when htmlediting is operational --- mod/forum/post.html | 6 +++++- mod/forum/post.php | 11 ++++++++--- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/mod/forum/post.html b/mod/forum/post.html index 614377cc462..9d378d2598b 100644 --- a/mod/forum/post.html +++ b/mod/forum/post.html @@ -10,7 +10,11 @@ -

:

+

: + +

+ + subject = ""; $post->user = $USER->id; $post->message = ""; + $post->format = $defaultformat; forum_set_return(); @@ -116,6 +123,7 @@ $post->subject = $parent->subject; $post->user = $USER->id; $post->message = ""; + $post->format = $defaultformat; $strre = get_string("re", "forum"); if (!(substr($post->subject, 0, 3) == $strre)) { @@ -262,9 +270,6 @@ $strforums = get_string("modulenameplural", "forum"); - if ($usehtmleditor = can_use_richtext_editor()) { - $onsubmit = "onsubmit=\"copyrichtext(theform.message);\""; - } $navmiddle = "id\">$strforums -> id\">$forum->name";