]> git.mjollnir.org Git - moodle.git/commitdiff
Define forum type all the time
authormoodler <moodler>
Thu, 2 Jan 2003 10:46:52 +0000 (10:46 +0000)
committermoodler <moodler>
Thu, 2 Jan 2003 10:46:52 +0000 (10:46 +0000)
mod/forum/mod.html

index 0c8674a8b4437f5404272d9044b74e8c5f94e70c..b2c7fab8d848affe85565b601fd92c014d627118 100644 (file)
        }
        if ($form->type == "news") {
            print_string("namenews", "forum");
+           echo "<input type=\"hidden\" name=\"type\" value=\"news\">";
        } else if ($form->type == "social") {
            print_string("namesocial", "forum");
+           echo "<input type=\"hidden\" name=\"type\" value=\"social\">";
        } else {
            choose_from_menu($FORUM_TYPES, "type", $form->type, "");
            helpbutton("forumtype", get_string("forumtype", "forum"), "forum");