Diff for /loncom/interface/lonnavdisplay.pm between versions 1.28 and 1.29

version 1.28, 2014/05/22 12:23:04 version 1.29, 2015/03/01 20:42:08
Line 38  use Apache::lonhtmlcommon(); Line 38  use Apache::lonhtmlcommon();
 use Apache::lonnet;  use Apache::lonnet;
 use Apache::lonlocal;  use Apache::lonlocal;
 use Apache::londocs();  use Apache::londocs();
 #use Time::HiRes qw( gettimeofday tv_interval );  
   
 sub handler {  sub handler {
     my $r = shift;      my $r = shift;
Line 47  sub handler { Line 46  sub handler {
   
 sub real_handler {  sub real_handler {
     my $r = shift;      my $r = shift;
     #my $t0=[&gettimeofday()];  
     # Handle header-only request      # Handle header-only request
     if ($r->header_only) {      if ($r->header_only) {
         if ($env{'browser.mathml'}) {          if ($env{'browser.mathml'}) {
Line 293  sub real_handler { Line 291  sub real_handler {
             $r->print("<p><span class=\"LC_info\">".&mt("This course is empty.")."</span></p>");              $r->print("<p><span class=\"LC_info\">".&mt("This course is empty.")."</span></p>");
         }          }
     }      }
     #my $td=&tv_interval($t0);  
     #$r->print("<br />$td");  
     &endContentScreen($r);      &endContentScreen($r);
     $r->print(&Apache::loncommon::end_page());      $r->print(&Apache::loncommon::end_page());
     $r->rflush();      $r->rflush();

Removed from v.1.28  
changed lines
  Added in v.1.29


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