From eb73cd47e04b435c5958ef1910bf1477d31c4137 Mon Sep 17 00:00:00 2001 From: michaelpenne Date: Mon, 1 Nov 2004 20:39:30 +0000 Subject: [PATCH] moved output from inside this file, to lesson.php and view.php. Also now uses lang file. --- mod/lesson/timer.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/mod/lesson/timer.js b/mod/lesson/timer.js index 9746deeb91..35cd8705a5 100644 --- a/mod/lesson/timer.js +++ b/mod/lesson/timer.js @@ -35,8 +35,8 @@ var dn = ""; var old = ""; - if (document.all||document.getElementById) { document.write(''); } - else if (document.layers) { document.write(''); } + if (document.all||document.getElementById) { document.write(''); } + else if (document.layers) { document.write(''); } else { old = "true"; show_clock(); } /*function leave() { // feable attempt to run a script when someone leaves a timed test early, failed so far @@ -73,7 +73,6 @@ myclock = ''; myclock += ''; - myclock += "Time remaining: "; if (hours > 0) { myclock += hours+":"; } -- 2.39.5