Diff for /loncom/homework/essayresponse.pm between versions 1.15 and 1.16

version 1.15, 2002/08/07 16:23:05 version 1.16, 2003/01/13 21:24:02
Line 30 Line 30
 #  #
 package Apache::essayresponse;  package Apache::essayresponse;
 use strict;  use strict;
   use Apache::lonxml;
   
 BEGIN {  BEGIN {
     &Apache::lonxml::register('Apache::essayresponse',('essayresponse'));      &Apache::lonxml::register('Apache::essayresponse',('essayresponse'));
Line 95  sub end_essayresponse { Line 96  sub end_essayresponse {
  }   }
     } elsif ($target eq 'edit') {      } elsif ($target eq 'edit') {
  $result.=&Apache::edit::end_table();   $result.=&Apache::edit::end_table();
       } elsif ($target eq 'tex') {
    if ($Apache::lonhomework::type eq 'exam') {
       $result.='\begin{enumerate}\item[\textbf{'.$Apache::lonxml::counter.'}.]\textit{Live blank on scoring form}\vskip 0 mm';
       &Apache::lonxml::increment_counter();
       $result.= '\item[\textbf{'.$Apache::lonxml::counter.'}.]\textit{Live blank on scoring form}\vskip 0 mm \end{enumerate}';
       &Apache::lonxml::increment_counter();
    }
     }      }
   
     &Apache::response::end_response;      &Apache::response::end_response;

Removed from v.1.15  
changed lines
  Added in v.1.16


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>