Diff for /loncom/xml/lonxml.pm between versions 1.68 and 1.70

version 1.68, 2001/05/04 15:29:32 version 1.70, 2001/05/04 17:33:35
Line 37  sub xmlend { Line 37  sub xmlend {
     return '</html>';      return '</html>';
 }  }
   
   sub fontsettings() {
       my $headerstring='';
       if (($ENV{'browser.os'} eq 'mac') && (!$ENV{'browser.mathml'})) { 
            $headerstring.=
                '<meta Content-Type="text/html; charset=x-mac-roman">';
       }
       return $headerstring;
   }
   
 sub registerurl {  sub registerurl {
   return (<<ENDSCRIPT);    return (<<ENDSCRIPT);
 <script language="JavaScript">  <script language="JavaScript">
     if (window.location.pathname!="/res/adm/pages/menu.html") {      function LONCAPAreg() {
  menu=window.open("","LONCAPAmenu");         if (window.location.pathname!="/res/adm/pages/menu.html") {
  menu.currentURL=window.location.pathname;    menu=window.open("","LONCAPAmenu");
         menu.currentStale=0;    menu.currentURL=window.location.pathname;
             menu.currentStale=0;
          }
       }
     
       function LONCAPAstale() {
          if (window.location.pathname!="/res/adm/pages/menu.html") {
     menu=window.open("","LONCAPAmenu");
             menu.currentStale=1;
          }
     }      }
 </script>  </script>
 ENDSCRIPT  ENDSCRIPT
 }  }
   
   sub loadevents() {
       return 'LONCAPAreg();';
   }
   
   sub unloadevents() {
       return 'LONCAPAstale();';
   }
   
 sub register {  sub register {
   my $space;    my $space;
   my @taglist;    my @taglist;

Removed from v.1.68  
changed lines
  Added in v.1.70


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