]> git.mjollnir.org Git - moodle.git/commitdiff
Fix the cron help to point to the new help page in lang packs
authormoodler <moodler>
Sun, 12 Mar 2006 07:51:53 +0000 (07:51 +0000)
committermoodler <moodler>
Sun, 12 Mar 2006 07:51:53 +0000 (07:51 +0000)
admin/index.php

index 706e46282861d28cf4c9ddfcd4b21e7c6154f977..e254ec248419a49980d13c00a7e2779cd0100176 100644 (file)
 /// 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