From 0301965a2808f6610eebb246847efaff283bd71c Mon Sep 17 00:00:00 2001 From: moodler Date: Sun, 12 Mar 2006 07:51:53 +0000 Subject: [PATCH] Fix the cron help to point to the new help page in lang packs --- admin/index.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/admin/index.php b/admin/index.php index 706e462828..e254ec2484 100644 --- a/admin/index.php +++ b/admin/index.php @@ -337,7 +337,9 @@ /// If no recently cron run $lastcron = get_field_sql('SELECT max(lastcron) FROM ' . $CFG->prefix . 'modules'); if (time() - $lastcron > 3600 * 24) { - print_simple_box(get_string('cronwarning', 'admin') , 'center', '50%'); + $strinstallation = get_string('installation', 'install'); + $helpbutton = helpbutton('install', $strinstallation, 'moodle', true, false, '', true); + print_simple_box(get_string('cronwarning', 'admin').$helpbutton, 'center', '50%'); } /// Alert if we are currently in maintenance mode -- 2.39.5