Diff for /loncom/xml/scripttag.pm between versions 1.172 and 1.172.2.1

version 1.172, 2014/08/25 00:20:19 version 1.172.2.1, 2015/04/06 16:55:46
Line 645  sub end_storetc { Line 645  sub end_storetc {
   
 sub start_physnet {  sub start_physnet {
     my ($target,$token,$tagstack,$parstack,$parser,$safeeval,$style)=@_;      my ($target,$token,$tagstack,$parstack,$parser,$safeeval,$style)=@_;
     my $bodytext = '/adm/includes/physnet.sty';      my $bodytext = '/res/adm/includes/physnet.sty';
     my $location=&Apache::lonnet::filelocation($Apache::lonxml::pwd['-1'],$bodytext);      my $location=&Apache::lonnet::filelocation($Apache::lonxml::pwd['-1'],$bodytext);
     my $cbistyletext=&Apache::lonnet::getfile($location);      my $cbistyletext=&Apache::lonnet::getfile($location);
   
     %$style = (%$style,&Apache::style::styleparser($target,$cbistyletext));      %$style = (%$style,&Apache::style::styleparser($target,$cbistyletext));
     $$parser['-1']->unget_token($token);      if (keys(%$style) && (($target eq 'web') || ($target eq 'tex'))) {
           $$parser['-1']->unget_token($token);
       }
 #    if ( defined($$style{'physnet'}) ) {  #    if ( defined($$style{'physnet'}) ) {
 #        &Apache::lonxml::newparser($parser,\$$style{'physnet'});  #        &Apache::lonxml::newparser($parser,\$$style{'physnet'});
 #    }  #    }

Removed from v.1.172  
changed lines
  Added in v.1.172.2.1


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