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

raeburn raeburn@source.lon-capa.org
Sat, 17 Oct 2009 01:42:07 -0000


raeburn		Sat Oct 17 01:42:07 2009 EDT

  Modified files:              
    /loncom/interface	coursecatalog.pm 
  Log:
  - Part of bug 6078.
  - Use "Course/Community Catalog" universally on right side of breadcrumbs for course catalog.
  
  
Index: loncom/interface/coursecatalog.pm
diff -u loncom/interface/coursecatalog.pm:1.54 loncom/interface/coursecatalog.pm:1.55
--- loncom/interface/coursecatalog.pm:1.54	Thu Oct  1 17:24:23 2009
+++ loncom/interface/coursecatalog.pm	Sat Oct 17 01:42:07 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler for displaying the course catalog interface
 #
-# $Id: coursecatalog.pm,v 1.54 2009/10/01 17:24:23 raeburn Exp $
+# $Id: coursecatalog.pm,v 1.55 2009/10/17 01:42:07 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -188,7 +188,7 @@
              ({href=>"javascript:document.$formname.submit()",
               text=>"Course listing"},
              {text=>"Course details"});
-    $r->print(&Apache::lonhtmlcommon::breadcrumbs('Course Details'));
+    $r->print(&Apache::lonhtmlcommon::breadcrumbs('Course/Community Catalog'));
     $r->print('<br />'.&mt('Detailed course information:').'<br /><br />'.
               &print_course_listing($codedom,undef,$trails,$allitems).
               '<br /><br />');
@@ -298,13 +298,12 @@
             &Apache::lonhtmlcommon::add_breadcrumb
             ({text=>"Course listing"});
         }
-        $r->print(&Apache::lonhtmlcommon::breadcrumbs('Course Listing'));
     } else {
         &Apache::lonhtmlcommon::add_breadcrumb
         ({href=>"/adm/coursecatalog",
           text=>"Select courses"});
-        $r->print(&Apache::lonhtmlcommon::breadcrumbs('Select courses'));
     }
+    $r->print(&Apache::lonhtmlcommon::breadcrumbs('Course/Community Catalog'));
     my $onchange;
     unless ($env{'form.interface'} eq 'textual') {
         $onchange = 'this.form.submit()';