Diff for /loncom/xml/scripttag.pm between versions 1.148 and 1.148.2.1

version 1.148, 2008/09/10 19:45:23 version 1.148.2.1, 2008/12/11 21:30:10
Line 44  BEGIN { Line 44  BEGIN {
      'window','display','storetc','physnet',       'window','display','storetc','physnet',
      'standalone','comment','num','parse','algebra',       'standalone','comment','num','parse','algebra',
      'LONCAPA_INTERNAL_TURN_STYLE_ON',       'LONCAPA_INTERNAL_TURN_STYLE_ON',
      'LONCAPA_INTERNAL_TURN_STYLE_OFF',       'LONCAPA_INTERNAL_TURN_STYLE_OFF'));
      'LONCAPA_INTERNAL_LONHTTPD_PORT'));  
 }  }
   
 sub start_LONCAPA_INTERNAL_TURN_STYLE_ON {  sub start_LONCAPA_INTERNAL_TURN_STYLE_ON {
Line 81  sub end_LONCAPA_INTERNAL_TURN_STYLE_OFF Line 80  sub end_LONCAPA_INTERNAL_TURN_STYLE_OFF
     return ('','no');      return ('','no');
 }  }
   
 =pod   
   
 =item start_LONCAPA_INTERNAL_LONHTTPD_PORT  
   
 emits a pice of javascript that says a global js variable to the  
 current lonhttp port, currently used by the remote control to find out  
 where to load images from  
   
 =cut  
   
 sub start_LONCAPA_INTERNAL_LONHTTPD_PORT {  
     my ($target,$token,$tagstack,$parstack,$parser,$safeeval)=@_;  
     if ($target eq 'web' || $target eq 'webgrade') {  
  return '<script type="text/javascript">var lonhttpdport=\''.  
     &Apache::loncommon::lonhttpd_port().'\';</script>';  
     }  
     return ('','no');  
 }  
   
 sub end_LONCAPA_INTERNAL_LONHTTPD_PORT {  
     return ('','no');  
 }  
   
 sub start_script {  sub start_script {
   my ($target,$token,$tagstack,$parstack,$parser,$safeeval)=@_;    my ($target,$token,$tagstack,$parstack,$parser,$safeeval)=@_;
   @Apache::scripttag::parser_env = @_;    @Apache::scripttag::parser_env = @_;

Removed from v.1.148  
changed lines
  Added in v.1.148.2.1


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