diff --git a/admin/index.php b/admin/index.php index 2c8a9b777b2..d47e284a28e 100644 --- a/admin/index.php +++ b/admin/index.php @@ -363,8 +363,7 @@ if (defined('WARN_DISPLAY_ERRORS_ENABLED')) { // If no recently cron run $lastcron = $DB->get_field_sql('SELECT MAX(lastcron) FROM {modules}'); if (time() - $lastcron > 3600 * 24) { - $strinstallation = get_string('installation', 'install'); - $helpbutton = $OUTPUT->old_help_icon('install', $strinstallation); + $helpbutton = $OUTPUT->help_icon('cron', 'admin'); echo $OUTPUT->box(get_string('cronwarning', 'admin').' '.$helpbutton, 'generalbox adminwarning'); } diff --git a/lang/en/admin.php b/lang/en/admin.php index 334e1e5c9b2..8e5076e914c 100755 --- a/lang/en/admin.php +++ b/lang/en/admin.php @@ -376,13 +376,14 @@ $string['courserequestspending'] = 'Pending course requests'; $string['courses'] = 'Courses'; $string['coursesperpage'] = 'Courses per page'; $string['creatornewroleid'] = 'Creators\' role in new courses'; +$string['cron'] = 'Cron'; +$string['cron_help'] = 'The cron.php maintenance script assists some of Moodle\'s modules to perform tasks on a scheduled basis, such as mailing out copies of new forum posts. A mechanism is required to run the script regularly e.g. every 5 minutes.'; +$string['cron_link'] = 'admin/cron'; $string['cronclionly'] = 'Cron execution via command line only'; $string['cronerrorclionly'] = 'Sorry, internet access to this page has been disabled by the administrator.'; $string['cronerrorpassword'] = 'Sorry, you have not provided a valid password to access this page'; $string['cronremotepassword'] = 'Cron password for remote access'; $string['cronwarning'] = 'The cron.php maintenance script has not been run for at least 24 hours.'; -$string['cronwarning_help'] = 'The cron.php maintenance script assists some of Moodle\'s modules to perform tasks on a scheduled basis, such as mailing out copies of new forum posts. A mechanism is required to run the script regularly e.g. every 10 minutes.'; -$string['cronwarning_link'] = 'admin/cron'; $string['csvdelimiter'] = 'CSV delimiter'; $string['ctyperecommended'] = 'Installing the optional ctype PHP extension is highly recommended in order to improve site performance, particularly if your site is supporting non-latin languages.'; $string['ctyperequired'] = 'The ctype PHP extension is now required by Moodle, in order to improve site performance and to offer multilingual compatibility.';