Current Path : C:/Users/Mahmood/Desktop/moodle8/mod/data/ |
Current File : C:/Users/Mahmood/Desktop/moodle8/mod/data/settings.php |
<?php defined('MOODLE_INTERNAL') || die; if ($ADMIN->fulltree) { if (empty($CFG->enablerssfeeds)) { $options = array(0 => get_string('rssglobaldisabled', 'admin')); $str = get_string('configenablerssfeeds', 'data').'<br />'.get_string('configenablerssfeedsdisabled2', 'admin'); } else { $options = array(0=>get_string('no'), 1=>get_string('yes')); $str = get_string('configenablerssfeeds', 'data'); } $settings->add(new admin_setting_configselect('data_enablerssfeeds', get_string('enablerssfeeds', 'admin'), $str, 0, $options)); }