--- loncom/xml/lonxml.pm 2002/09/13 20:46:09 1.196 +++ loncom/xml/lonxml.pm 2002/10/03 15:04:29 1.198 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # XML Parser Module # -# $Id: lonxml.pm,v 1.196 2002/09/13 20:46:09 www Exp $ +# $Id: lonxml.pm,v 1.198 2002/10/03 15:04:29 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -99,6 +99,7 @@ use Apache::edit(); use Apache::lonnet(); use Apache::File(); use Apache::loncommon(); +use Apache::lonfeedback(); #================================================== Main subroutine: xmlparse #debugging control, to turn on debugging modify the correct handler @@ -232,7 +233,7 @@ sub xmlend { } if ($discussiononly) { $discussion.=(< +
@@ -243,6 +244,7 @@ course faculty
ENDDISCUSS + $discussion.=&Apache::lonfeedback::generate_preview_button(); } } } @@ -363,6 +365,7 @@ sub registerurl { my $forcereg=shift; my $target = shift; my $result = ''; + if ($target eq 'edit') { $result .="