MDL-22504 Course drag and drop upload - removed browser specific content hacks, made 'text and link' dragging an experimental feature

This commit is contained in:
Davo Smith
2012-05-21 08:34:50 +01:00
parent 5a4decbc2d
commit f684250bda
6 changed files with 21 additions and 49 deletions
+4
View File
@@ -13,6 +13,10 @@ 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));
$ADMIN->add('experimental', $temp);
// "debugging" settingpage