MDL-14492 Provide feedback to user about redirect delay in loadsco.php. Add lang text for please wait.

This commit is contained in:
piers 2008-08-11 21:35:10 +00:00
parent db19ec017d
commit 320f3aab82
2 changed files with 2 additions and 1 deletions

View File

@ -159,4 +159,5 @@ $string['othersettings'] = 'Additional settings';
$string['updatefreq'] = 'Auto-update frequency';
$string['options'] = 'Options';
$string['activityloading'] = "You will be automatically redirected to the activity in"; // used in conjunction with numseconds
$string['activitypleasewait'] = "Activity loading, please wait ....";
?>

View File

@ -128,7 +128,7 @@
e.innerHTML = --cSeconds;
} else {
clearInterval(timer);
document.body.innerHTML = "Activity loading, please wait ....";
document.body.innerHTML = "<?php echo get_string('activitypleasewait', 'scorm');?>";
location = "<?php echo $result ?>";
}
}, 1000);