--- rat/lonpage.pm 2004/11/12 00:21:14 1.61
+++ rat/lonpage.pm 2004/11/12 00:25:23 1.62
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Page Handler
#
-# $Id: lonpage.pm,v 1.61 2004/11/12 00:21:14 albertel Exp $
+# $Id: lonpage.pm,v 1.62 2004/11/12 00:25:23 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -429,20 +429,18 @@ sub handler {
for ($j=0;$j<=$#colcont;$j++) {
my $rid=$colcont[$j];
my $metainfo = '';
- print STDERR "src is $hash{'src_'.$rid}\n";
+ my $esrc=&Apache::lonnet::declutter($hash{'src_'.$rid});
+ if ($hash{'encrypted_'.$rid}) {
+ $esrc=&Apache::lonenc::encrypted($esrc);
+ }
unless ($hash{'src_'.$rid} =~ m-^/uploaded/-) {
- $metainfo =''.
+ $metainfo =''.
''.
''.
'';
}
- my $esrc=$hash{'src_'.$rid};
- if ($hash{'encrypted_'.$rid}) {
- $esrc=&Apache::lonenc::encrypted($esrc);
- }
$metainfo .= ''.
''.
'';