Diff for /loncom/interface/lonchatfetch.pm between versions 1.36 and 1.39

version 1.36, 2009/10/23 10:21:00 version 1.39, 2013/07/22 18:06:51
Line 63  sub handler { Line 63  sub handler {
  '<b>'.&unescape($group_info{description}).   '<b>'.&unescape($group_info{description}).
  '</b><br />';   '</b><br />';
         }          }
     } elsif (! &Apache::lonnet::allowed('pch',$env{'request.course.id'}.      } elsif (! &Apache::lonnet::allowed('plc',$env{'request.course.id'}.
              ($env{'request.course.sec'}?'/'.$env{'request.course.sec'}:''))               ($env{'request.course.sec'}?'/'.$env{'request.course.sec'}:''))
         ) {          ) {
         return HTTP_NOT_ACCEPTABLE;          return HTTP_NOT_ACCEPTABLE;
     }      }
   
     my $loaderror=&Apache::lonnet::overloaderror($r);  
     if ($loaderror) { return $loaderror; }  
     $loaderror=  
        &Apache::lonnet::overloaderror($r,  
          $env{'course.'.$env{'request.course.id'}.'.home'});  
     if ($loaderror) { return $loaderror; }  
   
     &Apache::loncommon::content_type($r,'text/html');      &Apache::loncommon::content_type($r,'text/html');
     $r->send_http_header;      $r->send_http_header;
     return OK if $r->header_only;      return OK if $r->header_only;
Line 244  sub blockstatus { Line 237  sub blockstatus {
                 my ($openblock,$closeblock) = @{$setters{$course}{times}[$i]};                  my ($openblock,$closeblock) = @{$setters{$course}{times}[$i]};
                 $openblock = &Apache::lonlocal::locallocaltime($openblock);                  $openblock = &Apache::lonlocal::locallocaltime($openblock);
                 $closeblock= &Apache::lonlocal::locallocaltime($closeblock);                  $closeblock= &Apache::lonlocal::locallocaltime($closeblock);
                 $output .= &mt('Block for [_1] starts: [_2], ends [_3], set by: [_4]<br />',$courseinfo{'description'},$openblock,$closeblock,$fullname);                  $output .= &mt('Block for [_1] starts: [_2], ends [_3], set by: [_4]',$courseinfo{'description'},$openblock,$closeblock,$fullname).'<br />';
             }              }
         }          }
     }      }

Removed from v.1.36  
changed lines
  Added in v.1.39


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