Diff for /loncom/xml/lonxml.pm between versions 1.376 and 1.377

version 1.376, 2005/06/15 13:06:41 version 1.377, 2005/06/17 17:51:15
Line 1065  sub parstring { Line 1065  sub parstring {
   
 sub writeallows {  sub writeallows {
     unless ($#extlinks>=0) { return; }      unless ($#extlinks>=0) { return; }
     my $thisurl = &Apache::lonnet::declutter(shift);      my $thisurl = &Apache::lonnet::clutter(shift);
     if ($thisurl =~ /^uploaded/) {  
         $thisurl = '/'.$thisurl;  
     } else {  
         $thisurl='/res/'.$thisurl;  
     }  
     if ($env{'httpref.'.$thisurl}) {      if ($env{'httpref.'.$thisurl}) {
  $thisurl=$env{'httpref.'.$thisurl};   $thisurl=$env{'httpref.'.$thisurl};
     }      }

Removed from v.1.376  
changed lines
  Added in v.1.377


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