Diff for /loncom/xml/londefdef.pm between versions 1.246 and 1.247

version 1.246, 2004/11/19 21:17:56 version 1.247, 2004/11/19 22:16:33
Line 531  sub start_body { Line 531  sub start_body {
  $token->[2]->{'onunload'}=&Apache::lonmenu::unloadevents().   $token->[2]->{'onunload'}=&Apache::lonmenu::unloadevents().
     ';'.$onUnload;      ';'.$onUnload;
   
  $currentstring .= '<'.$token->[1];   if ($ENV{'request.state'} ne 'construct') {
       $currentstring .= '<'.$token->[1];
    }
  foreach (keys %{$token->[2]}) {   foreach (keys %{$token->[2]}) {
     $currentstring.=' '.$_.'="'.$token->[2]->{$_}.'"';      $currentstring.=' '.$_.'="'.$token->[2]->{$_}.'"';
  }   }
  $currentstring.='>';   if ($ENV{'request.state'} ne 'construct') {
       $currentstring.='>';
    }
  if ($ENV{'request.state'} ne 'published') {   if ($ENV{'request.state'} ne 'published') {
       my $remote=($ENV{'environment.remote'} ne 'off');
       $currentstring=&Apache::loncommon::bodytag(undef,undef,
          $currentstring,$remote);
     $currentstring.=(<<EDITBUTTON);      $currentstring.=(<<EDITBUTTON);
  <form method="post">   <form method="post">
  <input type="submit" name="editmode" accesskey="e" value="Edit" />   <input type="submit" name="editmode" accesskey="e" value="Edit" />

Removed from v.1.246  
changed lines
  Added in v.1.247


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