--- loncom/homework/bridgetask.pm 2005/11/03 21:29:57 1.74 +++ loncom/homework/bridgetask.pm 2005/11/15 21:41:10 1.78 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # definition of tags that give a structure to a document # -# $Id: bridgetask.pm,v 1.74 2005/11/03 21:29:57 albertel Exp $ +# $Id: bridgetask.pm,v 1.78 2005/11/15 21:41:10 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -470,7 +470,11 @@ DONESCREEN } } elsif ($target eq 'grade' && !$env{'form.webgrade'}) { if ($status eq 'NEEDS_CHECKIN') { - &proctor_check_auth($slot_name,$slot); + if(&proctor_check_auth($slot_name,$slot)) { + my $result=&add_to_queue('gradingqueue', + $Apache::inputtags::slot_name); + &Apache::lonxml::debug("add_to_queue said $result"); + } } } } elsif ($target eq 'web') { @@ -690,6 +694,9 @@ sub end_Task {
'.&mt('Indicate the files from your portfolio to be evaluated in grading this task.').'
'). ""; + } + if (!$previous && $status ne 'SHOW_ANSWER' && + &show_task($status,$previous)) { $result.=&Apache::inputtags::gradestatus('0'); $result.=''; $result.=<