--- loncom/xml/scripttag.pm 2002/11/06 23:05:02 1.81
+++ loncom/xml/scripttag.pm 2003/02/24 23:32:32 1.86
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# ';
+ }
+ return ('','no');
+}
+
+sub end_LONCAPA_INTERNAL_LONHTTPD_PORT {
+ return ('','no');
+}
+
sub start_script {
my ($target,$token,$tagstack,$parstack,$parser,$safeeval)=@_;
@Apache::scripttag::parser_env = @_;
@@ -63,7 +79,7 @@ sub start_script {
my $type= &Apache::lonxml::get_param('type',$parstack,$safeeval);
&Apache::lonxml::debug("found type of $type");
if ($type eq "loncapa/perl") {
- my $bodytext=&Apache::lonxml::get_all_text("/script",$$parser[$#$parser]);
+ my $bodytext=&Apache::lonxml::get_all_text("/script",$parser);
if ( $target eq "modified" ) {
$result=$token->[4].&Apache::edit::modifiedfield();
} elsif ( $target eq 'web' || $target eq 'tex' ||
@@ -75,11 +91,11 @@ sub start_script {
&Apache::run::run($bodytext,$safeeval);
if (($target eq 'answer') && ($Apache::lonhomework::viewgrades == 'F')) {
$Apache::lonxml::evaluate--;
- $result.="newwindow";
+ $result.="