version 1.146, 2008/06/09 10:07:01
|
version 1.147, 2008/06/10 12:48:30
|
Line 1362 sub start_function {
|
Line 1362 sub start_function {
|
my $function = &Apache::lonxml::get_all_text("/function",$parser, |
my $function = &Apache::lonxml::get_all_text("/function",$parser, |
$style); |
$style); |
$function = &Apache::run::evaluate($function,$safeeval,$$parstack[-1]); |
$function = &Apache::run::evaluate($function,$safeeval,$$parstack[-1]); |
|
$function=~s/\^/\*\*/gs; |
$curves[-1]->{'function'} = $function; |
$curves[-1]->{'function'} = $function; |
} elsif ($target eq 'edit') { |
} elsif ($target eq 'edit') { |
$result .= &Apache::edit::tag_start($target,$token,'Gnuplot compatible curve function'); |
$result .= &Apache::edit::tag_start($target,$token,'Gnuplot compatible curve function'); |