MDL-22504 Course drag and drop upload - experimental setting is now a checkbox

This commit is contained in:
Davo Smith
2012-05-21 10:03:55 +01:00
parent f684250bda
commit 1ddc3d1f4c
3 changed files with 3 additions and 7 deletions
+1 -3
View File
@@ -13,9 +13,7 @@ if ($hassiteconfig) { // speedup for non-admins, add all caps used on this page
$temp->add(new admin_setting_configcheckbox('enablesafebrowserintegration', new lang_string('enablesafebrowserintegration', 'admin'), new lang_string('configenablesafebrowserintegration', 'admin'), 0));
$temp->add(new admin_setting_configcheckbox('enablegroupmembersonly', new lang_string('enablegroupmembersonly', 'admin'), new lang_string('configenablegroupmembersonly', 'admin'), 0));
$dndopts = array(0 => new lang_string('dnduploadfiles', 'admin'),
1 => new lang_string('dnduploadfilestextlink', 'admin'));
$temp->add(new admin_setting_configselect('dndallowtextandlinks', new lang_string('dndallowtextandlinks', 'admin'), new lang_string('configdndallowtextandlinks', 'admin'), 0, $dndopts));
$temp->add(new admin_setting_configcheckbox('dndallowtextandlinks', new lang_string('dndallowtextandlinks', 'admin'), new lang_string('configdndallowtextandlinks', 'admin'), 0));
$ADMIN->add('experimental', $temp);