--- loncom/xml/lonxml.pm 2001/06/12 21:10:22 1.91 +++ loncom/xml/lonxml.pm 2001/06/12 22:39:36 1.92 @@ -215,7 +215,6 @@ sub printalltags { } sub xmlparse { -# $Apache::lonxml::debug=1; my ($target,$content_file_string,$safeinit,%style_for_target) = @_; if ($target eq 'meta') { $Apache::lonxml::redirection = 0; @@ -417,11 +416,6 @@ sub callsub { { my $sub1; no strict 'refs'; - if ($target eq 'edit' && $token->[0] eq 'S') { - $currentstring = &Apache::edit::tag_start($target,$token,$tagstack, - $parstack,$parser, - $safeeval,$style); - } my $tag=$token->[1]; my $space=$Apache::lonxml::alltags{$tag}; if (!$space) { @@ -855,11 +849,13 @@ sub register_insert { my $line = $data[$i]; if ( $line =~ /^\#/ || $line =~ /^\s*\n/) { next; } if ( $line =~ /TABLE/ ) { last; } - my ($tag,$descrip,$function,$show) = split(/,/, $line); + my ($tag,$descrip,$color,$function,$show) = split(/,/, $line); $insertlist{"$tagnum.tag"} = $tag; $insertlist{"$tagnum.description"} = $descrip; + $insertlist{"$tagnum.color"} = $color; $insertlist{"$tagnum.function"} = $function; $insertlist{"$tagnum.show"}= $show; + $insertlist{"$tag.num"}=$tagnum; $tagnum++; } $i++; #skipping TABLE line