--- loncom/xml/lonxml.pm 2002/01/09 09:50:59 1.148 +++ loncom/xml/lonxml.pm 2002/01/17 17:42:34 1.149 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # XML Parser Module # -# $Id: lonxml.pm,v 1.148 2002/01/09 09:50:59 albertel Exp $ +# $Id: lonxml.pm,v 1.149 2002/01/17 17:42:34 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1055,17 +1055,6 @@ ENDFOOTER return $result; } -sub editbutton { - my ($result) = @_; - my $button=(< - - -EDITBUTTON - $result=~s/(\<\/body\>)/$button/is; - return $result; -} - sub handler { my $request=shift; @@ -1126,8 +1115,6 @@ ENDNOTFOUND if ($ENV{'form.showmode'} eq 'Edit') { $result=''; $result=&inserteditinfo($result,$filecontents); - } else { - $result = &editbutton($result); } }