Merge branch 'MDL-68999-master-homemoodlenet' of git://github.com/mudrd8mz/moodle

This commit is contained in:
Jake Dallimore 2020-06-10 08:37:46 +08:00
commit 11b76652a0
2 changed files with 2 additions and 1 deletions

View File

@ -34,6 +34,7 @@ $string['connectandbrowse'] = "Connect to and browse:";
$string['defaultmoodlenet'] = "Default MoodleNet URL";
$string['defaultmoodlenet_desc'] = "The URL to either Moodle HQ's MoodleNet instance, or your preferred instance.";
$string['defaultmoodlenetname'] = "MoodleNet instance name";
$string['defaultmoodlenetnamevalue'] = 'MoodleNet Home';
$string['defaultmoodlenetname_desc'] = 'The name of either Moodle HQ\'s MoodleNet instance or your preferred MoodleNet instance to browse on.';
$string['enablemoodlenet'] = 'Enable MoodleNet integration';
$string['enablemoodlenet_desc'] = 'Enabling the integration allows users with the capability to create and manage activities to

View File

@ -37,7 +37,7 @@ if ($hassiteconfig) {
$temp = new admin_setting_configtext('tool_moodlenet/defaultmoodlenetname',
get_string('defaultmoodlenetname', 'tool_moodlenet'), new lang_string('defaultmoodlenetname_desc', 'tool_moodlenet'),
'Moodle HQ MoodleNet');
new lang_string('defaultmoodlenetnamevalue', 'tool_moodlenet'));
$settings->add($temp);
$temp = new admin_setting_configtext('tool_moodlenet/defaultmoodlenet', get_string('defaultmoodlenet', 'tool_moodlenet'),