mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
MDL-70621 mod_forum: use forum rsstype string.
This commit is contained in:
parent
9dabd071fe
commit
55ab2bce55
@ -133,7 +133,7 @@ class mod_forum_mod_form extends moodleform_mod {
|
||||
$choices[0] = get_string('none');
|
||||
$choices[1] = get_string('discussions', 'forum');
|
||||
$choices[2] = get_string('posts', 'forum');
|
||||
$mform->addElement('select', 'rsstype', get_string('rsstype'), $choices);
|
||||
$mform->addElement('select', 'rsstype', get_string('rsstype', 'forum'), $choices);
|
||||
$mform->addHelpButton('rsstype', 'rsstype', 'forum');
|
||||
if (isset($CFG->forum_rsstype)) {
|
||||
$mform->setDefault('rsstype', $CFG->forum_rsstype);
|
||||
|
Loading…
x
Reference in New Issue
Block a user