--- loncom/xml/lonxml.pm 2001/05/30 17:42:15 1.82 +++ loncom/xml/lonxml.pm 2001/05/31 22:38:36 1.83 @@ -365,7 +365,7 @@ sub callsub { } } } - &Apache::lonxml::debug("nodefalt:$nodefault:"); +# &Apache::lonxml::debug("nodefalt:$nodefault:"); if ($currentstring eq '' && $nodefault eq '') { if ($target eq 'edit') { &Apache::lonxml::debug("doing default edit for $token->[1]"); @@ -736,6 +736,14 @@ sub warning { } } +sub get_param { + my ($param,$parstack,$safeeval,$context) = @_; + if ( ! $context ) { $context = -1; } + my $args =''; + if ( $#$parstack > (-2-$context) ) { $args=$$parstack[$context]; } + return &Apache::run::run("{$args;".'return $'.$param.'}',$safeeval); #' +} + sub register_insert { my @data = split /\n/, &Apache::lonnet::getfile('/home/httpd/lonTabs/insertlist.tab'); my $i;