Added fieldset tag. MDL-7861.

This commit is contained in:
vyshane 2007-01-07 06:49:25 +00:00
parent a5c96d06e5
commit 8703f29af7

View File

@ -3147,6 +3147,7 @@ function forum_print_latest_discussions($course, $forum, $maxdiscussions=5, $dis
echo '<div class="singlebutton forumaddnew">';
echo "<form id=\"newdiscussionform\" method=\"get\" action=\"$CFG->wwwroot/mod/forum/post.php\">";
echo '<fieldset class="invisiblefieldset">';
echo "<input type=\"hidden\" name=\"forum\" value=\"$forum->id\" />";
echo '<input type="submit" value="';
echo ($forum->type == 'news') ? get_string('addanewtopic', 'forum')
@ -3154,6 +3155,7 @@ function forum_print_latest_discussions($course, $forum, $maxdiscussions=5, $dis
? get_string('addanewquestion','forum')
: get_string('addanewdiscussion', 'forum'));
echo '" />';
echo '</fieldset>';
echo '</form>';
echo "</div>\n";
}