mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
Added fieldset tag. MDL-7861.
This commit is contained in:
parent
a5c96d06e5
commit
8703f29af7
@ -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";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user