diff --git a/admin/renderer.php b/admin/renderer.php index 30c535fbd67..076ee83505b 100644 --- a/admin/renderer.php +++ b/admin/renderer.php @@ -843,14 +843,14 @@ class core_admin_renderer extends plugin_renderer_base { $registerbutton = $this->single_button(new moodle_url('/admin/registration/index.php'), get_string('register', 'admin')); $str = 'registrationwarning'; + $type = 'error alert alert-danger'; } else { $registerbutton = ''; $str = 'registrationwarningcontactadmin'; + $type = 'info'; } - return $this->warning( get_string($str, 'admin') - . ' ' . $this->help_icon('registration', 'admin') . $registerbutton , - 'error alert alert-danger'); + return $this->warning( get_string($str, 'admin') . ' ' . $registerbutton , $type); } return ''; diff --git a/lang/en/admin.php b/lang/en/admin.php index e431fc2d848..7715e20cab4 100644 --- a/lang/en/admin.php +++ b/lang/en/admin.php @@ -1140,13 +1140,8 @@ $string['recaptchaprivatekey'] = 'ReCAPTCHA secret key'; $string['recaptchapublickey'] = 'ReCAPTCHA site key'; $string['register'] = 'Register your site'; $string['registration'] = 'Registration'; -$string['registration_help'] = 'By registering: - -* You will receive security alerts -* You can activate mobile app push notifications from your site -* You are contributing to our Moodle statistics of the worldwide community'; -$string['registrationwarning'] = 'Your site is not yet registered.'; -$string['registrationwarningcontactadmin'] = 'Your site is not yet registered. Please notify your administrator.'; +$string['registrationwarning'] = 'Don\'t miss out on important updates and security alerts.'; +$string['registrationwarningcontactadmin'] = 'This site is not registered. Please ask your administrator to register the site so they don\'t miss out on important updates.'; $string['releasenoteslink'] = 'For information about this version of Moodle, please see the online Release Notes'; $string['rememberuserlicensepref'] = 'Remember user licence preference'; $string['rememberuserlicensepref_help'] = 'If enabled, the last licence selected by the user is preselected when uploading a file in the file picker. Otherwise, the default site licence is preselected.'; @@ -1657,3 +1652,10 @@ $string['moodlepartners_help'] = '
Moodle Partners are services providers that Find a Partner'; $string['moodleservices'] = 'Moodle services'; $string['moodleservices_help'] = 'Make sure you get the best from your Moodle learning environment by using these Moodle services:'; + +// Deprecated since Moodle 4.5. +$string['registration_help'] = 'By registering: + +* You will receive security alerts +* You can activate mobile app push notifications from your site +* You are contributing to our Moodle statistics of the worldwide community'; diff --git a/lang/en/deprecated.txt b/lang/en/deprecated.txt index 8a5c144ea44..0c838f1cd64 100644 --- a/lang/en/deprecated.txt +++ b/lang/en/deprecated.txt @@ -128,3 +128,4 @@ myisamproblem,core_error newpasswordtext,core cannotsetpassword,core_error registerwithmoodleorginfoapp,core_hub +registration_help,core_admin diff --git a/version.php b/version.php index 01c711e36c8..ac798461dca 100644 --- a/version.php +++ b/version.php @@ -29,7 +29,7 @@ defined('MOODLE_INTERNAL') || die(); -$version = 2024081600.00; // YYYYMMDD = weekly release date of this DEV branch. +$version = 2024081600.01; // YYYYMMDD = weekly release date of this DEV branch. // RR = release increments - 00 in DEV branches. // .XX = incremental changes. $release = '4.5dev+ (Build: 20240816)'; // Human-friendly version name