[LON-CAPA-cvs] cvs: loncom /publisher londiff.pm

www lon-capa-cvs@mail.lon-capa.org
Wed, 10 Dec 2003 16:05:43 -0000


www		Wed Dec 10 11:05:43 2003 EDT

  Modified files:              
    /loncom/publisher	londiff.pm 
  Log:
  * bodytag does its own translation
  * send out charset headers
  
  
Index: loncom/publisher/londiff.pm
diff -u loncom/publisher/londiff.pm:1.13 loncom/publisher/londiff.pm:1.14
--- loncom/publisher/londiff.pm:1.13	Wed Dec 10 10:42:49 2003
+++ loncom/publisher/londiff.pm	Wed Dec 10 11:05:43 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to show differences between file versions
 #
-# $Id: londiff.pm,v 1.13 2003/12/10 15:42:49 sakharuk Exp $
+# $Id: londiff.pm,v 1.14 2003/12/10 16:05:43 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -91,12 +91,12 @@
   my @f1=();
   my @f2=();
 
-  $r->content_type('text/html');
+  &Apache::loncommon::content_type($r,'text/html');
   $r->send_http_header;
 
   $r->print('<html><head><title>LON-CAPA Construction Diffs</title></head>');
 
-  $r->print(&Apache::loncommon::bodytag(&mt('Resource Differences')));
+  $r->print(&Apache::loncommon::bodytag('Resource Differences'));
 
   
   $r->print('<h1>'.&mt('Compare versions of').' <tt>'.$efn.'</tt></h1>');