Skip to content

Commit

Permalink
MDL-14492 Provide feedback to user about redirect delay in loadsco.ph…
Browse files Browse the repository at this point in the history
…p. Add lang text for please wait.
  • Loading branch information
piers committed Aug 11, 2008
1 parent db19ec0 commit 320f3aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lang/en_utf8/scorm.php
Original file line number Diff line number Diff line change
Expand Up @@ -159,4 +159,5 @@
$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 ....";
?>
2 changes: 1 addition & 1 deletion mod/scorm/loadSCO.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ function doredirect() {
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);
Expand Down

0 comments on commit 320f3aa

Please sign in to comment.