--- loncom/homework/structuretags.pm 2004/12/10 17:50:30 1.275 +++ loncom/homework/structuretags.pm 2004/12/10 17:54:54 1.276 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # definition of tags that give a structure to a document # -# $Id: structuretags.pm,v 1.275 2004/12/10 17:50:30 albertel Exp $ +# $Id: structuretags.pm,v 1.276 2004/12/10 17:54:54 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -581,6 +581,8 @@ sub start_problem { $allow_print_points=1; } } + my $maxtries = &Apache::lonnet::EXT("resource.$id.maxtries"); + if (defined($maxtries) && $maxtries < 0) { $allow_print_points=0; } my $duedate = &Apache::lonnet::EXT("resource.$id.duedate"); $duedate = POSIX::strftime("%c",localtime($duedate)); my $temp_file;