Diff for /loncom/xml/lontex.pm between versions 1.3 and 1.6

version 1.3, 2001/11/29 19:03:58 version 1.6, 2005/02/17 09:01:04
Line 57  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 78  sub handler { Line 78  sub handler {
       
   $r->print(&Apache::lontexconvert::header());    $r->print(&Apache::lontexconvert::header());
   $r->print(    $r->print(
  '<body bgcolor="#FFFFFF" onLoad="LONCAPAreg();" onUnload="LONCAPAstale();">');      '<body bgcolor="#FFFFFF" onLoad="'.
         &Apache::lonmenu::loadevents().
       '" onUnload="'.
         &Apache::lonmenu::unloadevents().
       '">'.
         &Apache::lonmenu::menubuttons(undef,'web',1)
     );
   $r->print(&Apache::lontexconvert::converted(\$texstring));    $r->print(&Apache::lontexconvert::converted(\$texstring));
   $r->print('</body>');    $r->print('</body>');
   $r->print(&Apache::lontexconvert::footer());    $r->print(&Apache::lontexconvert::footer());

Removed from v.1.3  
changed lines
  Added in v.1.6


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