version 1.90, 2004/09/29 14:50:43
|
version 1.92, 2004/10/12 22:55:21
|
Line 804 sub Increment_PrgWin {
|
Line 804 sub Increment_PrgWin {
|
my $sec = $time_est % 60; |
my $sec = $time_est % 60; |
# |
# |
my $str; |
my $str; |
if ($min == 1 && $sec > 1) { |
if ($min == 0 && $sec > 1) { |
$str = '[_2] seconds'; |
$str = '[_2] seconds'; |
|
} elsif ($min == 1 && $sec > 1) { |
|
$str = '1 minute [_2] seconds'; |
} elsif ($min == 1 && $sec < 2) { |
} elsif ($min == 1 && $sec < 2) { |
$str = '1 minute'; |
$str = '1 minute'; |
} elsif ($min < 10 && $sec > 1) { |
} elsif ($min < 10 && $sec > 1) { |
Line 902 sub spellheader {
|
Line 904 sub spellheader {
|
my $nothing = &javascript_nothing(); |
my $nothing = &javascript_nothing(); |
return (<<ENDCHECK); |
return (<<ENDCHECK); |
<script type="text/javascript"> |
<script type="text/javascript"> |
// BEGIN LON-CAPA Internal |
//<!-- BEGIN LON-CAPA Internal |
var checkwin; |
var checkwin; |
|
|
function spellcheckerwindow() { |
function spellcheckerwindow() { |
Line 910 function spellcheckerwindow() {
|
Line 912 function spellcheckerwindow() {
|
checkwin.document.writeln('<html><body bgcolor="#DDDDDD"><form name="spellcheckform" action="/adm/spellcheck" method="post"><input type="hidden" name="text" value="" /></form></body></html>'); |
checkwin.document.writeln('<html><body bgcolor="#DDDDDD"><form name="spellcheckform" action="/adm/spellcheck" method="post"><input type="hidden" name="text" value="" /></form></body></html>'); |
checkwin.document.close(); |
checkwin.document.close(); |
} |
} |
// END LON-CAPA Internal |
// END LON-CAPA Internal --> |
</script> |
</script> |
ENDCHECK |
ENDCHECK |
} |
} |