--- loncom/interface/coursecatalog.pm 2010/05/30 14:49:22 1.58.4.1
+++ loncom/interface/coursecatalog.pm 2010/04/04 15:38:34 1.60
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler for displaying the course catalog interface
#
-# $Id: coursecatalog.pm,v 1.58.4.1 2010/05/30 14:49:22 raeburn Exp $
+# $Id: coursecatalog.pm,v 1.60 2010/04/04 15:38:34 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -181,25 +181,24 @@ sub course_details {
&courselink_javascript().''."\n";
my $start_page =
&Apache::loncommon::start_page('Course/Community Catalog',$js,
- {
- 'add_entries' => \%add_entries,
- 'no_inline_link' => 1,});
+ {'add_entries' => \%add_entries, });
$r->print($start_page);
if ($env{'form.numtitles'} > 0) {
&Apache::lonhtmlcommon::add_breadcrumb
({href=>"/adm/coursecatalog",
text=>"Course/Community Catalog"});
}
- my $brtextone = 'Course listing';
+ my $brtextone = 'Course listing';
my $brtexttwo = 'Course details';
if ($env{'form.currcat_0'} eq 'communities::0') {
$brtextone = 'Community listing';
- $brtexttwo = 'Community details';
+ $brtextone = 'Community details';
}
&Apache::lonhtmlcommon::add_breadcrumb
({href=>"javascript:document.$formname.submit()",
text=>$brtextone},
{text=>$brtexttwo});
+ $r->print(&Apache::lonhtmlcommon::breadcrumbs('Course/Community Catalog'));
$r->print('
');
if ($env{'form.currcat_0'} eq 'communities::0') {
$r->print(&mt('Detailed community information:'));
@@ -306,9 +305,7 @@ sub cat_header {
my ($r,$codedom,$js,$add_entries,$catlinks,$numtitles) = @_;
my $start_page =
&Apache::loncommon::start_page('Other',$js,
- {
- 'add_entries' => $add_entries,
- 'no_inline_link' => 1,});
+ { 'add_entries' => $add_entries, });
$r->print($start_page);
my $brtext = 'Course listing';
if ($env{'form.currcat_0'} eq 'communities::0') {
@@ -656,7 +653,7 @@ sub print_course_listing {
if (keys(%courses) == 0) {
if ($env{'form.currcat_0'} eq 'communities::0') {
$output .= &mt('The courseID provided does not match a community in this domain.');
- } else {
+ } else {
$output .= &mt('The courseID provided does not match a course in this domain.');
}
return $output;
@@ -1005,9 +1002,9 @@ sub courseinfo_row {
if ($details) {
if ($env{'form.currcat_0'} eq 'communities::0') {
$output .= '