Diff for /loncom/homework/structuretags.pm between versions 1.55 and 1.56

version 1.55, 2001/08/17 14:24:29 version 1.56, 2001/08/17 15:51:00
Line 109  sub start_problem { Line 109  sub start_problem {
         if ($status eq 'CLOSED') {          if ($status eq 'CLOSED') {
     $msg.='The problem '.$accessmsg;      $msg.='The problem '.$accessmsg;
  } elsif ($status eq 'UNCHECKEDOUT') {   } elsif ($status eq 'UNCHECKEDOUT') {
             $msg.='The resource needs to be checked out';              $msg.=(<<ENDCHECKOUT);
   <h2>The resource needs to be checked out</h2>
   As a resource gets checked out, a unique timestamped ID is given to it, and a
   permanent record is left in the system.<p />
   <font color=red>
   Checking out resources is subject to course policies, and may exclude future
   credit even if done erroneously.<p />
   </font>  
   <form method=post>
   <input type=submit name="does_checkout" 
   value="Check out Problem for Viewing" />
   </form>
   ENDCHECKOUT
         }          }
  return $result.$msg.'<br />';   return $result.$msg.'<br />';
       }        }

Removed from v.1.55  
changed lines
  Added in v.1.56


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