mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-70621 mod_forum: use forum rsstype string.
This commit is contained in:
parent
9dabd071fe
commit
55ab2bce55
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue