version 1.60, 2001/12/10 16:42:20
|
version 1.62, 2002/01/17 16:35:55
|
Line 39 use Apache::style;
|
Line 39 use Apache::style;
|
# so xmlparse can reenter the inner_xmlparse loop. |
# so xmlparse can reenter the inner_xmlparse loop. |
|
|
@Apache::scripttag::parser_env = (); |
@Apache::scripttag::parser_env = (); |
sub BEGIN { |
BEGIN { |
&Apache::lonxml::register('Apache::scripttag',('script','scriptlib', |
&Apache::lonxml::register('Apache::scripttag', |
'parserlib','import', |
('script','scriptlib','parserlib','import', |
'window','display', |
'window','display','storetc','physnet', |
'storetc','physnet')); |
'stadalone')); |
} |
} |
|
|
sub start_script { |
sub start_script { |
Line 334 sub end_physnet {
|
Line 334 sub end_physnet {
|
return ''; |
return ''; |
} |
} |
|
|
|
sub start_standalone { |
|
my ($target,$token,$tagstack,$parstack,$parser,$safeeval,$style)=@_; |
|
if ($target eq 'web' && defined($ENV{'request.course.id'}) ) { |
|
my $inside = &Apache::lonxml::get_all_text("/standalone",$$parser[-1]); |
|
} |
|
return ''; |
|
} |
|
|
|
sub end_standalone { |
|
return ''; |
|
} |
|
|
|
|
sub xmlparse { |
sub xmlparse { |
my ($string) = @_; |
my ($string) = @_; |
&Apache::lonxml::debug("Got $string"); |
&Apache::lonxml::debug("Got $string"); |