[LON-CAPA-cvs] cvs: loncom /interface lonnavdisplay.pm

droeschl droeschl@source.lon-capa.org
Sat, 16 May 2009 22:43:54 -0000


droeschl		Sat May 16 22:43:54 2009 EDT

  Modified files:              
    /loncom/interface	lonnavdisplay.pm 
  Log:
  Changes related to modification of LON-CAPA screen header.
  Added breadcrumb to course contents. This will replace the function of title bar.
  
  
Index: loncom/interface/lonnavdisplay.pm
diff -u loncom/interface/lonnavdisplay.pm:1.10 loncom/interface/lonnavdisplay.pm:1.11
--- loncom/interface/lonnavdisplay.pm:1.10	Wed May  6 16:19:34 2009
+++ loncom/interface/lonnavdisplay.pm	Sat May 16 22:43:54 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Navigate Maps Handler
 #
-# $Id: lonnavdisplay.pm,v 1.10 2009/05/06 16:19:34 bisitz Exp $
+# $Id: lonnavdisplay.pm,v 1.11 2009/05/16 22:43:54 droeschl Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -156,11 +156,11 @@
     # Header
     my $course_type = &Apache::loncommon::course_type();
     $r->print(&Apache::loncommon::start_page(#'Navigate '.$course_type.
-					     'Course Contents',
-					     $js,
-					     {'only_body'       => $body_only,
-					      'force_register'  =>
-						  $env{'form.register'},}));
+                         'Course Contents',
+                         $js,
+                         {'only_body'       => $body_only,
+                          'force_register'  => $env{'form.register'},
+                          'bread_crumbs'    => [{text => mt('Course Contents') }],}));
     $r->print('<script type="text/javascript">window.focus();</script>');
      
     $r->rflush();