version 1.15, 2000/12/12 14:54:10
|
version 1.16, 2000/12/12 20:38:22
|
Line 257 sub gradestatus {
|
Line 257 sub gradestatus {
|
} |
} |
my $button=''; |
my $button=''; |
my $tries = $Apache::lonhomework::history{"resource.$id.tries"}; |
my $tries = $Apache::lonhomework::history{"resource.$id.tries"}; |
my $maxtries = $Apache::lonhomework::history{"resource.$id.maxtries"}; |
my $maxtries = &Apache::lonnet::EXT("resource.$id.maxtries"); |
|
&Apache::lonxml::debug("goit maxtries of :$maxtries:"); |
if ( $tries eq '' ) { $tries = '0'; } |
if ( $tries eq '' ) { $tries = '0'; } |
if ( $maxtries eq '' ) { $maxtries = '2'; } |
if ( $maxtries eq '' ) { $maxtries = '2'; } |
my $trystr=''; |
my $trystr=''; |