Don't focus on the post message (upsets html editor)

This commit is contained in:
moodler
2003-11-04 12:42:42 +00:00
parent c427414996
commit 3bbde52099
+4 -4
View File
@@ -302,10 +302,10 @@
$toppost->subject = get_string("yournewtopic", "forum");
}
if ($post->subject) {
$formstart = "theform.message";
} else {
if (empty($post->subject)) {
$formstart = "theform.subject";
} else {
$formstart = "";
}
if ($post->parent) {
@@ -332,7 +332,7 @@
if ($course->category) {
print_header("$course->shortname: $discussion->name: $toppost->subject", "$course->fullname",
"<A HREF=../../course/view.php?id=$course->id>$course->shortname</A> ->
$navmiddle -> $navtail", "$formstart", "", true, "", navmenu($course, $cm));
$navmiddle -> $navtail", $formstart, "", true, "", navmenu($course, $cm));
} else {
print_header("$course->shortname: $discussion->name: $toppost->subject", "$course->fullname",
"$navmiddle -> $navtail", "$formstart", "", true, "", navmenu($course, $cm));