mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 08:55:15 +02:00
Merge branch 'MDL-64365_hideif_forum' of git://github.com/davosmith/moodle
This commit is contained in:
commit
cf7f8ddaf8
@ -114,6 +114,7 @@ if ($ADMIN->fulltree) {
|
||||
);
|
||||
$settings->add(new admin_setting_configselect('forum_rsstype', get_string('rsstypedefault', 'forum'),
|
||||
get_string('configrsstypedefault', 'forum'), 0, $options));
|
||||
$settings->hide_if('forum_rsstype', 'forum_enablerssfeeds', 'neq', '1');
|
||||
|
||||
$options = array(
|
||||
0 => '0',
|
||||
@ -132,6 +133,7 @@ if ($ADMIN->fulltree) {
|
||||
);
|
||||
$settings->add(new admin_setting_configselect('forum_rssarticles', get_string('rssarticles', 'forum'),
|
||||
get_string('configrssarticlesdefault', 'forum'), 0, $options));
|
||||
$settings->hide_if('forum_rssarticles', 'forum_enablerssfeeds', 'neq', '1');
|
||||
}
|
||||
|
||||
$settings->add(new admin_setting_configcheckbox('forum_enabletimedposts', get_string('timedposts', 'forum'),
|
||||
|
Loading…
x
Reference in New Issue
Block a user