[LON-CAPA-cvs] cvs: loncom /homework structuretags.pm
Mark Lucas
lon-capa-cvs@mail.lon-capa.org
Thu, 9 Jan 2003 17:56:50 -0500 (EST)
Whoa - what?
Guess I didn't look at the blockers yet!
What will I kill if I pull down the new structuretags.pm?
Mark
On Thu, 9 Jan 2003, albertel wrote:
> albertel Thu Jan 9 14:34:27 2003 EDT
>
> Modified files:
> /loncom/homework structuretags.pm
> Log:
> - single part problems could be answered after hitting maxtries
>
>
> Index: loncom/homework/structuretags.pm
> diff -u loncom/homework/structuretags.pm:1.143 loncom/homework/structuretags.pm:1.144
> --- loncom/homework/structuretags.pm:1.143 Thu Dec 5 18:26:24 2002
> +++ loncom/homework/structuretags.pm Thu Jan 9 14:34:27 2003
> @@ -1,7 +1,7 @@
> # The LearningOnline Network with CAPA
> # definition of tags that give a structure to a document
> #
> -# $Id: structuretags.pm,v 1.143 2002/12/05 23:26:24 albertel Exp $
> +# $Id: structuretags.pm,v 1.144 2003/01/09 19:34:27 albertel Exp $
> #
> # Copyright Michigan State University Board of Trustees
> #
> @@ -411,7 +411,7 @@
> my $result='';
> my $status=$Apache::inputtags::status['-1'];
> if ($target eq 'grade' || $target eq 'web' || $target eq 'answer' || $target eq 'tex') {
> - if ( $target eq 'grade' && $Apache::inputtags::part eq '0') {
> + if ( $target eq 'grade' && $Apache::inputtags::part eq '0' && $status eq 'CAN_ANSWER' ) {
> # if part is zero, no <part>s existed, so we need to the grading
> &Apache::inputtags::grade;
> } elsif ( ($target eq 'web' || $target eq 'tex') && $Apache::inputtags::part eq '0' &&
>
>
> _______________________________________________
> LON-CAPA-cvs mailing list
> LON-CAPA-cvs@mail.lon-capa.org
> http://mail.lon-capa.org/mailman/listinfo/lon-capa-cvs
>
----------------------------------------------------------------------------
Mark Lucas email: lucasm@ohiou.edu
252D Clippinger Lab phone: (740)597-2984
Department of Physics and Astronomy fax: (740)593-0433
Ohio University
Athens, OH 45701