MDL-53492 registration: Moodle.net is more correct than Moodle.org
authorMarina Glancy <marina@moodle.com>
Tue, 11 Jul 2017 05:48:04 +0000 (13:48 +0800)
committerMarina Glancy <marina@moodle.com>
Mon, 31 Jul 2017 06:31:12 +0000 (14:31 +0800)
admin/renderer.php
admin/settings/top.php
message/output/airnotifier/lang/en/message_airnotifier.php

index f7d1516..63cc1ad 100644 (file)
@@ -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 {
index 5d4495c..c78c909 100644 (file)
@@ -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'),
index 19c888f..7896464 100644 (file)
@@ -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';