[LON-CAPA-cvs] cvs: loncom /xml lonxml.pm

bowersj2 lon-capa-cvs@mail.lon-capa.org
Fri, 20 Jun 2003 14:45:48 -0000


bowersj2		Fri Jun 20 10:45:48 2003 EDT

  Modified files:              
    /loncom/xml	lonxml.pm 
  Log:
  Use Apache::loncommon::helpLatexCheatesheet instead of constructing it 
  manually.
  
  
Index: loncom/xml/lonxml.pm
diff -u loncom/xml/lonxml.pm:1.264 loncom/xml/lonxml.pm:1.265
--- loncom/xml/lonxml.pm:1.264	Mon Jun 16 17:32:43 2003
+++ loncom/xml/lonxml.pm	Fri Jun 20 10:45:48 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # XML Parser Module 
 #
-# $Id: lonxml.pm,v 1.264 2003/06/16 21:32:43 www Exp $
+# $Id: lonxml.pm,v 1.265 2003/06/20 14:45:48 bowersj2 Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1139,13 +1139,7 @@
       my ($result,$filecontents)=@_;
       $filecontents = &HTML::Entities::encode($filecontents);
 #      my $editheader='<a href="#editsection">Edit below</a><hr />';
-      my $xml_help = '<table><tr><td>'.
-	  &Apache::loncommon::help_open_topic("Greek_Symbols",'Greek Symbols',
-					      undef,undef,600)
-	      .'</td><td>'.
-          &Apache::loncommon::help_open_topic("Other_Symbols",'Other Symbols',
-					      undef,undef,600)
-	      .'</td></tr></table>';
+      my $xml_help = Apache::loncommon::helpLatexCheatsheet();
       my $titledisplay=&display_title();
       my $buttons=(<<BUTTONS);
 <input type="submit" name="attemptclean"