version 1.88, 2003/05/14 13:33:00
|
version 1.91, 2003/05/28 21:05:33
|
Line 50 BEGIN {
|
Line 50 BEGIN {
|
|
|
sub start_LONCAPA_INTERNAL_TURN_STYLE_ON { |
sub start_LONCAPA_INTERNAL_TURN_STYLE_ON { |
$Apache::lonxml::usestyle=1; |
$Apache::lonxml::usestyle=1; |
|
$Apache::lonxml::style_values=''; |
return ('','no'); |
return ('','no'); |
} |
} |
|
|
sub end_LONCAPA_INTERNAL_TURN_STYLE_ON { |
sub end_LONCAPA_INTERNAL_TURN_STYLE_ON { |
|
my ($target,$token,$tagstack,$parstack,$parser,$safeeval)=@_; |
|
my $end=&Apache::lonxml::get_param('end',$parstack,$safeeval); |
|
if (defined($end)) { |
|
&Apache::lonxml::end_tag($tagstack,$parstack,$token); |
|
} |
return ('','no'); |
return ('','no'); |
} |
} |
|
|
Line 310 sub start_import {
|
Line 316 sub start_import {
|
my $id= &Apache::lonxml::get_param('id',$parstack,$safeeval); |
my $id= &Apache::lonxml::get_param('id',$parstack,$safeeval); |
if (!$id) { $id=$Apache::lonxml::curdepth; } |
if (!$id) { $id=$Apache::lonxml::curdepth; } |
push(@Apache::inputtags::import,$id); |
push(@Apache::inputtags::import,$id); |
|
push(@Apache::inputtags::importlist,$id); |
|
|
&Apache::lonxml::newparser($parser,\$file,$dir); |
&Apache::lonxml::newparser($parser,\$file,$dir); |
|
|