--- loncom/xml/lonxml.pm 2014/02/06 17:14:33 1.546
+++ loncom/xml/lonxml.pm 2014/06/21 20:56:40 1.547
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# XML Parser Module
#
-# $Id: lonxml.pm,v 1.546 2014/02/06 17:14:33 raeburn Exp $
+# $Id: lonxml.pm,v 1.547 2014/06/21 20:56:40 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1575,7 +1575,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();
@@ -1599,6 +1603,10 @@ FULLPAGE
}
}
}
+ my $undo;
+ unless ($uri =~ m{^/uploaded/}) {
+ $undo = ''."\n";
+ }
my $editfooter=(<