Diff for /loncom/xml/scripttag.pm between versions 1.72 and 1.73

version 1.72, 2002/04/25 17:37:23 version 1.73, 2002/05/03 22:28:36
Line 63  sub start_script { Line 63  sub start_script {
  $Apache::lonxml::evaluate--;   $Apache::lonxml::evaluate--;
  $result.="<a href=\"javascript:newWindow=open(\'\',\'new_W\',\'width=500,height=200,scrollbars=1\');newWindow.document.open(\'text/html\',\'replace\');newWindow.document.writeln(\'<html><head><title>newwindow</title></head><body bgcolor=&quot;#FFFFFF&quot;><pre>";   $result.="<a href=\"javascript:newWindow=open(\'\',\'new_W\',\'width=500,height=200,scrollbars=1\');newWindow.document.open(\'text/html\',\'replace\');newWindow.document.writeln(\'<html><head><title>newwindow</title></head><body bgcolor=&quot;#FFFFFF&quot;><pre>";
  my $listing= &HTML::Entities::encode(&Apache::run::dump($target,$safeeval));   my $listing= &HTML::Entities::encode(&Apache::run::dump($target,$safeeval));
   
  $result.=$listing;   $result.=$listing;
  $result.= "</pre></body></html>\');newWindow.document.close();void(0);\">Script Vars</a><br />";   $result.= "</pre></body></html>\');newWindow.document.close();void(0);\">Script Vars</a><br />";
       }        }
Line 92  sub end_script { Line 93  sub end_script {
     return $token->[2];      return $token->[2];
   } elsif ($target eq 'edit' ) {    } elsif ($target eq 'edit' ) {
     return &Apache::edit::end_table();      return &Apache::edit::end_table();
   } elsif (($ENV{'request.state'} eq 'construct') && ($target eq 'answer')) {    } elsif (($target eq 'answer')) {
     $Apache::lonxml::evaluate++;      $Apache::lonxml::evaluate++;
   }    }
   return '';    return '';

Removed from v.1.72  
changed lines
  Added in v.1.73


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