--- rat/lonpage.pm 2007/05/23 17:04:57 1.79 +++ rat/lonpage.pm 2007/11/30 19:14:14 1.87 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Page Handler # -# $Id: lonpage.pm,v 1.79 2007/05/23 17:04:57 albertel Exp $ +# $Id: lonpage.pm,v 1.87 2007/11/30 19:14:14 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -78,7 +78,7 @@ sub tracetable { my $frid=$hash{'map_finish_'.$hash{'src_'.$rid}}; $sofar= &tracetable($sofar,$hash{'map_start_'.$hash{'src_'.$rid}}, - '&'.$frid.'&'); + '&'.$frid.$beenhere); $sofar++; if ($hash{'src_'.$frid}) { my $brepriv=&Apache::lonnet::allowed('bre',$hash{'src_'.$frid}); @@ -206,8 +206,6 @@ sub handler { my %ssivlink=(); my %ssialink=(); - my %metalink=(); - my %cellemb=(); my $allscript=''; @@ -230,7 +228,6 @@ sub handler { if ($hash{'encrypted_'.$_}) { $src=&Apache::lonenc::encrypted($src); } - $metalink{$_}=$src.'.meta'; $cellemb{$_}= &Apache::loncommon::fileembstyle($extension); if ($cellemb{$_} eq 'ssi') { @@ -338,7 +335,7 @@ sub handler { $output=~s/\