Diff for /loncom/interface/lonbulletin.pm between versions 1.33 and 1.34

version 1.33, 2006/03/21 20:41:40 version 1.34, 2006/03/21 21:01:22
Line 50  sub handler { Line 50  sub handler {
     my (undef,undef,undef,undef,$marker)=split(/\//,$r->uri);      my (undef,undef,undef,undef,$marker)=split(/\//,$r->uri);
 # Is this even in a course?  # Is this even in a course?
     if (!$env{'request.course.id'}) {      if (!$env{'request.course.id'}) {
  $r->print(&Apache::loncommon::start_page('Not in a course').   &Apache::loncommon::simple_error_page($r,'Not in a course',
   &mt('Not in a course').        'Not in a course');
   &Apache::loncommon::end_page());  
         return OK;          return OK;
     }      }
   
     $marker=~s/\D//g;      $marker=~s/\D//g;
   
     if (!$marker) {      if (!$marker) {
  $r->print(&Apache::loncommon::start_page('Invalid Call').   &Apache::loncommon::simple_error_page($r,'Invalid Call',
   &mt('Invalid Call').        'Invalid Call');
   &Apache::loncommon::end_page());  
         return OK;          return OK;
     }      }
   

Removed from v.1.33  
changed lines
  Added in v.1.34


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