3 // * Miscellaneous settings
5 // Experimental settings page
6 $temp = new admin_settingpage('experimental', get_string('experimental', 'admin'));
7 $temp->add(new admin_setting_configcheckbox('enableajax', get_string('enableajax', 'admin'), get_string('configenableajax', 'admin'), 0));
8 $temp->add(new admin_setting_configcheckbox('enableglobalsearch', get_string('enableglobalsearch', 'admin'), get_string('configenableglobalsearch', 'admin'), 0));
9 $temp->add(new admin_setting_configcheckbox('smartpix', get_string('smartpix', 'admin'), get_string('configsmartpix', 'admin'), 0));
10 $temp->add(new admin_setting_configcheckbox('enablehtmlpurifier', get_string('enablehtmlpurifier', 'admin'), get_string('configenablehtmlpurifier', 'admin'), 0));
11 $ADMIN->add('misc', $temp);
14 $ADMIN->add('misc', new admin_externalpage('xmldbeditor', get_string('xmldbeditor'), "$CFG->wwwroot/$CFG->admin/xmldb/"));
17 // hidden scripts linked from elsewhere
18 $ADMIN->add('misc', new admin_externalpage('oacleanup', 'Online Assignment Cleanup', $CFG->wwwroot
.'/'.$CFG->admin
.'/oacleanup.php', 'moodle/site:config', true));
19 $ADMIN->add('misc', new admin_externalpage('upgradeforumread', 'Upgrade forum', $CFG->wwwroot
.'/'.$CFG->admin
.'/upgradeforumread.php', 'moodle/site:config', true));
20 $ADMIN->add('misc', new admin_externalpage('upgradelogs', 'Upgrade logs', $CFG->wwwroot
.'/'.$CFG->admin
.'/upgradelogs.php', 'moodle/site:config', true));
21 $ADMIN->add('misc', new admin_externalpage('multilangupgrade', get_string('multilangupgrade', 'admin'), $CFG->wwwroot
.'/'.$CFG->admin
.'/multilangupgrade.php', 'moodle/site:config', !empty($CFG->filter_multilang_converted
)));