version 1.29, 2003/10/10 13:35:43
|
version 1.30, 2003/10/10 13:47:48
|
Line 64 sub BuildProblemAnalysisPage {
|
Line 64 sub BuildProblemAnalysisPage {
|
$base = "http://".$ENV{'SERVER_NAME'}.$base; |
$base = "http://".$ENV{'SERVER_NAME'}.$base; |
my $rendered_problem = |
my $rendered_problem = |
&Apache::lonnet::ssi_body($resource->{'src'}); |
&Apache::lonnet::ssi_body($resource->{'src'}); |
$rendered_problem =~ s/<form /<nop /g; |
$rendered_problem =~ s/<\s*form\s*/<nop /g; |
$rendered_problem =~ s/<\s*\/form\s>/<\/nop>/g; |
$rendered_problem =~ s|(<\s*/form\s*>)|<\/nop>|g; |
$r->print('<table bgcolor="ffffff"><tr><td>'. |
$r->print('<table bgcolor="ffffff"><tr><td>'. |
'<base href="'.$base.'" />'. |
'<base href="'.$base.'" />'. |
$rendered_problem. |
$rendered_problem. |