Diff for /loncom/xml/lontex.pm between versions 1.4 and 1.7

version 1.4, 2003/02/14 19:35:55 version 1.7, 2005/04/07 06:56:27
Line 45  use strict; Line 45  use strict;
 use Apache::File;  use Apache::File;
 use Apache::lontexconvert;  use Apache::lontexconvert;
 use Apache::Constants qw(:common);  use Apache::Constants qw(:common);
   use Apache::lonnet;
 use tth;  use tth;
   
 # ================================================================ Main Handler  # ================================================================ Main Handler
Line 56  sub handler { Line 57  sub handler {
   
 # ----------------------------------------------------------- Set document type  # ----------------------------------------------------------- Set document type
   
   if ($ENV{'browser.mathml'}) {    if ($env{'browser.mathml'}) {
     $r->content_type('text/xml');        &Apache::loncommon::content_type($r,'text/xml');
   } else {    } else {
     $r->content_type('text/html');        &Apache::loncommon::content_type($r,'text/html');
   }    }
   $r->send_http_header;    $r->send_http_header;
   
Line 83  sub handler { Line 84  sub handler {
     '" onUnload="'.      '" onUnload="'.
       &Apache::lonmenu::unloadevents().        &Apache::lonmenu::unloadevents().
     '">'.      '">'.
       &Apache::lonmenu::menubuttons(undef,'web')        &Apache::lonmenu::menubuttons(undef,'web',1)
   );    );
   $r->print(&Apache::lontexconvert::converted(\$texstring));    $r->print(&Apache::lontexconvert::converted(\$texstring));
   $r->print('</body>');    $r->print('</body>');

Removed from v.1.4  
changed lines
  Added in v.1.7


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>