Skip to content

Commit

Permalink
Merge branch 'MDL-49166_site_rego_28' of https://github.com/andyjdavi…
Browse files Browse the repository at this point in the history
…s/moodle into MOODLE_28_STABLE
  • Loading branch information
danpoltawski committed Apr 13, 2015
2 parents d09ef20 + 2721dc5 commit 2d21dc3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions admin/registration/register.php
Expand Up @@ -177,6 +177,13 @@

//some Moodle.org resitration explanation
if ($huburl == HUB_MOODLEORGHUBURL) {
if (!empty($registeredhub->token)) {
$registrationmessage = get_string('pleaserefreshregistration', 'admin');
} else {
$registrationmessage = get_string('registrationwarning', 'admin');
}
echo $OUTPUT->notification($registrationmessage);

echo $OUTPUT->heading(get_string('registerwithmoodleorg', 'admin'));
$renderer = $PAGE->get_renderer('core', 'register');
echo $renderer->moodleorg_registration_message();
Expand Down
2 changes: 1 addition & 1 deletion lang/en/admin.php
Expand Up @@ -793,7 +793,7 @@
$string['pgcluster'] = 'PostgreSQL Cluster';
$string['pgclusterdescription'] = 'PostgreSQL version/cluster parameter for command line operations. If you only have one postgresql on your system or you are not sure what this is, leave this blank.';
$string['phpfloatproblem'] = 'Detected unexpected problem in handling of PHP float numbers - {$a}';
$string['pleaserefreshregistration'] = 'Your site has been registered with moodle.org, please consider updating the registration if significant changes happened since your last update, on {$a}';
$string['pleaserefreshregistration'] = 'Your site has been registered. You can manually update your registration at any time. By default, the \'Site registration\' scheduled task will automatically update your registration periodically.';
$string['pleaseregister'] = 'Please register your site to remove this button';
$string['plugin'] = 'Plugin';
$string['plugins'] = 'Plugins';
Expand Down

0 comments on commit 2d21dc3

Please sign in to comment.