--- loncom/xml/scripttag.pm 2007/01/23 21:28:41 1.140 +++ loncom/xml/scripttag.pm 2007/08/30 22:56:43 1.143 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # '; + &Apache::loncommon::lonhttpd_port().'\';'; } return ('','no'); } @@ -128,16 +136,17 @@ sub start_script { $uname =~s/\W//g; $udom =~s/\W//g; - $result.="Script Vars
"; + &Apache::lonxml::add_script_result($script_var); } } elsif ($target eq "edit" ) { #&Apache::run::run($bodytext,$safeeval); @@ -390,7 +399,7 @@ sub start_import { my $dir=$location; $dir=~s:/[^/]*$::; # &Apache::lonxml::debug("directory $dir $location file $file \nEND\n"); - my $id= &Apache::lonxml::get_param('id',$parstack,$safeeval); + my $id= &Apache::lonxml::get_id($parstack,$safeeval); if (!$id) { $id=$Apache::lonxml::curdepth; } push(@Apache::inputtags::import,$id); push(@Apache::inputtags::importlist,$id); @@ -407,7 +416,7 @@ sub start_import { } elsif ($target eq 'modified') { $result=$token->[4].&Apache::edit::modifiedfield("/import",$parser); } elsif ($target eq 'meta') { - my $id= &Apache::lonxml::get_param('id',$parstack,$safeeval); + my $id= &Apache::lonxml::get_id($parstack,$safeeval); $result.='