Diff for /loncom/xml/scripttag.pm between versions 1.19 and 1.20

version 1.19, 2000/10/09 14:09:41 version 1.20, 2000/10/10 18:18:26
Line 9  use Apache::lonnet; Line 9  use Apache::lonnet;
   
 sub BEGIN {  sub BEGIN {
   &Apache::lonxml::register('Apache::scripttag',('script','scriptlib',    &Apache::lonxml::register('Apache::scripttag',('script','scriptlib',
  'parserlib','import'));   'parserlib','import',
                                                    'footnote'));
 }  }
   
 $Apache::scripttag::SCRIPT_RESULT='';  $Apache::scripttag::SCRIPT_RESULT='';
Line 98  sub end_parserlib { Line 99  sub end_parserlib {
   
 sub start_footnote {  sub start_footnote {
   my ($target,$token,$parstack,$parser,$safeeval,$style)=@_;    my ($target,$token,$parstack,$parser,$safeeval,$style)=@_;
   my $result ="footnote";    my $result = '';
     $Apache::lonxml::redirection = 0;
   return $result;      return $result;  
 }  }
   
 sub end_footnote {  sub end_footnote {
   my ($target,$token,$parstack,$parser,$safeeval,$style)=@_;    my ($target,$token,$parstack,$parser,$safeeval,$style)=@_;
     $Apache::lonxml::outputstack =~ s/\"/\&quot\;/g;
     my $result = "<a href=\"javascript:newWindow=open(\'\',\'new_W\',\'width=500,height=200\');newWindow.document.open(\'text/html\',\'replace\');newWindow.document.writeln(\'<html><head><title>newwindow</title></head><body bgcolor=&quot;#FFFFFF&quot;> $Apache::lonxml::outputstack </body></html>\');newWindow.document.close();void(0);\"><sup>*</sup></a>";
      $Apache::lonxml::outputstack = "";
      $Apache::lonxml::redirection = 1;
     return $result; 
 }  }
   
 sub start_import {  sub start_import {

Removed from v.1.19  
changed lines
  Added in v.1.20


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