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

raeburn raeburn@source.lon-capa.org
Sun, 14 Feb 2010 21:53:03 -0000


raeburn		Sun Feb 14 21:53:03 2010 EDT

  Modified files:              (Branch: version_2_9_X)
    /loncom/interface	lonnavdisplay.pm 
  Log:
  - Backport 1.113.
  
  
Index: loncom/interface/lonnavdisplay.pm
diff -u loncom/interface/lonnavdisplay.pm:1.10 loncom/interface/lonnavdisplay.pm:1.10.4.1
--- loncom/interface/lonnavdisplay.pm:1.10	Wed May  6 16:19:34 2009
+++ loncom/interface/lonnavdisplay.pm	Sun Feb 14 21:53:02 2010
@@ -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.10.4.1 2010/02/14 21:53:02 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -155,8 +155,13 @@
 
     # Header
     my $course_type = &Apache::loncommon::course_type();
-    $r->print(&Apache::loncommon::start_page(#'Navigate '.$course_type.
-					     'Course Contents',
+    my $title;
+    if ($course_type eq 'Community') {
+        $title = 'Community Contents';
+    } else {
+        $title = 'Course Contents';
+    }
+    $r->print(&Apache::loncommon::start_page($title,
 					     $js,
 					     {'only_body'       => $body_only,
 					      'force_register'  =>