--- rat/lonpage.pm 2006/05/30 17:15:10 1.75 +++ rat/lonpage.pm 2007/09/25 23:47:54 1.85 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Page Handler # -# $Id: lonpage.pm,v 1.75 2006/05/30 17:15:10 www Exp $ +# $Id: lonpage.pm,v 1.85 2007/09/25 23:47:54 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -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') { @@ -270,7 +267,7 @@ sub handler { } } my $output=Apache::lonnet::ssi($src,%posthash); - $output=~s|//(\s*)?\s||gs; + $output=~s|//(\s*)?\s||gs; if ($target eq 'tex') { $output =~ s/^([^&]+)\\begin{document}//; $output =~ s/\\end{document}//; @@ -338,7 +335,7 @@ sub handler { $output=~s/\