]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-14492 Provide feedback to user about redirect delay in loadsco.php. Add lang...
authorpiers <piers>
Mon, 11 Aug 2008 21:35:10 +0000 (21:35 +0000)
committerpiers <piers>
Mon, 11 Aug 2008 21:35:10 +0000 (21:35 +0000)
lang/en_utf8/scorm.php
mod/scorm/loadSCO.php

index 69851152a6ff55336b967feb17c948e863d51e6b..25d9798d82bddafd04b81faf3714eb8b5e975193 100644 (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 ....";
 ?>
index 833bf17074e47af9848d8e450defe8d1b743b234..5f602df63ee67d1e10292dfbd46985b706fad16b 100755 (executable)
                                                 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);