From 5ac72c9c74162071e8550c8e1134b92b6bf007a4 Mon Sep 17 00:00:00 2001 From: Marina Glancy Date: Tue, 11 Jul 2017 13:48:04 +0800 Subject: [PATCH] MDL-53492 registration: Moodle.net is more correct than Moodle.org --- admin/renderer.php | 2 +- admin/settings/top.php | 2 +- message/output/airnotifier/lang/en/message_airnotifier.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/admin/renderer.php b/admin/renderer.php index f7d1516e679..63cc1ad840b 100644 --- a/admin/renderer.php +++ b/admin/renderer.php @@ -784,7 +784,7 @@ class core_admin_renderer extends plugin_renderer_base { if (has_capability('moodle/site:config', context_system::instance())) { $registerbutton = $this->single_button(new moodle_url('/admin/registration/register.php', - array('huburl' => HUB_MOODLEORGHUBURL, 'hubname' => 'Moodle.org')), + array('huburl' => HUB_MOODLEORGHUBURL, 'hubname' => 'Moodle.net')), get_string('register', 'admin')); $str = 'registrationwarning'; } else { diff --git a/admin/settings/top.php b/admin/settings/top.php index 5d4495c9cf5..c78c90908f8 100644 --- a/admin/settings/top.php +++ b/admin/settings/top.php @@ -11,7 +11,7 @@ $hassiteconfig = has_capability('moodle/site:config', $systemcontext); $ADMIN->add('root', new admin_externalpage('adminnotifications', new lang_string('notifications'), "$CFG->wwwroot/$CFG->admin/index.php")); $ADMIN->add('root', new admin_externalpage('registrationmoodleorg', new lang_string('registration', 'admin'), - "$CFG->wwwroot/$CFG->admin/registration/register.php?huburl=" . HUB_MOODLEORGHUBURL . "&hubname=Moodle.org&sesskey=" . sesskey())); + "$CFG->wwwroot/$CFG->admin/registration/register.php?huburl=" . HUB_MOODLEORGHUBURL . "&hubname=Moodle.net&sesskey=" . sesskey())); $ADMIN->add('root', new admin_externalpage('registrationhub', new lang_string('registerwith', 'hub'), "$CFG->wwwroot/$CFG->admin/registration/register.php", 'moodle/site:config', true)); $ADMIN->add('root', new admin_externalpage('registrationhubs', new lang_string('hubs', 'admin'), diff --git a/message/output/airnotifier/lang/en/message_airnotifier.php b/message/output/airnotifier/lang/en/message_airnotifier.php index 19c888f73dd..7896464fde0 100644 --- a/message/output/airnotifier/lang/en/message_airnotifier.php +++ b/message/output/airnotifier/lang/en/message_airnotifier.php @@ -41,7 +41,7 @@ $string['nodevices'] = 'No registered devices. Devices will automatically appear $string['nopermissiontomanagedevices'] = 'You don\'t have permission to manage devices.'; $string['notconfigured'] = 'The Airnotifier server hasn\'t been configured so Airnotifier messages cannot be sent'; $string['pluginname'] = 'Mobile'; -$string['sitemustberegistered'] = 'In order to use the public Airnotifier instance you must register your site with Moodle.org'; +$string['sitemustberegistered'] = 'In order to use the public Airnotifier instance you must register your site with Moodle.net'; $string['showhide'] = 'Enable/disable the device.'; $string['requestaccesskey'] = 'Request access key'; $string['unknowndevice'] = 'Unknown device'; -- 2.43.0