--- loncom/homework/essayresponse.pm 2004/09/01 19:42:26 1.36 +++ loncom/homework/essayresponse.pm 2004/10/12 00:08:44 1.39 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # essay (ungraded) style responses # -# $Id: essayresponse.pm,v 1.36 2004/09/01 19:42:26 sakharuk Exp $ +# $Id: essayresponse.pm,v 1.39 2004/10/12 00:08:44 banghart Exp $ # # Copyright Michigan State University Board of Trustees # @@ -44,7 +44,6 @@ sub start_essayresponse { $result=&Apache::response::meta_package_write('essayresponse'); } elsif ($target eq 'web') { my $part= $Apache::inputtags::part; - my $ncol= &Apache::lonnet::EXT("resource.$part".'_'."$id.maxcollaborators"); my $coll= &HTML::Entities::encode($Apache::lonhomework::history{"resource.$part.$id.collaborators"},'<>&"'); my $uploadedfiletypes= &Apache::lonnet::EXT("resource.$part".'_'."$id.uploadedfiletypes"); @@ -52,6 +51,10 @@ sub start_essayresponse { my $uploadedfile= &HTML::Entities::encode($Apache::lonhomework::history{"resource.$part.$id.uploadedfile"},'<>&"'); $result='
'; $result.='
'. + 'Select Portfolio Files'. + '
'. + '
'. ' '. &mt('Submit entries below as answer to receive credit').'
'. ' '. @@ -168,6 +171,7 @@ sub end_essayresponse { '}\vskip 0 mm'; } $result.= '\end{enumerate}'; + $increment=$repetition; } } if ($target eq 'grade' || $target eq 'web' || $target eq 'answer' ||