--- loncom/xml/lonxml.pm 2014/02/06 17:34:19 1.531.2.14 +++ loncom/xml/lonxml.pm 2014/06/21 20:58:12 1.531.2.15 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # XML Parser Module # -# $Id: lonxml.pm,v 1.531.2.14 2014/02/06 17:34:19 raeburn Exp $ +# $Id: lonxml.pm,v 1.531.2.15 2014/06/21 20:58:12 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1669,7 +1669,11 @@ FULLPAGE $add_to_onresize = "resize_textarea('$textarea_id','LC_aftertextarea');"; if ($filetype eq 'html') { - $xml_help=&Apache::loncommon::helpLatexCheatsheet(); + my $not_author; + if ($uri =~ m{^/uploaded/}) { + $not_author = 1; + } + $xml_help=&Apache::loncommon::helpLatexCheatsheet(undef,undef,$not_author); } my $titledisplay=&display_title(); @@ -1693,6 +1697,10 @@ FULLPAGE } } } + my $undo; + unless ($uri =~ m{^/uploaded/}) { + $undo = ''."\n"; + } my $editfooter=(< @@ -1706,8 +1714,7 @@ $initialize
- - $htmlerror $deps_button $dragmath_button + $undo $htmlerror $deps_button $dragmath_button