Diff for /loncom/interface/lonnavdisplay.pm between versions 1.10 and 1.13

version 1.10, 2009/05/06 16:19:34 version 1.13, 2009/09/08 20:56:47
Line 155  MENU Line 155  MENU
   
     # Header      # Header
     my $course_type = &Apache::loncommon::course_type();      my $course_type = &Apache::loncommon::course_type();
     $r->print(&Apache::loncommon::start_page(#'Navigate '.$course_type.      my ($title,$breadcrumb_text);
      'Course Contents',      if ($course_type eq 'Community') {
      $js,          $title = 'Community Contents';
      {'only_body'       => $body_only,          $breadcrumb_text = &mt('Community Contents');
       'force_register'  =>      } else {
   $env{'form.register'},}));          $title = 'Course Contents';
           $breadcrumb_text = &mt('Course Contents');
       }
       $r->print(&Apache::loncommon::start_page($title,
                            $js,
                            {'only_body'       => $body_only,
                             'force_register'  => $env{'form.register'},
                             'bread_crumbs'    => [{text => $breadcrumb_text }],}));
     $r->print('<script type="text/javascript">window.focus();</script>');      $r->print('<script type="text/javascript">window.focus();</script>');
             
     $r->rflush();      $r->rflush();

Removed from v.1.10  
changed lines
  Added in v.1.13


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