mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-75316 admin: Create Share to MoodleNet experimental setting
Originally implemented as MDL-75319
This commit is contained in:
parent
0e08d0df60
commit
d9a6577410
@ -33,6 +33,11 @@ if ($hassiteconfig) { // speedup for non-admins, add all caps used on this page
|
|||||||
new lang_string('enablecourserelativedates', 'core_admin'),
|
new lang_string('enablecourserelativedates', 'core_admin'),
|
||||||
new lang_string('enablecourserelativedates_desc', 'core_admin'), 0));
|
new lang_string('enablecourserelativedates_desc', 'core_admin'), 0));
|
||||||
|
|
||||||
|
// Sharing to MoodleNet setting.
|
||||||
|
$temp->add(new admin_setting_configcheckbox('enablesharingtomoodlenet',
|
||||||
|
new lang_string('enablesharingtomoodlenet', 'core_admin'),
|
||||||
|
'', 0));
|
||||||
|
|
||||||
$ADMIN->add('experimental', $temp);
|
$ADMIN->add('experimental', $temp);
|
||||||
|
|
||||||
// "debugging" settingpage
|
// "debugging" settingpage
|
||||||
|
@ -607,6 +607,7 @@ $string['enableplugin'] = 'Enable the {$a} plugin';
|
|||||||
$string['enablerecordcache'] = 'Enable record cache';
|
$string['enablerecordcache'] = 'Enable record cache';
|
||||||
$string['enablerssfeeds'] = 'Enable RSS feeds';
|
$string['enablerssfeeds'] = 'Enable RSS feeds';
|
||||||
$string['enablesearchareas'] = 'Enable search areas';
|
$string['enablesearchareas'] = 'Enable search areas';
|
||||||
|
$string['enablesharingtomoodlenet'] = 'Enable sharing to MoodleNet';
|
||||||
$string['enablestats'] = 'Enable statistics';
|
$string['enablestats'] = 'Enable statistics';
|
||||||
$string['enabletrusttext'] = 'Enable trusted content';
|
$string['enabletrusttext'] = 'Enable trusted content';
|
||||||
$string['enableuserfeedback'] = 'Enable feedback about this software';
|
$string['enableuserfeedback'] = 'Enable feedback about this software';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user