Diff for /loncom/homework/structuretags.pm between versions 1.75 and 1.77

version 1.75, 2002/01/11 16:32:29 version 1.77, 2002/01/23 14:36:19
Line 273  sub start_problem { Line 273  sub start_problem {
   } elsif ($target eq 'modified') {    } elsif ($target eq 'modified') {
     $result=$token->[4];      $result=$token->[4];
     $result.=&Apache::edit::handle_insert();      $result.=&Apache::edit::handle_insert();
     } elsif ($target eq 'tex') {
         $result .= '\begin{document}\noindent\textbf{Problem.}\newline';
   } else {    } else {
     # page_start returned a starting result, delete it if we don't need it      # page_start returned a starting result, delete it if we don't need it
     $result = '';      $result = '';
Line 316  sub end_problem { Line 318  sub end_problem {
   } elsif ($target eq 'edit') {    } elsif ($target eq 'edit') {
     &Apache::lonxml::debug("in end_problem with $target, edit");      &Apache::lonxml::debug("in end_problem with $target, edit");
     $result='<br /><input type="submit" name="submit" value="Submit Changes" />';      $result='<br /><input type="submit" name="submit" value="Submit Changes" />';
     } elsif ($target eq 'tex') {
         $result .= '\end{document}';
   }    }
   return $result;    return $result;
 }  }
Line 584  sub end_startouttext { Line 588  sub end_startouttext {
   ."</td>    ."</td>
 <td>".  <td>".
   &Apache::edit::insertlist($target,$token).    &Apache::edit::insertlist($target,$token).
     &Apache::edit::end_row().&Apache::edit::start_spanning_row()."\n".      "</td>
   </tr><tr><td colspan=\"3\">\n".
  &Apache::edit::editfield($token->[1],$text,"",50,4);   &Apache::edit::editfield($token->[1],$text,"",50,4);
   }    }
   if ($target eq 'modified') {    if ($target eq 'modified') {

Removed from v.1.75  
changed lines
  Added in v.1.77


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