print_string("forumname", "forum")?>: |
|
print_string("forumtype", "forum")?>: |
$student = strtolower($course->student); require("$CFG->dirroot/mod/forum/lib.php"); asort($FORUM_TYPES); if (! $form->type) { $form->type = "general"; } if ($form->type == "news") { print_string("namenews", "forum"); } else if ($form->type == "social") { print_string("namesocial", "forum"); } else { choose_from_menu($FORUM_TYPES, "type", $form->type, ""); helpbutton("forumtype", get_string("forumtype", "forum"), "forum"); } ?> |
print_string("forumintro", "forum")?>: |
helpbutton("text", get_string("helptext")); ?> |
print_string("allowdiscussions", "forum", strtolower("$course->student")) ?>: |
choose_from_menu($FORUM_OPEN_MODES, "open", $form->open, ""); ?> helpbutton("allowdiscussions", get_string("allowdiscussions", "forum", strtolower("$course->student")), "forum") ?> |
print_string("allowratings", "forum") ?>: |
$options[0] = get_string("no"); $options[1] = get_string("yes"); ?> choose_from_menu($options, "assessed", $form->assessed, ""); ?> helpbutton("ratings", get_string("allowratings", "forum"), "forum") ?> |
print_string("forcesubscribeq", "forum") ?>: |
choose_from_menu($options, "forcesubscribe", $form->forcesubscribe, ""); ?> helpbutton("subscription", get_string("forcesubscribeq", "forum"), "forum") ?> |